/* Import Fonts and Icons */
@import url('https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&display=swap');

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Figtree", serif;
    background: linear-gradient(135deg, #0d1b2a 0%, #1b263b 50%, #0d1b2a 100%);
    min-height: 100vh;
    color: #ffffff;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

body:has(.login-container) {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 0;
    margin: 0;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    min-height: calc(100vh - 200px);
    width: 100%;
    box-sizing: border-box;
}

/* Login/Register Container */
.login-container {
    width: 100%;
    max-width: 450px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0 auto;
    position: relative;
    box-sizing: border-box;
}

.login-card, .login-box, .register-box {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 24px;
    padding: 50px 40px;
    border: 1px solid #0f3460;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 100%;
    margin: 0;
    position: relative;
    box-sizing: border-box;
}

.logo-container {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
}

.logo-403 {
    font-size: 72px;
    font-weight: 900;
    background: linear-gradient(180deg, #00ffcc 0%, #00d4ff 50%, #00b8e6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
    filter: drop-shadow(0 0 20px rgba(0, 255, 204, 0.3));
    letter-spacing: 5px;
    line-height: 1;
}

.logo-text {
    font-size: 18px;
    font-weight: 700;
    color: #00d4ff;
    letter-spacing: 12px;
    margin-top: 5px;
    text-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
}

.login-title, .login-box h1, .register-box h1 {
    color: #ffffff;
    font-size: 28px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.login-subtitle {
    color: #a0a0a0;
    font-size: 14px;
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.5;
}

/* Navbar */
.navbar {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 20px 30px;
    border-radius: 16px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #0f3460;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    flex-wrap: wrap;
    gap: 15px;
    position: relative;
}

.navbar-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.navbar h1 {
    color: #00d4ff;
    font-size: 1.8em;
    font-weight: 700;
    letter-spacing: 2px;
    text-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
    margin: 0;
}

/* Hamburger Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background: #00d4ff;
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
    transition: all 0.3s ease;
}

.nav-links a {
    color: #a0a0a0;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-links a:hover {
    color: #00d4ff;
    background: rgba(0, 212, 255, 0.1);
}

.nav-links a.active {
    color: #00d4ff;
    background: rgba(0, 212, 255, 0.2);
}

.nav-links a.nav-support {
    background: linear-gradient(135deg, #0088cc 0%, #0066aa 100%);
    color: #ffffff;
    border-radius: 8px;
    font-weight: 600;
}

.nav-links a.nav-support:hover {
    background: linear-gradient(135deg, #0099dd 0%, #0077bb 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 136, 204, 0.4);
}

/* Form Groups */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 14px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.input-wrapper > i:first-of-type {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #00d4ff;
    font-size: 16px;
    z-index: 2;
    pointer-events: none;
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
}

.input-wrapper:hover > i:first-of-type {
    color: #00e5ff;
}

.input-wrapper input,
.input-wrapper .form-control {
    padding-left: 52px !important;
    padding-right: 18px;
    width: 100%;
}

.input-wrapper input:focus ~ i:first-of-type,
.input-wrapper:focus-within > i:first-of-type {
    color: #00e5ff;
}

.input-wrapper:has(.toggle-password) input {
    padding-right: 55px;
}

.form-control, input[type="text"], input[type="password"], input[type="email"], input[type="number"], select, textarea {
    background: rgba(15, 52, 96, 0.5);
    border: 2px solid #1b3a5a;
    border-radius: 12px;
    padding: 15px 20px;
    color: #ffffff;
    font-size: 16px;
    width: 100%;
    transition: all 0.3s ease;
    font-family: "Figtree", serif;
    box-sizing: border-box;
}

.form-control:focus, input:focus, select:focus, textarea:focus {
    background: rgba(15, 52, 96, 0.7);
    border-color: #00d4ff;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
    color: #ffffff;
    outline: none;
}

.form-control:hover, input:hover, select:hover, textarea:hover {
    border-color: #00d4ff;
}

.form-control::placeholder, input::placeholder, textarea::placeholder {
    color: #6c757d;
}

.form-group small {
    display: block;
    margin-top: 8px;
    color: #a0a0a0;
    font-size: 13px;
}

/* Textarea */
textarea {
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    line-height: 1.5;
    resize: vertical;
    min-height: 150px;
}

textarea:focus {
    border-color: #00d4ff;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

/* Buttons */
.btn, button[type="submit"], .btn-login {
    background: linear-gradient(135deg, #00d4ff 0%, #0099ff 100%);
    border: none;
    border-radius: 12px;
    padding: 15px 30px;
    color: #000;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: "Figtree", serif;
}

.btn:hover, button[type="submit"]:hover, .btn-login:hover {
    background: linear-gradient(135deg, #00e5ff 0%, #00aaff 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.btn-primary {
    background: linear-gradient(135deg, #00d4ff 0%, #0099ff 100%);
    color: #000;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #00e5ff 0%, #00aaff 100%);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #e0e0e0;
    border: 2px solid #1b3a5a;
    text-transform: none;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #00d4ff;
    color: #ffffff;
}

.btn-danger {
    background: linear-gradient(135deg, #ff4757 0%, #ff3838 100%);
    color: #ffffff;
}

.btn-danger:hover {
    background: linear-gradient(135deg, #ff5f6d 0%, #ff4d5d 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 71, 87, 0.3);
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.85em;
    font-weight: 600;
    border-radius: 8px;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.btn-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.4);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Alerts */
.alert, .error-message {
    background: rgba(255, 71, 87, 0.15);
    border: 1px solid #ff4757;
    border-radius: 10px;
    padding: 12px 15px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert i {
    font-size: 18px;
    flex-shrink: 0;
}

.alert span {
    font-size: 14px;
    font-weight: 500;
}

.alert-error {
    background: rgba(255, 71, 87, 0.15);
    border-color: #ff4757;
    color: #ff6b6b;
}

.alert-error i {
    color: #ff4757;
}

.alert-success {
    background: rgba(76, 175, 80, 0.15);
    border-color: #4caf50;
    color: #81c784;
}

.alert-success i {
    color: #4caf50;
}

.alert-info {
    background: rgba(0, 212, 255, 0.15);
    border-color: #00d4ff;
    color: #00d4ff;
}

.alert-info i {
    color: #00d4ff;
}

.error-message i {
    color: #ff4757;
    font-size: 18px;
}

.error-message span {
    color: #ff6b6b;
    font-size: 14px;
    font-weight: 500;
}

/* Page Header */
.page-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(0, 212, 255, 0.2);
    width: 100%;
    box-sizing: border-box;
}

.page-header .header-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
}

.page-header h2 {
    color: #00d4ff;
    font-size: 2em;
    font-weight: 700;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
}

.page-header h2 i {
    font-size: 0.9em;
}

.page-subtitle {
    color: #a0a0a0;
    font-size: 0.95em;
    margin: 0;
}

.page-subtitle code {
    background: rgba(0, 212, 255, 0.1);
    padding: 4px 8px;
    border-radius: 6px;
    color: #00d4ff;
    font-size: 0.9em;
}

/* Dashboard */
.dashboard {
    padding: 20px 0;
    width: 100%;
    box-sizing: border-box;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 30px;
}

@media (max-width: 1024px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 25px;
    border-radius: 16px;
    border: 1px solid #0f3460;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #00ffcc 0%, #00d4ff 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 212, 255, 0.3);
    border-color: #00d4ff;
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2) 0%, rgba(0, 255, 204, 0.2) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #00d4ff;
    flex-shrink: 0;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.stat-icon.success {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.2) 0%, rgba(102, 187, 106, 0.2) 100%);
    color: #4caf50;
    border-color: rgba(76, 175, 80, 0.3);
}

.stat-icon.warning {
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.2) 0%, rgba(255, 183, 77, 0.2) 100%);
    color: #ff9800;
    border-color: rgba(255, 152, 0, 0.3);
}

.stat-icon.danger {
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.2) 0%, rgba(239, 83, 80, 0.2) 100%);
    color: #f44336;
    border-color: rgba(244, 67, 54, 0.3);
}

.stat-content {
    flex: 1;
}

.stat-card h3 {
    color: #a0a0a0;
    font-size: 0.85em;
    margin-bottom: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-value {
    color: #00d4ff;
    font-size: 2.2em;
    font-weight: 700;
    text-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
    line-height: 1;
}

.config-panel, .upload-panel {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid #0f3460;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.config-panel:hover, .upload-panel:hover {
    box-shadow: 0 15px 50px rgba(0, 212, 255, 0.2);
    border-color: #00d4ff;
}

.panel-header {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.panel-header h2 {
    color: #00d4ff;
    margin-bottom: 5px;
    font-size: 1.4em;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
    display: flex;
    align-items: center;
    gap: 10px;
}

.panel-header h2 i {
    font-size: 0.9em;
}

.panel-subtitle {
    color: #a0a0a0;
    font-size: 0.9em;
    margin: 0;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.config-section, .account-section {
    margin-bottom: 30px;
    padding: 25px;
    background: rgba(15, 52, 96, 0.2);
    border-radius: 12px;
    border: 1px solid rgba(0, 212, 255, 0.15);
}

.config-section h3, .account-section h3 {
    color: #00d4ff;
    font-size: 1.2em;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.config-section h3 i, .account-section h3 i {
    font-size: 0.9em;
}

.required-badge {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(244, 67, 54, 0.2);
    color: #f44336;
    border: 1px solid rgba(244, 67, 54, 0.3);
    border-radius: 6px;
    font-size: 0.75em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: auto;
}

/* Toggle Switch */
.toggle-switch {
    display: flex;
    align-items: center;
    gap: 15px;
}

.toggle-switch input[type="checkbox"] {
    display: none;
}

.toggle-label {
    position: relative;
    display: inline-flex;
    align-items: center;
    width: 120px;
    height: 44px;
    background: rgba(15, 52, 96, 0.5);
    border: 2px solid #1b3a5a;
    border-radius: 22px;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.toggle-label:hover {
    border-color: #00d4ff;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.2);
}

.toggle-slider {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #00d4ff 0%, #0099ff 100%);
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 212, 255, 0.4);
    z-index: 2;
}

.toggle-text {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 1;
}

.toggle-yes {
    color: #000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.toggle-no {
    color: #a0a0a0;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.toggle-switch input[type="checkbox"]:checked + .toggle-label {
    background: rgba(0, 212, 255, 0.15);
    border-color: #00d4ff;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.toggle-switch input[type="checkbox"]:checked + .toggle-label .toggle-slider {
    left: calc(100% - 40px);
    background: linear-gradient(135deg, #00ffcc 0%, #00d4ff 100%);
    box-shadow: 0 2px 12px rgba(0, 255, 204, 0.5);
}

.toggle-switch input[type="checkbox"]:checked + .toggle-label .toggle-yes {
    opacity: 1;
    color: #00d4ff;
}

.toggle-switch input[type="checkbox"]:checked + .toggle-label .toggle-no {
    opacity: 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    padding: 18px 24px;
    background: rgba(15, 52, 96, 0.4);
    border-radius: 12px;
    border: 2px solid #1b3a5a;
    transition: all 0.3s ease;
    user-select: none;
    position: relative;
}

.checkbox-label:hover {
    background: rgba(15, 52, 96, 0.6);
    border-color: #00d4ff;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

.checkbox-label input[type="checkbox"] {
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
    cursor: pointer;
    margin: 0;
    flex-shrink: 0;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: rgba(15, 52, 96, 0.6);
    border: 2px solid #1b3a5a;
    border-radius: 6px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked {
    background: linear-gradient(135deg, #00d4ff 0%, #0099ff 100%);
    border-color: #00d4ff;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
}

.checkbox-label input[type="checkbox"]:checked::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #000;
    font-size: 13px;
    line-height: 1;
}

.checkbox-label input[type="checkbox"]:hover {
    border-color: #00d4ff;
    background: rgba(15, 52, 96, 0.8);
}

.checkbox-label input[type="checkbox"]:checked:hover {
    background: linear-gradient(135deg, #00e5ff 0%, #00aaff 100%);
}

.checkbox-label span {
    color: #e0e0e0;
    font-weight: 600;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.checkbox-label span i {
    color: #00d4ff;
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.form-actions {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-top: 25px;
    flex-wrap: wrap;
}

.form-actions .btn {
    flex-shrink: 0;
}

.action-group {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.form-actions .account-counter {
    margin-left: 0;
    order: 0;
}

.account-status-bar {
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 20px;
    margin-top: 20px;
}

.account-status-info {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #a0a0a0;
    font-size: 14px;
    font-weight: 500;
}

.account-status-info i {
    color: #00d4ff;
    font-size: 16px;
}

.account-counter {
    color: #00d4ff;
    font-weight: 600;
    font-size: 15px;
}

.account-counter:empty {
    display: none;
}

.account-counter:not(:empty) {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.textarea-code {
    font-family: 'Courier New', monospace !important;
    font-size: 0.9em !important;
    line-height: 1.6 !important;
}

/* Monitor */
.monitor {
    padding: 20px 0;
}

.status-info {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid #0f3460;
    margin-bottom: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.status-item {
    color: #e0e0e0;
    padding: 20px;
    background: rgba(15, 52, 96, 0.4);
    border-radius: 12px;
    border: 1px solid #1b3a5a;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.status-item:hover {
    background: rgba(15, 52, 96, 0.6);
    border-color: #00d4ff;
    transform: translateY(-2px);
}

.status-item.success {
    border-color: rgba(76, 175, 80, 0.5);
}

.status-item.danger {
    border-color: rgba(244, 67, 54, 0.5);
}

.status-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2) 0%, rgba(0, 255, 204, 0.2) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #00d4ff;
    flex-shrink: 0;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.status-icon.success {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.2) 0%, rgba(102, 187, 106, 0.2) 100%);
    color: #4caf50;
    border-color: rgba(76, 175, 80, 0.3);
}

.status-icon.danger {
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.2) 0%, rgba(239, 83, 80, 0.2) 100%);
    color: #f44336;
    border-color: rgba(244, 67, 54, 0.3);
}

.status-icon.progress {
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.2) 0%, rgba(255, 183, 77, 0.2) 100%);
    color: #ff9800;
    border-color: rgba(255, 152, 0, 0.3);
}

.status-content {
    flex: 1;
}

.status-item strong {
    color: #a0a0a0;
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 0.85em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-value {
    color: #00d4ff;
    font-size: 1.4em;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.progress-container {
    background: rgba(15, 52, 96, 0.4);
    padding: 35px;
    border-radius: 16px;
    border: 1px solid rgba(0, 212, 255, 0.25);
    margin-bottom: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.progress-bar-wrapper {
    width: 100%;
    height: 20px;
    background: rgba(15, 52, 96, 0.7);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(0, 212, 255, 0.2);
    position: relative;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #4caf50 0%, #00ffcc 50%, #00d4ff 100%);
    border-radius: 10px;
    transition: width 0.5s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0, 255, 204, 0.4);
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.progress-text {
    text-align: center;
    color: #00d4ff;
    font-weight: 600;
    font-size: 1.15em;
    text-shadow: 0 0 15px rgba(0, 212, 255, 0.6);
    letter-spacing: 0.5px;
    margin-top: 5px;
}

.action-buttons {
    margin-bottom: 30px;
    display: flex;
    gap: 15px;
}

.config-display {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid #0f3460;
    margin-bottom: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.config-display .panel-header {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.config-display .panel-header h3 {
    color: #00d4ff;
    margin: 0 0 5px 0;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3em;
}

.config-display .panel-header .panel-subtitle {
    color: #a0a0a0;
    font-size: 0.9em;
    margin: 0;
}

.config-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}

.config-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px;
    background: rgba(15, 52, 96, 0.4);
    border-radius: 12px;
    border: 1px solid rgba(0, 212, 255, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.config-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, #00ffcc 0%, #00d4ff 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.config-item:hover {
    background: rgba(15, 52, 96, 0.6);
    border-color: #00d4ff;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.2);
}

.config-item:hover::before {
    opacity: 1;
}

.config-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    flex-shrink: 0;
}

.config-icon i {
    color: #00d4ff;
    font-size: 20px;
}

.config-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.config-label {
    color: #a0a0a0;
    font-weight: 600;
    font-size: 0.85em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.config-value {
    color: #e0e0e0;
    font-weight: 600;
    font-size: 1em;
    word-break: break-word;
}

.badge {
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.85em;
    font-weight: 600;
    background: rgba(160, 160, 160, 0.15);
    color: #a0a0a0;
    border: 1px solid rgba(160, 160, 160, 0.2);
    display: inline-block;
}

.badge.success {
    background: rgba(76, 175, 80, 0.2);
    color: #4caf50;
    border-color: rgba(76, 175, 80, 0.3);
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.2);
}

/* Results Tabs */
.results-tabs {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 16px;
    border: 1px solid #0f3460;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.tab-buttons {
    display: flex;
    background: rgba(15, 52, 96, 0.5);
    border-bottom: 1px solid #1b3a5a;
}

.tab-btn {
    flex: 1;
    padding: 15px;
    background: transparent;
    border: none;
    color: #a0a0a0;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: "Figtree", serif;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.tab-btn:hover {
    background: rgba(0, 212, 255, 0.1);
    color: #00d4ff;
}

.tab-btn.active {
    background: rgba(0, 212, 255, 0.2);
    color: #00d4ff;
    border-bottom: 2px solid #00d4ff;
}

.tab-btn i {
    font-size: 0.9em;
}

.tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 8px;
    margin-left: 8px;
    background: rgba(0, 212, 255, 0.2);
    border: 1px solid rgba(0, 212, 255, 0.4);
    border-radius: 12px;
    font-size: 0.75em;
    font-weight: 700;
    color: #00d4ff;
    text-shadow: 0 0 8px rgba(0, 212, 255, 0.5);
}

.tab-btn.active .tab-count {
    background: rgba(0, 212, 255, 0.3);
    border-color: #00d4ff;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.4);
}

.tab-pane {
    display: none;
    padding: 20px;
}

.tab-pane.active {
    display: block;
}

.tab-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(0, 212, 255, 0.2);
    gap: 15px;
    flex-wrap: wrap;
}

.tab-header-left {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.tab-title {
    color: #00d4ff;
    font-size: 1.1em;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.tab-total {
    color: #a0a0a0;
    font-size: 0.95em;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tab-total strong {
    color: #00d4ff;
    font-size: 1.1em;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(0, 212, 255, 0.4);
}

/* Search Box */
.search-box {
    margin-bottom: 25px;
}

.search-box .input-wrapper {
    position: relative;
    max-width: 500px;
}

.search-box .input-wrapper i:first-of-type {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #00d4ff;
    font-size: 1em;
    z-index: 2;
}

.search-box .input-wrapper input {
    width: 100%;
    padding: 12px 45px 12px 45px;
    background: rgba(15, 52, 96, 0.5);
    border: 1px solid #1b3a5a;
    border-radius: 10px;
    color: #ffffff;
    font-size: 0.95em;
    transition: all 0.3s ease;
}

.search-box .input-wrapper input:focus {
    outline: none;
    border-color: #00d4ff;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
    background: rgba(15, 52, 96, 0.7);
}

.search-box .input-wrapper input::placeholder {
    color: #6c757d;
}

.clear-search-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #a0a0a0;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 2;
}

.clear-search-btn:hover {
    color: #00d4ff;
    background: rgba(0, 212, 255, 0.1);
}

/* Service Badge in History */
.service-cell {
    white-space: nowrap;
}

.service-badge-history {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: linear-gradient(135deg, rgba(0, 164, 239, 0.2) 0%, rgba(0, 164, 239, 0.1) 100%);
    border: 1px solid rgba(0, 164, 239, 0.4);
    border-radius: 20px;
    color: #00a4ef;
    font-size: 0.85em;
    font-weight: 600;
}

.service-badge-history i {
    font-size: 1em;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.service-card {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 16px;
    border: 1px solid #0f3460;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 25px;
    cursor: pointer;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #00ffcc 0%, #00d4ff 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card.service-ready:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.4);
    border-color: #00d4ff;
}

.service-card.service-ready:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.service-card.service-ready:hover::before {
    opacity: 1;
}

.service-card.service-coming-soon {
    opacity: 0.6;
    cursor: not-allowed;
}

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.service-icon i {
    font-size: 2em;
    color: #ffffff;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.service-content {
    flex: 1;
    min-width: 0;
}

.service-content h3 {
    color: #00d4ff;
    font-size: 1.3em;
    font-weight: 700;
    margin-bottom: 8px;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.service-content p {
    color: #a0a0a0;
    font-size: 0.9em;
    margin-bottom: 12px;
    line-height: 1.5;
}

.service-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-badge.ready {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.2) 0%, rgba(56, 142, 60, 0.2) 100%);
    border: 1px solid rgba(76, 175, 80, 0.4);
    color: #4caf50;
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.2);
}

.service-badge.coming-soon {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.2) 0%, rgba(255, 152, 0, 0.2) 100%);
    border: 1px solid rgba(255, 193, 7, 0.4);
    color: #ffc107;
    box-shadow: 0 0 10px rgba(255, 193, 7, 0.2);
}

.service-arrow {
    color: #00d4ff;
    font-size: 1.2em;
    opacity: 0.5;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.service-card.service-ready:hover .service-arrow {
    opacity: 1;
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        flex-direction: column;
        text-align: center;
    }
    
    .service-content {
        text-align: center;
    }
}

.tab-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-secondary {
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
    color: #ffffff;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #7d858c 0%, #6c757d 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 117, 125, 0.4);
}

.tab-pane pre {
    background: rgba(15, 52, 96, 0.5);
    padding: 15px;
    border-radius: 10px;
    color: #e0e0e0;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    line-height: 1.6;
    overflow-x: auto;
    border: 1px solid #1b3a5a;
    max-height: 500px;
}

/* Progress List */
.progress-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 600px;
    overflow-y: auto;
    padding: 5px;
}

.progress-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 18px;
    background: rgba(15, 52, 96, 0.4);
    border-radius: 10px;
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-top: 2px solid rgba(0, 212, 255, 0.3);
    transition: all 0.3s ease;
    font-size: 0.9em;
}

.progress-item:hover {
    background: rgba(15, 52, 96, 0.6);
    border-color: rgba(0, 212, 255, 0.4);
    transform: translateX(3px);
}

.item-count {
    color: #00d4ff;
    font-weight: 700;
    font-size: 0.95em;
    min-width: 50px;
    text-align: left;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.item-progress-bar {
    flex: 1;
    height: 28px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    min-width: 200px;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.item-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4caf50 0%, #00ffcc 50%, #00d4ff 100%);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: width 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 255, 204, 0.4);
}

.item-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

.item-progress-text {
    color: #1a1a2e;
    font-weight: 700;
    font-size: 0.85em;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
    z-index: 1;
    position: relative;
}

.item-email {
    color: #ff9800;
    font-weight: 600;
    min-width: 180px;
    text-align: left;
    text-shadow: 0 0 8px rgba(255, 152, 0, 0.4);
}

.item-ip {
    color: #e91e63;
    font-weight: 600;
    min-width: 150px;
    text-align: left;
    text-shadow: 0 0 8px rgba(233, 30, 99, 0.4);
}

.item-reason, .item-error {
    color: #f44336;
    font-weight: 500;
    flex: 1;
    text-align: left;
}

.progress-item.dead .item-email {
    color: #f44336;
}

.progress-item.error .item-email {
    color: #ff9800;
}

.empty-message, .error-message {
    text-align: center;
    padding: 40px 20px;
    color: #a0a0a0;
    font-size: 1.1em;
}

.empty-message {
    color: #666;
}

.error-message {
    color: #f44336;
}

/* Current Progress Item */
.current-progress {
    background: rgba(15, 52, 96, 0.4);
    padding: 25px;
    border-radius: 16px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    margin-bottom: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.current-progress h3 {
    color: #00d4ff;
    font-size: 1.2em;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
    transition: all 0.3s ease;
}

.current-progress h3 i {
    font-size: 0.9em;
}

.current-progress h3:has(.fa-check-circle) {
    color: #4caf50;
    text-shadow: 0 0 10px rgba(76, 175, 80, 0.5);
}

.current-progress h3:has(.fa-check-circle) i {
    color: #4caf50;
}

.progress-item-main {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 16px 20px;
    background: rgba(15, 52, 96, 0.5);
    border-radius: 12px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-top: 2px solid rgba(0, 212, 255, 0.4);
    transition: all 0.3s ease;
}

.progress-item-main:hover {
    background: rgba(15, 52, 96, 0.7);
    border-color: rgba(0, 212, 255, 0.4);
    transform: translateX(3px);
}

.item-count-main {
    color: #00d4ff;
    font-weight: 700;
    font-size: 1em;
    min-width: 60px;
    text-align: left;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.item-progress-bar-main {
    flex: 1;
    height: 32px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    min-width: 250px;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.item-progress-fill-main {
    height: 100%;
    background: linear-gradient(90deg, #4caf50 0%, #00ffcc 50%, #00d4ff 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: width 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.5);
}

.item-progress-fill-main::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

.item-progress-text-main {
    color: #1a1a2e;
    font-weight: 700;
    font-size: 0.9em;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.4);
    z-index: 1;
    position: relative;
}

.item-email-main {
    color: #ff9800;
    font-weight: 600;
    font-size: 1em;
    min-width: 200px;
    text-align: left;
    text-shadow: 0 0 8px rgba(255, 152, 0, 0.4);
}

.item-ip-main {
    color: #e91e63;
    font-weight: 600;
    font-size: 1em;
    min-width: 180px;
    text-align: left;
    text-shadow: 0 0 8px rgba(233, 30, 99, 0.4);
}

/* History */
.history {
    padding: 20px 0;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 16px;
    border: 1px solid #0f3460;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.empty-state i {
    font-size: 64px;
    color: #00d4ff;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state h3 {
    color: #00d4ff;
    font-size: 1.5em;
    margin-bottom: 10px;
}

.empty-state p {
    color: #a0a0a0;
    margin-bottom: 25px;
}

.history-table {
    margin-top: 30px;
    overflow-x: auto;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 16px;
    border: 1px solid #0f3460;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    padding: 2px;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: transparent;
    border-radius: 0;
    overflow: hidden;
    border: none;
    box-shadow: none;
}

thead {
    background: rgba(15, 52, 96, 0.7);
    border-bottom: 2px solid rgba(0, 212, 255, 0.3);
}

th, td {
    padding: 18px 15px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    vertical-align: middle;
}

th {
    color: #00d4ff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8em;
    white-space: nowrap;
}

th i {
    margin-right: 8px;
    font-size: 0.9em;
    opacity: 0.8;
}

td {
    color: #e0e0e0;
    font-size: 0.95em;
}

tbody tr {
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

tbody tr:hover {
    background: rgba(0, 212, 255, 0.08);
    border-left-color: #00d4ff;
    transform: translateX(2px);
}

tbody tr:last-child td {
    border-bottom: none;
}

/* Table Cell Styles */
.check-id-cell code {
    background: rgba(0, 0, 0, 0.3);
    padding: 6px 12px;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    color: #00d4ff;
    font-size: 0.9em;
    font-weight: 600;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.status-cell {
    white-space: nowrap;
}

.status-badge {
    padding: 8px 14px;
    border-radius: 12px;
    font-size: 0.85em;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    letter-spacing: 0.5px;
}

.status-badge i {
    font-size: 0.9em;
}

.status-running {
    background: linear-gradient(135deg, #00ffcc 0%, #00d4ff 100%);
    color: #000;
    box-shadow: 0 0 15px rgba(0, 255, 204, 0.3);
}

.status-completed {
    background: linear-gradient(135deg, #4caf50 0%, #66bb6a 100%);
    color: #fff;
    box-shadow: 0 0 15px rgba(76, 175, 80, 0.3);
}

.status-stopped {
    background: linear-gradient(135deg, #ff9800 0%, #ffb74d 100%);
    color: #fff;
    box-shadow: 0 0 15px rgba(255, 152, 0, 0.3);
}

.status-failed {
    background: linear-gradient(135deg, #f44336 0%, #ef5350 100%);
    color: #fff;
    box-shadow: 0 0 15px rgba(244, 67, 54, 0.3);
}

.progress-cell {
    min-width: 150px;
}

.progress-mini {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.progress-bar-mini {
    flex: 1;
    height: 8px;
    background: linear-gradient(90deg, #00ffcc 0%, #00d4ff 50%, #0099ff 100%);
    border-radius: 4px;
    min-width: 60px;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.4);
    position: relative;
    overflow: hidden;
}

.progress-bar-mini::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

.progress-text-mini {
    color: #00d4ff;
    font-size: 0.85em;
    font-weight: 700;
    min-width: 45px;
    text-align: right;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.total-cell {
    text-align: center;
}

.number-badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(0, 212, 255, 0.15);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 8px;
    color: #00d4ff;
    font-weight: 700;
    font-size: 1em;
    min-width: 35px;
    text-align: center;
}

.success-cell, .failed-cell {
    text-align: center;
}

.count-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9em;
}

.count-badge.success {
    background: rgba(76, 175, 80, 0.15);
    border: 1px solid rgba(76, 175, 80, 0.3);
    color: #4caf50;
}

.count-badge.success i {
    color: #4caf50;
}

.count-badge.failed {
    background: rgba(244, 67, 54, 0.15);
    border: 1px solid rgba(244, 67, 54, 0.3);
    color: #f44336;
}

.count-badge.failed i {
    color: #f44336;
}

.time-cell {
    white-space: nowrap;
}

.time-text {
    color: #a0a0a0;
    font-size: 0.9em;
    line-height: 1.4;
}

.actions-cell {
    text-align: center;
    white-space: nowrap;
}

.action-buttons-group {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
}

.btn-small.btn-danger {
    padding: 6px 12px;
    font-size: 0.8em;
    background: linear-gradient(135deg, #ff4757 0%, #ff3838 100%);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-small.btn-danger:hover {
    background: linear-gradient(135deg, #ff5f6d 0%, #ff4d5d 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 71, 87, 0.4);
}

code {
    background: rgba(0, 0, 0, 0.3);
    padding: 4px 8px;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    color: #00d4ff;
}

/* Footer */
.login-footer, .register-footer {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.login-footer p, .register-footer p {
    color: #a0a0a0;
    font-size: 0.95em;
    margin: 0;
    line-height: 1.6;
}

.login-footer a, .register-footer a {
    color: #00d4ff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 5px;
}

.login-footer a:hover, .register-footer a:hover {
    color: #00e5ff;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
    transform: translateX(3px);
}

.login-footer a i, .register-footer a i {
    font-size: 0.9em;
}

.footer-text {
    color: #6c757d;
    text-align: center;
    margin-top: 30px;
    font-size: 13px;
}

.footer-text a {
    color: #00d4ff;
    text-decoration: none;
    font-weight: bold;
}

/* Glow Line */
.glow-line {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #00d4ff, transparent);
    border-radius: 2px;
    margin: 0 auto 20px;
}

/* Captcha Box */
.captcha-box {
    display: flex;
    gap: 15px;
    align-items: stretch;
    flex-wrap: wrap;
    background: rgba(15, 52, 96, 0.3);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #1b3a5a;
    transition: all 0.3s ease;
}

.captcha-box:hover {
    background: rgba(15, 52, 96, 0.5);
    border-color: #00d4ff;
}

.captcha-question {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15) 0%, rgba(0, 255, 204, 0.15) 100%);
    padding: 18px 25px;
    border-radius: 10px;
    color: #00d4ff;
    font-weight: 700;
    font-size: 1.4em;
    border: 2px solid #00d4ff;
    flex: 1;
    min-width: 150px;
    text-align: center;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.captcha-question:hover {
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
    transform: scale(1.02);
}

.captcha-question i {
    font-size: 0.9em;
    opacity: 0.8;
}

.captcha-box .input-wrapper {
    flex: 1;
    min-width: 200px;
}

.captcha-box .input-wrapper.captcha-input {
    min-width: 150px;
}

.captcha-box .btn {
    flex-shrink: 0;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Step Indicator */
.step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 25px 0;
    gap: 10px;
}

.step {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(15, 52, 96, 0.5);
    border: 2px solid #1b3a5a;
    color: #a0a0a0;
    transition: all 0.3s ease;
    position: relative;
}

.step i {
    font-size: 18px;
    margin-bottom: 2px;
}

.step span {
    font-size: 0.7em;
    font-weight: 600;
}

.step.completed {
    background: linear-gradient(135deg, #4caf50 0%, #66bb6a 100%);
    border-color: #4caf50;
    color: #fff;
}

.step.active {
    background: linear-gradient(135deg, #00d4ff 0%, #0099ff 100%);
    border-color: #00d4ff;
    color: #000;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.step-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #00d4ff, #1b3a5a);
    border-radius: 2px;
}

/* Toggle Password */
.toggle-password {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #00d4ff;
    cursor: pointer;
    padding: 8px;
    font-size: 18px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.3s ease;
    z-index: 2;
}

.toggle-password:hover {
    color: #00e5ff;
    background: rgba(0, 212, 255, 0.1);
    transform: translateY(-50%);
}

.toggle-password:active {
    transform: translateY(-50%) scale(0.95);
}

.toggle-password i {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Login/Register Forms */
.login-form, .register-form {
    margin-top: 20px;
}

.login-form .form-group,
.register-form .form-group {
    margin-bottom: 25px;
}

.login-form .form-group label,
.register-form .form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.required {
    color: #ff4757;
    font-weight: 700;
}

/* Resend OTP */
.resend-otp {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.resend-otp .btn {
    margin-bottom: 15px;
    width: 100%;
}

.resend-message {
    margin-top: 10px;
    min-height: 30px;
    font-size: 0.9em;
}

.resend-message .alert {
    margin-bottom: 0;
    padding: 10px 15px;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .navbar {
        flex-direction: column;
        gap: 15px;
    }
    
    .navbar-brand {
        width: 100%;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        flex-direction: column;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: all 0.3s ease;
        margin-top: 15px;
        gap: 8px;
    }
    
    .nav-links.active {
        max-height: 500px;
        opacity: 1;
    }
    
    .nav-links a {
        width: 100%;
        text-align: left;
        padding: 12px 15px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .status-info {
        grid-template-columns: 1fr;
    }
    
    .login-card, .login-box, .register-box {
        padding: 30px 20px;
    }
    
    .history-table {
        margin-top: 20px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    table {
        min-width: 800px;
    }
    
    th, td {
        padding: 12px 10px;
        font-size: 0.85em;
    }
    
    th {
        font-size: 0.75em;
    }
    
    .status-badge {
        padding: 6px 10px;
        font-size: 0.8em;
    }
    
    .progress-mini {
        gap: 8px;
    }
    
    .progress-text-mini {
        font-size: 0.8em;
        min-width: 40px;
    }
    
    .number-badge, .count-badge {
        padding: 5px 10px;
        font-size: 0.85em;
    }
    
    .btn-small {
        padding: 6px 12px;
        font-size: 0.8em;
    }
    
    .time-text {
        font-size: 0.85em;
    }
}

/* Footer */
.main-footer {
    margin-top: 60px;
    padding: 40px 0 20px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-top: 2px solid rgba(0, 212, 255, 0.2);
    border-radius: 16px 16px 0 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h4 {
    color: #00d4ff;
    font-size: 1.1em;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.footer-section p {
    color: #a0a0a0;
    font-size: 0.9em;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #a0a0a0;
    text-decoration: none;
    font-size: 0.9em;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.footer-section ul li a:hover {
    color: #00d4ff;
    transform: translateX(5px);
}

.footer-section ul li a i {
    font-size: 1em;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
    border-top: 1px solid rgba(0, 212, 255, 0.1);
}

.footer-bottom p {
    color: #6c757d;
    font-size: 0.85em;
    margin: 0;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .nav-links a.nav-support {
        font-size: 0.9em;
        padding: 8px 15px;
    }
}

/* ═══════════════════════════════════════════════════════════════════
   ENHANCED RESPONSIVE DESIGN - MOBILE & DESKTOP OPTIMIZATION
   ═══════════════════════════════════════════════════════════════════ */

/* Mobile First - Base Styles for Small Screens */
@media (max-width: 480px) {
    body {
        font-size: 14px;
    }
    
    .container {
        padding: 10px;
    }
    
    .navbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 15px;
    }
    
    .navbar h1 {
        font-size: 1.2em;
        margin-bottom: 10px;
    }
    
    .nav-links {
        flex-direction: column;
        width: 100%;
        gap: 8px;
    }
    
    .nav-links a {
        width: 100%;
        text-align: center;
        padding: 12px;
        font-size: 0.9em;
    }
    
    .page-header h2 {
        font-size: 1.3em;
    }
    
    .page-subtitle {
        font-size: 0.85em;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stat-card {
        padding: 20px;
        flex-direction: row;
        gap: 15px;
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .stat-value {
        font-size: 1.5em;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .service-card {
        padding: 20px;
        flex-direction: column;
        text-align: center;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
        margin: 0 auto 15px;
    }
    
    .service-content h3 {
        font-size: 1.1em;
    }
    
    .service-content p {
        font-size: 0.85em;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .config-section, .account-section {
        padding: 20px 15px;
    }
    
    .config-section h3, .account-section h3 {
        font-size: 1em;
        flex-wrap: wrap;
    }
    
    .required-badge {
        font-size: 0.7em;
        padding: 3px 8px;
        margin-left: 0;
        margin-top: 5px;
    }
    
    .input-wrapper input,
    .input-wrapper .form-control,
    textarea,
    select {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .input-wrapper > i:first-of-type {
        left: 15px;
        font-size: 16px;
    }
    
    .toggle-label {
        width: 100px;
        height: 40px;
    }
    
    .toggle-slider {
        width: 32px;
        height: 32px;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn, button[type="submit"] {
        width: 100%;
        padding: 14px 20px;
        font-size: 14px;
    }
    
    .action-group {
        width: 100%;
        justify-content: space-between;
    }
    
    .account-counter {
        font-size: 0.85em;
    }
    
    .status-info {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 15px;
    }
    
    .status-item {
        padding: 15px;
        flex-direction: column;
        text-align: center;
    }
    
    .status-icon {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .current-progress {
        padding: 20px;
    }
    
    .progress-item-main {
        flex-direction: column;
        gap: 15px;
    }
    
    .item-progress-bar-main {
        width: 100%;
        min-width: 100%;
    }
    
    .item-email-main, .item-ip-main {
        font-size: 0.9em;
        text-align: center;
    }
    
    .tab-buttons {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .tab-btn {
        flex: 1;
        min-width: calc(50% - 5px);
        padding: 12px;
        font-size: 0.9em;
    }
    
    .tab-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .tab-header-actions {
        width: 100%;
        justify-content: flex-end;
    }
    
    .tab-pane pre {
        font-size: 0.8em;
        padding: 12px;
        max-height: 400px;
    }
    
    .history-table {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    table {
        min-width: 700px;
        font-size: 0.85em;
    }
    
    th, td {
        padding: 10px 8px;
        font-size: 0.8em;
    }
    
    .search-container {
        margin-bottom: 15px;
    }
    
    .search-input-wrapper {
        width: 100%;
    }
    
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .action-buttons-group {
        width: 100%;
        justify-content: flex-end;
    }
    
    .login-card, .login-box, .register-box {
        padding: 30px 20px;
        border-radius: 20px;
    }
    
    .logo-403 {
        font-size: 48px;
    }
    
    .logo-text {
        font-size: 14px;
        letter-spacing: 8px;
    }
    
    .login-title {
        font-size: 1.5em;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 15px;
    }
    
    .footer-section h4 {
        font-size: 1em;
    }
    
    .footer-section p,
    .footer-section ul li a {
        font-size: 0.85em;
    }
}

/* Tablet Styles */
@media (min-width: 481px) and (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .navbar {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .nav-links {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .status-info {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .config-section, .account-section {
        padding: 25px 20px;
    }
}

/* Small Desktop / Large Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        max-width: 100%;
        padding: 20px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .status-info {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Desktop Optimization */
@media (min-width: 1025px) {
    .container {
        max-width: 1400px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .status-info {
        grid-template-columns: repeat(5, 1fr);
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

/* Large Desktop */
@media (min-width: 1440px) {
    .container {
        max-width: 1600px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 25px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/* Landscape Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .login-container {
        min-height: auto;
        padding: 20px;
    }
    
    .login-card, .login-box, .register-box {
        padding: 25px 30px;
    }
    
    .navbar {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .nav-links {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .main-footer,
    .btn,
    button {
        display: none;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
    
    body {
        background: white;
        color: black;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .stat-card,
    .service-card,
    .login-card {
        border-width: 2px;
        border-color: #ffffff;
    }
    
    .btn, button {
        border: 2px solid #ffffff;
    }
}

/* Dark Mode Support (if system prefers dark) */
@media (prefers-color-scheme: dark) {
    /* Already using dark theme, but can add adjustments if needed */
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn, button, a {
        min-height: 44px;
        min-width: 44px;
    }
    
    .toggle-label {
        min-height: 44px;
    }
    
    .nav-links a {
        padding: 14px 20px;
    }
    
    .tab-btn {
        padding: 14px 20px;
    }
}

/* Smooth Scrolling */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}
