/* ============================================
   NOTE INPUT SECTION - V2 REDESIGN
   ============================================
   ARCHITECTURE: Premium Clinical Workspace
   WHY: Current input feels dated - needs to match new modal aesthetics
   DESIGN: Glass-morphism cards, refined inputs, sophisticated actions
   ============================================ */

/* ============================================
   CSS CUSTOM PROPERTIES
   ============================================ */
:root {
    /* Input Surface */
    --input-surface: rgba(15, 23, 42, 0.6);
    --input-surface-elevated: rgba(30, 41, 59, 0.8);
    --input-border: rgba(148, 163, 184, 0.12);
    --input-border-focus: rgba(99, 102, 241, 0.5);

    /* Textarea */
    --textarea-bg: rgba(15, 23, 42, 0.95);
    --textarea-border: rgba(148, 163, 184, 0.15);
    --textarea-focus-glow: 0 0 0 3px rgba(99, 102, 241, 0.15);

    /* Actions */
    --action-ghost-bg: rgba(51, 65, 85, 0.4);
    --action-ghost-border: rgba(148, 163, 184, 0.2);
    --action-ghost-hover: rgba(99, 102, 241, 0.15);
    --action-primary-bg: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    --action-primary-glow: 0 4px 20px -4px rgba(99, 102, 241, 0.5);
}

/* ============================================
   NOTE PANEL HEADER REDESIGN
   ============================================ */
.sol-note-panel-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    background: linear-gradient(180deg,
        rgba(30, 41, 59, 0.95) 0%,
        rgba(15, 23, 42, 0.9) 100%
    );
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    position: relative;
}

/* Decorative gradient line */
.sol-note-panel-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(99, 102, 241, 0.3) 20%,
        rgba(59, 130, 246, 0.3) 50%,
        rgba(99, 102, 241, 0.3) 80%,
        transparent 100%
    );
}

/* Back Button */
.sol-back-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(51, 65, 85, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 10px;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sol-back-btn:hover {
    background: rgba(51, 65, 85, 0.7);
    border-color: rgba(148, 163, 184, 0.25);
    color: #e2e8f0;
}

.sol-back-btn svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

.sol-back-btn:hover svg {
    transform: translateX(-2px);
}

/* Note Type Button (Dropdown Trigger) */
.sol-note-type-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(59, 130, 246, 0.1));
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 10px;
    color: #c7d2fe;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sol-note-type-btn:hover {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(59, 130, 246, 0.15));
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 0 20px -5px rgba(99, 102, 241, 0.3);
}

/* Panel Title */
.sol-note-panel-title {
    flex: 1;
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #f1f5f9;
    letter-spacing: -0.02em;
}

/* ============================================
   NOTE PANEL BODY
   ============================================ */
.sol-note-panel-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-height: 0;
    flex: 1;
    overflow-y: auto;
}

/* ============================================
   INPUT SECTION - COMPLETE REDESIGN
   ============================================ */
.sol-note-input-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
    background: linear-gradient(135deg,
        rgba(30, 41, 59, 0.6) 0%,
        rgba(15, 23, 42, 0.4) 100%
    );
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

/* Decorative corner accent */
.sol-note-input-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle at top left,
        rgba(99, 102, 241, 0.1) 0%,
        transparent 70%
    );
    pointer-events: none;
}

/* ============================================
   SERVICE DATE ROW
   ============================================ */
.note-input-date-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.note-input-date-row .sol-input-label {
    margin: 0;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 500;
    color: #94a3b8;
}

.note-input-date-row .sol-input {
    max-width: 180px;
    padding: 10px 14px;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 10px;
    color: #e2e8f0;
    font-size: 14px;
}

.note-input-date-row .sol-input:focus {
    outline: none;
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: var(--textarea-focus-glow);
}

/* ============================================
   CLINICAL UPDATE LABEL
   ============================================ */
.sol-input-label {
    font-size: 13px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

/* ============================================
   TEMPLATE INDICATOR (Enhanced)
   ============================================ */
.template-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(99, 102, 241, 0.1));
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 10px;
    margin-bottom: 8px;
}

.template-indicator-icon {
    font-size: 16px;
}

.template-indicator-text {
    font-size: 13px;
    font-weight: 500;
    color: #93c5fd;
}

.template-indicator-clear {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(239, 68, 68, 0.1);
    border: none;
    border-radius: 6px;
    color: #fca5a5;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    transition: all 0.15s ease;
}

.template-indicator-clear:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #fecaca;
}

/* ============================================
   CLINICAL UPDATE TEXTAREA - PREMIUM
   ============================================ */
.sol-note-textarea {
    width: 100%;
    min-height: 200px;
    padding: 20px;
    background: var(--textarea-bg);
    border: 2px solid var(--textarea-border);
    border-radius: 16px;
    color: #f1f5f9;
    font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    font-size: 15px;
    line-height: 1.7;
    resize: vertical;
    transition: all 0.25s ease;
}

.sol-note-textarea:hover {
    border-color: rgba(148, 163, 184, 0.25);
}

.sol-note-textarea:focus {
    outline: none;
    border-color: var(--input-border-focus);
    box-shadow: var(--textarea-focus-glow);
    background: rgba(15, 23, 42, 1);
}

.sol-note-textarea::placeholder {
    color: #64748b;
    font-style: italic;
}

/* Textarea with content - subtle glow */
.sol-note-textarea:not(:placeholder-shown) {
    border-color: rgba(34, 197, 94, 0.2);
}

/* ============================================
   CHARACTER COUNTER
   ============================================ */
.clinical-update-counter {
    align-self: flex-end;
    font-size: 11px;
    font-weight: 500;
    color: #64748b;
    font-family: ui-monospace, 'SF Mono', 'Cascadia Code', monospace;
    padding: 4px 8px;
    background: rgba(51, 65, 85, 0.3);
    border-radius: 6px;
    margin-top: -8px;
}

.clinical-update-counter.warning {
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
}

.clinical-update-counter.error {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

/* ============================================
   ACTION BUTTONS ROW - REDESIGNED
   ============================================ */
.sol-note-input-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 8px;
    border-top: 1px solid rgba(148, 163, 184, 0.08);
    margin-top: 8px;
}

/* Push generate button to the right */
.sol-note-input-actions .sol-action-btn.primary {
    margin-left: auto;
}

/* Ghost Action Buttons */
.sol-note-input-actions .sol-action-btn.ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--action-ghost-bg);
    border: 1px solid var(--action-ghost-border);
    border-radius: 12px;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.sol-note-input-actions .sol-action-btn.ghost::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(99, 102, 241, 0.1));
    opacity: 0;
    transition: opacity 0.2s ease;
}

.sol-note-input-actions .sol-action-btn.ghost:hover {
    background: var(--action-ghost-hover);
    border-color: rgba(99, 102, 241, 0.3);
    color: #c7d2fe;
    transform: translateY(-1px);
}

.sol-note-input-actions .sol-action-btn.ghost:hover::before {
    opacity: 1;
}

.sol-note-input-actions .sol-action-btn.ghost svg {
    width: 18px;
    height: 18px;
    transition: transform 0.2s ease;
}

.sol-note-input-actions .sol-action-btn.ghost:hover svg {
    transform: scale(1.1);
}

/* Voice Recording State */
.sol-note-input-actions .sol-action-btn.recording {
    background: rgba(239, 68, 68, 0.15) !important;
    border-color: rgba(239, 68, 68, 0.4) !important;
    color: #fca5a5 !important;
    animation: pulse-recording 1.5s infinite;
}

@keyframes pulse-recording {
    0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
}

/* ============================================
   PRIMARY GENERATE BUTTON - PREMIUM
   ============================================ */
.sol-note-input-actions .sol-action-btn.primary,
#generateNoteBtn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--action-primary-bg);
    border: none;
    border-radius: 14px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
    box-shadow: var(--action-primary-glow);
}

.sol-note-input-actions .sol-action-btn.primary::before,
#generateNoteBtn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.sol-note-input-actions .sol-action-btn.primary:hover,
#generateNoteBtn:hover {
    transform: translateY(-2px);
    box-shadow:
        0 8px 30px -6px rgba(99, 102, 241, 0.6),
        0 0 20px -5px rgba(99, 102, 241, 0.4);
}

.sol-note-input-actions .sol-action-btn.primary:hover::before,
#generateNoteBtn:hover::before {
    opacity: 1;
}

.sol-note-input-actions .sol-action-btn.primary:active,
#generateNoteBtn:active {
    transform: translateY(0);
}

.sol-note-input-actions .sol-action-btn.primary svg,
#generateNoteBtn svg {
    width: 18px;
    height: 18px;
}

/* Disabled state */
.sol-note-input-actions .sol-action-btn.primary:disabled,
#generateNoteBtn:disabled {
    background: rgba(51, 65, 85, 0.5);
    box-shadow: none;
    cursor: not-allowed;
    opacity: 0.6;
}

/* ============================================
   NOTE TYPE DROPDOWN - REDESIGNED
   ============================================ */
.sol-note-type-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 320px;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 16px;
    padding: 8px;
    box-shadow:
        0 20px 50px -10px rgba(0, 0, 0, 0.5),
        0 0 40px -10px rgba(99, 102, 241, 0.2);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s ease;
}

.sol-note-type-dropdown:not(.hidden) {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sol-note-type-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.sol-note-type-dropdown-item:hover {
    background: rgba(99, 102, 241, 0.1);
}

.sol-dropdown-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(51, 65, 85, 0.5);
    border-radius: 10px;
    font-size: 18px;
}

.sol-dropdown-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sol-dropdown-label {
    font-size: 14px;
    font-weight: 600;
    color: #f1f5f9;
}

.sol-dropdown-desc {
    font-size: 12px;
    color: #64748b;
}

.sol-dropdown-badge {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 3px 8px;
    border-radius: 6px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.sol-dropdown-divider {
    height: 1px;
    background: rgba(148, 163, 184, 0.1);
    margin: 8px 0;
}

.sol-dropdown-featured {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(59, 130, 246, 0.05));
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.sol-dropdown-featured:hover {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(59, 130, 246, 0.1));
    border-color: rgba(99, 102, 241, 0.3);
}

.sol-dropdown-featured .sol-dropdown-icon {
    background: rgba(99, 102, 241, 0.2);
}

/* ============================================
   HEADER ACTION BUTTONS
   ============================================ */
.sol-note-panel-actions {
    display: flex;
    gap: 10px;
}

.sol-note-panel-actions .sol-action-btn {
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
}

.sol-note-panel-actions .sol-action-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .sol-note-panel-header {
        flex-wrap: wrap;
        gap: 12px;
        padding: 14px 16px;
    }

    .sol-note-panel-title {
        order: -1;
        width: 100%;
        font-size: 16px;
    }

    .sol-note-input-section {
        padding: 16px;
        border-radius: 16px;
    }

    .sol-note-textarea {
        min-height: 160px;
        padding: 16px;
        font-size: 14px;
    }

    .sol-note-input-actions {
        flex-wrap: wrap;
    }

    .sol-note-input-actions .sol-action-btn.ghost {
        padding: 8px 12px;
        font-size: 12px;
    }

    .sol-note-input-actions .sol-action-btn.primary {
        width: 100%;
        justify-content: center;
        margin-top: 8px;
    }
}

/* ============================================
   SNAPSHOT SELECTOR (2026-01-21)
   Link objective data from saved snapshots
   ============================================ */
.snapshot-selector-group {
    display: flex;
    align-items: center;
    gap: 6px;
}

.selected-snapshot-label {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 8px;
    color: #86efac;
    font-size: 12px;
    font-weight: 500;
    max-width: 140px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sol-action-btn-small.ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    background: rgba(51, 65, 85, 0.3);
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 6px;
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sol-action-btn-small.ghost:hover {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

.sol-action-btn-small.ghost i {
    font-size: 12px;
}

/* ============================================
   FEATURE HINT CARDS (2026-01-21)
   Dismissible onboarding hints for new features
   ============================================ */
.feature-hint {
    position: absolute;
    z-index: 1000;
    max-width: 280px;
    padding: 12px 14px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.1));
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: hintFadeIn 0.3s ease-out;
}

.feature-hint::before {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: inherit;
    border: inherit;
    border-right: none;
    border-bottom: none;
    transform: rotate(45deg);
}

/* Arrow positioning variants */
.feature-hint.arrow-top::before {
    top: -6px;
    left: 20px;
}

.feature-hint.arrow-bottom::before {
    bottom: -6px;
    left: 20px;
    transform: rotate(225deg);
}

.feature-hint.arrow-left::before {
    left: -6px;
    top: 50%;
    margin-top: -5px;
    transform: rotate(-45deg);
}

.feature-hint.arrow-right::before {
    right: -6px;
    top: 50%;
    margin-top: -5px;
    transform: rotate(135deg);
}

.feature-hint-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
}

.feature-hint-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    background: rgba(99, 102, 241, 0.2);
    border-radius: 10px;
    color: #a5b4fc;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feature-hint-badge i {
    font-size: 10px;
}

.feature-hint-dismiss {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 4px;
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.feature-hint-dismiss:hover {
    background: rgba(148, 163, 184, 0.15);
    color: #cbd5e1;
}

.feature-hint-dismiss i {
    font-size: 14px;
}

.feature-hint-title {
    color: #e2e8f0;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
}

.feature-hint-body {
    color: #94a3b8;
    font-size: 12px;
    line-height: 1.5;
}

.feature-hint-body strong {
    color: #c7d2fe;
}

.feature-hint-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.feature-hint-step {
    color: #64748b;
    font-size: 10px;
}

.feature-hint-action {
    padding: 4px 10px;
    background: rgba(99, 102, 241, 0.2);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 6px;
    color: #a5b4fc;
    font-size: 11px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
}

.feature-hint-action:hover {
    background: rgba(99, 102, 241, 0.3);
    border-color: rgba(99, 102, 241, 0.5);
}

@keyframes hintFadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hint positioned relative to snapshot selector */
.snapshot-selector-group {
    position: relative;
}

.feature-hint.snapshot-hint {
    top: calc(100% + 12px);
    left: 0;
}

/* Hint in note output section */
.feature-hint.generation-hint {
    position: fixed;
    bottom: 20px;
    right: 20px;
    animation: hintSlideIn 0.3s ease-out;
}

@keyframes hintSlideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============================================
   HINT CATEGORY VARIATIONS
   Context-aware color schemes
   ============================================ */

/* Feature - Purple/Indigo (new features) */
.hint-category-feature {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.1));
    border-color: rgba(99, 102, 241, 0.3);
}
.hint-category-feature .feature-hint-badge {
    background: rgba(99, 102, 241, 0.2);
    color: #a5b4fc;
}

/* Success - Green */
.hint-category-success {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.12), rgba(16, 185, 129, 0.08));
    border-color: rgba(34, 197, 94, 0.3);
}
.hint-category-success .feature-hint-badge {
    background: rgba(34, 197, 94, 0.2);
    color: #86efac;
}
.hint-category-success .feature-hint-title {
    color: #bbf7d0;
}

/* Warning - Amber/Orange */
.hint-category-warning {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(234, 88, 12, 0.08));
    border-color: rgba(245, 158, 11, 0.35);
}
.hint-category-warning .feature-hint-badge {
    background: rgba(245, 158, 11, 0.2);
    color: #fcd34d;
}
.hint-category-warning .feature-hint-title {
    color: #fde68a;
}
.hint-category-warning .feature-hint-body strong {
    color: #fcd34d;
}

/* Info - Blue/Cyan */
.hint-category-info {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(6, 182, 212, 0.08));
    border-color: rgba(59, 130, 246, 0.3);
}
.hint-category-info .feature-hint-badge {
    background: rgba(59, 130, 246, 0.2);
    color: #93c5fd;
}

/* Tip - Yellow/Amber (subtle) */
.hint-category-tip {
    background: linear-gradient(135deg, rgba(250, 204, 21, 0.08), rgba(234, 179, 8, 0.05));
    border-color: rgba(250, 204, 21, 0.25);
}
.hint-category-tip .feature-hint-badge {
    background: rgba(250, 204, 21, 0.15);
    color: #fde047;
}
.hint-category-tip .feature-hint-title {
    color: #fef08a;
}

/* Onboarding - Teal/Cyan (welcoming) */
.hint-category-onboarding {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.12), rgba(6, 182, 212, 0.08));
    border-color: rgba(20, 184, 166, 0.3);
}
.hint-category-onboarding .feature-hint-badge {
    background: rgba(20, 184, 166, 0.2);
    color: #5eead4;
}
.hint-category-onboarding .feature-hint-title {
    color: #99f6e4;
}

/* Tips toggle button */
.tips-toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    background: transparent;
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 8px;
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tips-toggle-btn:hover {
    background: rgba(250, 204, 21, 0.1);
    border-color: rgba(250, 204, 21, 0.3);
    color: #fde047;
}

.tips-toggle-btn.tips-active {
    background: rgba(250, 204, 21, 0.15);
    border-color: rgba(250, 204, 21, 0.35);
    color: #fde047;
}

.tips-toggle-btn i {
    font-size: 16px;
}

/* ============================================
   ANIMATION STATES
   ============================================ */

/* Loading state for generate button */
#generateNoteBtn.loading {
    pointer-events: none;
    position: relative;
}

#generateNoteBtn.loading::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Success flash */
@keyframes success-flash {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
    50% { box-shadow: 0 0 30px 10px rgba(34, 197, 94, 0.3); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.sol-note-textarea.success {
    animation: success-flash 0.6s ease-out;
    border-color: rgba(34, 197, 94, 0.4);
}
