/* Note Type Picker Modal Styles */
/* Extracted from templates/index.html */

.note-picker-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: var(--z-modal, 9999);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.note-picker-overlay[hidden] {
    display: none;
}

.note-picker-surface {
    background: var(--bg-primary, #fff);
    border-radius: 16px;
    padding: 32px;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: notePickerSlideIn 0.2s ease-out;
}

@keyframes notePickerSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.note-picker-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-secondary, #666);
    padding: 4px 8px;
    border-radius: 4px;
    transition: background 0.15s;
}

.note-picker-close:hover {
    background: var(--bg-secondary, #f0f0f0);
}

.note-picker-header {
    margin-bottom: 24px;
    text-align: center;
}

.note-picker-header h3 {
    margin: 0 0 8px 0;
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary, #000);
}

.note-picker-header p {
    margin: 0;
    color: var(--text-secondary, #666);
    font-size: 14px;
}

.note-picker-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.note-picker-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 12px;
    border: 2px solid var(--border-primary, #e0e0e0);
    border-radius: 12px;
    background: var(--bg-primary, #fff);
    cursor: pointer;
    transition: all 0.15s ease;
}

.note-picker-card:hover {
    border-color: var(--accent-primary, #2563eb);
    background: var(--bg-secondary, #f8fafc);
    transform: translateY(-2px);
}

.note-picker-card:active {
    transform: translateY(0);
}

.note-picker-icon {
    font-size: 28px;
    color: var(--accent-primary, #2563eb);
    margin-bottom: 8px;
}

.note-picker-label {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary, #000);
    margin-bottom: 4px;
}

.note-picker-desc {
    font-size: 11px;
    color: var(--text-secondary, #666);
    text-align: center;
}

.note-picker-secondary {
    opacity: 0.85;
}

.note-picker-secondary .note-picker-icon {
    font-size: 24px;
    color: var(--text-secondary, #666);
}

.note-picker-secondary:hover .note-picker-icon {
    color: var(--accent-primary, #2563eb);
}

/* Responsive: stack on mobile */
@media (max-width: 600px) {
    .note-picker-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .note-picker-surface {
        padding: 24px;
    }
}