/* ============================================
 * PerformanceLens - Encryption UI Styles
 * ============================================ */

/* Encryption settings section indicator */
#encryptionSettingsSection .info-box {
    background: rgba(102, 126, 234, 0.08);
    border: 1px solid rgba(102, 126, 234, 0.25);
    border-radius: 8px;
    padding: 14px 16px;
    color: #94a3b8;
    font-size: 0.9em;
    line-height: 1.5;
}

/* Recovery key display */
#encRecoveryKeyDisplay {
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    user-select: all;
}

/* Encryption unlock modal - prevent interaction with dashboard behind */
#encryptionUnlockModal {
    backdrop-filter: blur(8px);
}

/* Migration progress bar animation */
#migrationProgressBar {
    transition: width 0.3s ease;
}

/* Spinner for encryption loading states */
#encSetupLoading .spinner,
#encryptionMigrationModal .spinner {
    width: 36px;
    height: 36px;
    border: 3px solid #334155;
    border-top-color: #667eea;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* EA sync key display */
#eaSyncKeyDisplay {
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    user-select: all;
    min-height: 38px;
    display: flex;
    align-items: center;
}

/* Disabled button state for recovery checkbox */
#encSetupStep2Btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
