/* VIP System Web Panel - Dark Theme */

:root {
    --bg-dark: #1a1d29;
    --bg-card: #252a3b;
    --bg-input: #2f3549;
    --primary: #6c5ce7;
    --primary-hover: #5b4cdb;
    --success: #00b894;
    --danger: #ff7675;
    --warning: #fdcb6e;
    --text-main: #f5f6fa;
    --text-muted: #b2bec3;
    --border-color: #3d455c;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #0f111a 100%);
    color: var(--text-main);
    min-height: 100vh;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.install-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.main-wrapper {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 260px;
    background: var(--bg-card);
    padding: 30px 20px;
    border-right: 1px solid var(--border-color);
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 1000;
}

.sidebar-brand {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 40px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sidebar-menu {
    list-style: none;
}

.sidebar-menu li {
    margin-bottom: 10px;
}

.sidebar-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
    background: var(--primary);
    color: white;
    transform: translateX(5px);
}

.main-content {
    flex: 1;
    margin-left: 260px;
    padding: 40px;
}

.card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.card-header {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--text-main);
    border-bottom: 2px solid var(--primary);
    padding-bottom: 15px;
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-main);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-main);
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.2);
}

.form-control::placeholder {
    color: var(--text-muted);
}

.btn {
    padding: 12px 28px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 92, 231, 0.4);
}

.btn-success {
    background: var(--success);
    color: white;
}

.btn-success:hover {
    background: #00a383;
    transform: translateY(-2px);
}

.btn-danger {
    background: var(--danger);
    color: white;
}

.btn-danger:hover {
    background: #e05554;
}

.btn-block {
    width: 100%;
}

.requirement-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: var(--bg-input);
    border-radius: 8px;
    margin-bottom: 12px;
    border: 1px solid var(--border-color);
}

.requirement-icon {
    font-size: 20px;
    margin-right: 15px;
    min-width: 30px;
    text-align: center;
}

.requirement-text {
    flex: 1;
    color: var(--text-main);
    font-weight: 500;
}

.requirement-status {
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
}

.status-pass {
    background: rgba(0, 184, 148, 0.2);
    color: var(--success);
}

.status-fail {
    background: rgba(255, 118, 117, 0.2);
    color: var(--danger);
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 12px;
    background: var(--bg-input);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.checkbox-wrapper:hover {
    background: var(--bg-card);
}

.checkbox-wrapper input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 22px;
    height: 22px;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 6px;
    margin-right: 12px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-wrapper input:checked + .checkmark {
    background: var(--success);
    border-color: var(--success);
}

.checkbox-wrapper input:checked + .checkmark:after {
    content: '✓';
    position: absolute;
    color: white;
    font-size: 16px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.checkbox-label {
    color: var(--text-main);
    font-weight: 500;
    flex: 1;
}

.table-responsive {
    overflow-x: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.table th,
.table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.table th {
    background: var(--bg-input);
    color: var(--text-main);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.table td {
    color: var(--text-muted);
}

.table tr:hover {
    background: var(--bg-input);
}

.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid;
}

.alert-success {
    background: rgba(0, 184, 148, 0.1);
    border-color: var(--success);
    color: var(--success);
}

.alert-danger {
    background: rgba(255, 118, 117, 0.1);
    border-color: var(--danger);
    color: var(--danger);
}

.alert-warning {
    background: rgba(253, 203, 110, 0.1);
    border-color: var(--warning);
    color: var(--warning);
}

.steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--border-color);
    z-index: 0;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    flex: 1;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.step.active .step-number {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.step.completed .step-number {
    background: var(--success);
    border-color: var(--success);
    color: white;
}

.step-label {
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
}

.step.active .step-label {
    color: var(--text-main);
    font-weight: 600;
}

.welcome-screen {
    text-align: center;
    padding: 40px;
}

.welcome-icon {
    font-size: 64px;
    color: var(--primary);
    margin-bottom: 20px;
}

.welcome-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-main);
}

.welcome-text {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.action-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    justify-content: flex-end;
}

@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
    
    .main-content {
        margin-left: 0;
        padding: 20px;
    }
    
    .steps {
        flex-direction: column;
        gap: 20px;
    }
    
    .steps::before {
        display: none;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
}
