body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

h1 {
    color: white;
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.add-idea-section {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
}

.add-idea-section textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1em;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    resize: vertical;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.add-idea-section textarea:focus {
    outline: none;
    border-color: #667eea;
}

.add-idea-section button {
    width: 100%;
    margin-top: 15px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.add-idea-section button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.add-idea-section button:active {
    transform: translateY(0);
}

.add-idea-section button:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

#status {
    text-align: center;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: bold;
}

.success {
    background-color: #d4edda;
    color: #155724;
}

.error {
    background-color: #f8d7da;
    color: #721c24;
}

.loading {
    background-color: #d1ecf1;
    color: #0c5460;
}

.loading-message {
    text-align: center;
    color: white;
    font-size: 1.2em;
    padding: 40px;
}

.ideas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.idea-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    min-height: 150px;
    display: flex;
    flex-direction: column;
}

.idea-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0,0,0,0.2);
}

.idea-text {
    font-size: 1.1em;
    color: #333;
    line-height: 1.6;
    margin-bottom: 15px;
    flex-grow: 1;
    word-wrap: break-word;
}

.idea-meta {
    font-size: 0.85em;
    color: #888;
    border-top: 1px solid #eee;
    padding-top: 10px;
    margin-top: auto;
}

.idea-date {
    display: block;
    margin-top: 5px;
}

.idea-id {
    color: #aaa;
    font-family: monospace;
}

/* Různé barevné akcenty pro karty */
.idea-card:nth-child(4n+1) {
    border-top: 4px solid #667eea;
}

.idea-card:nth-child(4n+2) {
    border-top: 4px solid #764ba2;
}

.idea-card:nth-child(4n+3) {
    border-top: 4px solid #f093fb;
}

.idea-card:nth-child(4n+4) {
    border-top: 4px solid #4facfe;
}

/* Responsivní design */
@media (max-width: 768px) {
    .ideas-grid {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 2em;
    }

    body {
        padding: 10px;
    }
}


