/* ============================================================
   STRAATZAKEN026 — Notes Styles (Modern)
   ============================================================ */

.notes-container {
    max-width: 800px;
    margin: 0 auto;
}

.note-form {
    margin-bottom: 1.5rem;
}

.note-form .form-input {
    margin-bottom: 0.5rem;
}

.note-form textarea {
    min-height: 100px;
    margin-bottom: 1rem;
}

.note-form .btn {
    margin-top: 0.5rem;
}

.notes-list {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

.note-card {
    padding: 1.25rem;
    background: var(--card-bg);
    border-radius: var(--radius-lg, 12px);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    min-height: 150px;
}

.note-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 255, 255, 0.15);
}

.note-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: #E2E8F0;
    margin: 0 0 0.5rem 0;
    text-transform: none;
    line-height: 1.3;
    transition: color 0.2s ease;
}

.note-card:hover .note-title {
    color: #ffffff;
}

.note-agenda-link {
    font-size: 0.75rem;
    color: #0F172A;
    text-decoration: none;
    margin-bottom: 0.5rem;
    padding: 0.35rem 0.75rem;
    background: linear-gradient(135deg, #38BDF8 0%, #0284C7 100%);
    border-radius: var(--radius, 8px);
    display: inline-block;
    width: fit-content;
    font-weight: 600;
    transition: var(--transition);
}

.note-agenda-link:hover {
    background: linear-gradient(135deg, #7DD3FC 0%, #38BDF8 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(56, 189, 248, 0.4);
    text-decoration: none;
}

.note-content {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--white);
    flex: 1;
    margin-bottom: 0.5rem;
}

.note-content p {
    margin-bottom: 0.5rem;
}

.note-content p:last-child {
    margin-bottom: 0;
}

.note-content ol,
.note-content ul {
    margin-left: 1.25rem;
    padding-left: 0;
}

.note-content li {
    margin-bottom: 0.25rem;
}

.note-content a {
    color: var(--accent);
}

.note-content a:hover {
    color: var(--white);
}

.note-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-color);
}

.note-date {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 480px) {
    .note-footer {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .note-footer .note-delete {
        width: 100%;
    }
    
    .note-footer .note-delete form {
        width: 100%;
    }
    
    .note-footer .note-delete button {
        width: 100%;
    }
}

.note-delete button {
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
}

.note-delete button:hover {
    background: var(--danger);
    border-color: var(--danger);
    color: white;
    transform: translateY(-1px);
}

.no-notes {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: var(--text-muted);
    background: var(--gray-800);
    border-radius: var(--radius);
    border: 2px solid var(--primary);
}

.note-form {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 2px solid var(--primary);
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.note-form .editor-container {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    min-height: 120px;
    margin-bottom: 1rem;
}

/* Encrypted badge */
.encrypted-badge {
    background: rgba(234, 170, 0, 0.15);
    color: #EAAA00;
    padding: 0.2rem 0.5rem;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
    margin-right: 0.5rem;
}
