:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --success-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --danger-gradient: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    
    /* Accent color - Gold/Amber for strong contrast */
    --accent-color: #FFB800;
    --accent-gradient: linear-gradient(135deg, #FFB800 0%, #FF8A00 100%);
    --accent-hover: #FFA500;
    
    --dark-bg: #0f0f23;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    
    /* Subtle shadows instead of glow */
    --shadow-primary: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-hover: 0 6px 20px rgba(0, 0, 0, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* Fix cho mobile - loại bỏ tap highlight */
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--dark-bg);
    background-image: 
        radial-gradient(circle at 30% 70%, rgba(102, 126, 234, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 70% 30%, rgba(255, 184, 0, 0.1) 0%, transparent 60%),
        radial-gradient(circle at 50% 50%, rgba(173, 216, 230, 0.05) 0%, transparent 70%);
    min-height: 100vh;
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Animated Background */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
    animation: float 30s ease-in-out infinite;
}

.floating-shape:nth-child(1) {
    width: 80px;
    height: 80px;
    left: 10%;
    top: 20%;
    animation-delay: 0s;
}

.floating-shape:nth-child(2) {
    width: 60px;
    height: 60px;
    right: 10%;
    top: 60%;
    animation-delay: -5s;
}

.floating-shape:nth-child(3) {
    width: 100px;
    height: 100px;
    left: 60%;
    bottom: 20%;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.2; }
    33% { transform: translateY(-15px) rotate(120deg); opacity: 0.3; }
    66% { transform: translateY(10px) rotate(240deg); opacity: 0.25; }
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 10;
}

/* Header Styles */
.header {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px 20px;
}

.logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    animation: logoGlow 3s ease-in-out infinite;
}

.logo-icon {
    background-image: url("https://raw.githubusercontent.com/nguyenxuantrinhnotpd/PyHydra/main/pyhydra.jpeg");
    background-size: contain;
    background-repeat: no-repeat;
    width: 164px;
    height: 164px;
    margin-right: 15px;
    filter: drop-shadow(0 2px 8px rgba(102, 126, 234, 0.3));
}

.logo-text {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -2px;
}

@keyframes logoGlow {
    0%, 100% { filter: drop-shadow(0 2px 8px rgba(102, 126, 234, 0.3)); }
    50% { filter: drop-shadow(0 4px 12px rgba(102, 126, 234, 0.4)); }
}

.tagline {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: 300;
    margin-bottom: 15px;
}

.features-preview {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.feature-badge {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.feature-badge:nth-child(2n) {
    border-color: rgba(255, 184, 0, 0.3);
    color: var(--accent-color);
}

.feature-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.08);
}

/* Form Container */
.form-container {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow-primary);
    animation: slideUp 0.8s ease-out;
    position: relative;
    overflow: hidden;
}

.form-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, rgba(102, 126, 234, 0.03), transparent 30%);
    animation: rotate 60s linear infinite;
    z-index: -1;
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

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

/* Form Elements */
.form-group {
    margin-bottom: 28px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 12px;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-control {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    font-family: inherit;
    /* Cho phép select text trong input */
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 2px 8px rgba(255, 184, 0, 0.15);
    transform: translateY(-1px);
}

.form-control::placeholder {
    color: var(--text-secondary);
}

.form-control option {
    background-color: #1a1a2e;
    color: white;
    padding: 12px;
    font-size: 15px;
}

.form-control option:checked {
    background-color: rgba(102, 126, 234, 0.8);
}

/* Custom Checkbox */
.checkbox-container {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    cursor: pointer;
    padding: 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    /* Loại bỏ tap highlight cho checkbox */
    -webkit-tap-highlight-color: transparent;
    min-height: 60px;
}

.checkbox-container:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
}

.checkbox-container input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 24px;
    height: 24px;
    border: 2px solid rgba(102, 126, 234, 0.6);
    border-radius: 6px;
    margin-right: 15px;
    position: relative;
    transition: all 0.3s ease;
    background: transparent;
    flex-shrink: 0;
}

.checkbox-container input[type="checkbox"]:checked + .checkbox-custom {
    background: var(--accent-gradient);
    border-color: transparent;
    transform: scale(1.05);
}

.checkbox-container input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '✓';
    position: absolute;
    color: white;
    font-size: 16px;
    font-weight: bold;
    top: -2px;
    left: 4px;
}

/* File Upload */
.file-upload {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.file-upload input[type=file] {
    position: absolute;
    left: -9999px;
}

.file-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    border: 2px dashed rgba(102, 126, 234, 0.5);
    border-radius: 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.03);
    min-height: 120px;
    /* Loại bỏ tap highlight cho file upload */
    -webkit-tap-highlight-color: transparent;
}

.file-upload-label:hover {
    background: rgba(255, 184, 0, 0.05);
    border-color: var(--accent-color);
    transform: scale(1.01);
}

.upload-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
    opacity: 0.7;
}

.upload-text {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 5px;
}

.upload-hint {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.file-name {
    margin-top: 15px;
    padding: 10px 20px;
    background: var(--success-gradient);
    border-radius: 25px;
    font-weight: 600;
    color: white;
    display: inline-block;
}

/* Buttons - QUAN TRỌNG: Loại bỏ tap highlight */
.btn-primary {
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 18px 40px;
    border-radius: 16px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    width: 100%;
    margin-top: 20px;
    /* Loại bỏ hoàn toàn tap highlight trên mobile */
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.btn-primary.accent {
    background: var(--accent-gradient);
    box-shadow: 0 3px 10px rgba(255, 184, 0, 0.25);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
}

.btn-primary:active {
    transform: translateY(-1px);
    /* Đảm bảo không có highlight khi active */
    -webkit-tap-highlight-color: transparent;
}

/* Fix đặc biệt cho iOS Safari */
.btn-primary:focus {
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.btn-download {
    background: var(--accent-gradient);
    color: white;
    border: none;
    padding: 14px 30px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
    box-shadow: 0 3px 10px rgba(255, 184, 0, 0.3);
    text-decoration: none;
    display: inline-block;
    /* Loại bỏ tap highlight cho download button */
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-appearance: none;
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 184, 0, 0.4);
}

.btn-download:active {
    -webkit-tap-highlight-color: transparent;
}

.btn-download:focus {
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

/* Result Container */
.result-container {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 32px;
    margin-top: 35px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    animation: fadeIn 0.6s ease-out;
    transition: all 0.3s ease;
}

/* Hiệu ứng hover */
.result-container:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.25);
}

/* Hiệu ứng nổi khối bên trong */
.result-container::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0));
    pointer-events: none;
}

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

.result-success {
    border-left: 5px solid #4facfe;
}

.result-error {
    border-left: 5px solid #fa709a;
}

/* Code Output */
.code-output {
    background: rgba(0, 0, 0, 0.6);
    color: #e1e1e1;
    padding: 25px;
    border-radius: 12px;
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.6;
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    resize: vertical;
    width: 100%;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    /* Cho phép select text trong code output */
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/* Loading Animation */
.loading {
    display: none;
    text-align: center;
    margin: 30px 0;
    padding: 40px;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .form-container {
        padding: 25px;
        border-radius: 20px;
    }
    
    .logo-icon {
        font-size: 3rem;
    }
    
    .logo-text {
        font-size: 2.5rem;
    }
    
    .header {
        padding: 20px 10px;
        margin-bottom: 25px;
    }
    
    .tagline {
        font-size: 1rem;
    }
    
    .features-preview {
        gap: 10px;
    }
    
    .feature-badge {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .form-control {
        padding: 14px 16px;
        font-size: 16px; /* Prevent zoom on iOS */
    }
    
    .checkbox-container {
        padding: 12px;
    }
    
    .file-upload-label {
        padding: 30px 15px;
        min-height: 100px;
    }
    
    .upload-icon {
        font-size: 2rem;
    }
    
    .btn-primary {
        padding: 16px 30px;
        font-size: 17px;
        /* Đặc biệt quan trọng cho mobile */
        -webkit-tap-highlight-color: transparent;
    }
}

@media (max-width: 480px) {
    .logo {
        flex-direction: column;
        gap: 10px;
    }
    
    .logo-icon {
        font-size: 2.5rem;
        margin-right: 0;
    }
    
    .logo-text {
        font-size: 2rem;
    }
    
    .form-container {
        padding: 20px;
    }
    
    .file-upload-label {
        padding: 25px 10px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation - nhưng không áp dụng tap highlight */
.btn-primary:focus-visible,
.form-control:focus-visible,
.file-upload-label:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
    -webkit-tap-highlight-color: transparent;
}

/* Override mọi tap highlight có thể */
button, input, textarea, select, a, label, div {
    -webkit-tap-highlight-color: transparent;
}

/* Protection Level Slider */
.protection-slider-container {
    margin: 30px 0;
    padding: 25px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid var(--glass-border);
}

.protection-slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.protection-slider-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.protection-level-badge {
    background: var(--accent-gradient);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.protection-slider {
    width: 100%;
    height: 8px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    position: relative;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}

.protection-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--accent-gradient);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(255, 184, 0, 0.4);
    transition: all 0.3s ease;
}

.protection-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--accent-gradient);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(255, 184, 0, 0.4);
    transition: all 0.3s ease;
}

.protection-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 3px 12px rgba(255, 184, 0, 0.6);
}

.protection-levels {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}

.protection-level-item {
    text-align: center;
    flex: 1;
    color: var(--text-secondary);
    font-size: 0.85rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.protection-level-item.active {
    color: var(--accent-color);
    font-weight: 600;
}

/* Obfuscation History */
.history-container {
    margin: 40px 0;
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
}

.history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.history-title {
    font-size: 1.3rem;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.history-filters {
    display: flex;
    gap: 10px;
    align-items: center;
}

.history-search {
    padding: 8px 16px;
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    font-size: 0.9rem;
    width: 200px;
    transition: all 0.3s ease;
}

.history-search:focus {
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.08);
    outline: none;
}

.history-filter-btn {
    padding: 8px 14px;
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.history-filter-btn.active {
    background: var(--accent-gradient);
    color: white;
    border-color: transparent;
}

.history-filter-btn:hover {
    background: rgba(255, 255, 255, 0.08);
}

.history-table {
    width: 100%;
    border-collapse: collapse;
}

.history-table thead {
    background: rgba(102, 126, 234, 0.1);
    border-radius: 10px;
}

.history-table th {
    padding: 12px;
    text-align: left;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
    border-bottom: 2px solid var(--glass-border);
}

.history-table tbody tr {
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.history-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

.history-table td {
    padding: 12px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.history-status {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.history-status.success {
    background: rgba(79, 172, 254, 0.2);
    color: #4facfe;
}

.history-status.pending {
    background: rgba(255, 184, 0, 0.2);
    color: var(--accent-color);
}

.history-status.failed {
    background: rgba(250, 112, 154, 0.2);
    color: #fa709a;
}

.history-action-btn {
    padding: 6px 12px;
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 2px;
}

.history-action-btn:hover {
    background: var(--accent-gradient);
    color: white;
    border-color: transparent;
}

/* API Keys Section */
.api-keys-container {
    margin: 40px 0;
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
}

.api-keys-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.api-keys-title {
    font-size: 1.3rem;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-generate-key {
    padding: 10px 20px;
    background: var(--accent-gradient);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 184, 0, 0.3);
}

.btn-generate-key:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 184, 0, 0.4);
}

.api-key-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.api-key-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
}

.api-key-info {
    flex: 1;
}

.api-key-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.api-key-value {
    font-family: 'Courier New', monospace;
    color: var(--text-secondary);
    font-size: 0.9rem;
    background: rgba(0, 0, 0, 0.3);
    padding: 4px 8px;
    border-radius: 6px;
    display: inline-block;
}

.api-key-actions {
    display: flex;
    gap: 10px;
}

.btn-copy-key,
.btn-delete-key {
    padding: 8px 12px;
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem;
}

.btn-copy-key:hover {
    background: var(--success-gradient);
    color: white;
    border-color: transparent;
}

.btn-delete-key:hover {
    background: var(--danger-gradient);
    color: white;
    border-color: transparent;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 40px;
    color: var(--text-secondary);
}

.empty-state-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.5;
}

.empty-state-text {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

/* Responsive adjustments for new components */
@media (max-width: 768px) {
    .protection-slider-container,
    .history-container,
    .api-keys-container {
        padding: 20px;
        margin: 30px 0;
    }
    
    .history-header,
    .api-keys-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .history-filters {
        flex-wrap: wrap;
    }
    
    .history-search {
        width: 100%;
    }
    
    .history-table {
        font-size: 0.85rem;
    }
    
    .history-table th,
    .history-table td {
        padding: 8px;
    }
    
    .api-key-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .api-key-actions {
        width: 100%;
        justify-content: flex-end;
    }
}
