:root {
    --primary: #000000;
    --secondary: #276EF1;
    --success: #06D6A0;
    --warning: #FFD166;
    --danger: #EF476F;
    --light: #F8F9FA;
    --dark: #212529;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.auth-container {
    max-width: 450px;
    margin: 50px auto;
}

.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.form-control {
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    padding: 12px 15px;
}

.form-control:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(39, 110, 241, 0.1);
}

.btn {
    border-radius: 10px;
    padding: 12px 25px;
    font-weight: 600;
}

.btn-primary {
    background: var(--secondary);
    border: none;
}

.btn-primary:hover {
    background: #1a5ad4;
}

.step-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
}

.step-indicator::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: #e0e0e0;
    z-index: 0;
}

.step {
    position: relative;
    z-index: 1;
    text-align: center;
    width: 80px;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
    margin: 0 auto 5px;
    transition: all 0.3s;
}

.step.active .step-circle {
    background: var(--secondary);
}

.step.completed .step-circle {
    background: var(--success);
}

.step-label {
    font-size: 12px;
    color: #666;
}

.upload-area {
    border: 2px dashed #ccc;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background: #fafafa;
}

.upload-area:hover {
    border-color: var(--secondary);
    background: #f0f7ff;
}

.upload-area.dragover {
    border-color: var(--secondary);
    background: #e6f0ff;
}

.preview-img {
    max-width: 100%;
    max-height: 200px;
    border-radius: 10px;
    margin-top: 10px;
}

.video-preview {
    width: 100%;
    border-radius: 10px;
    margin-top: 10px;
}

.recording-overlay {
    position: relative;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

.recording-guide {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 80%;
    border: 3px solid rgba(255,255,255,0.7);
    border-radius: 50%;
    pointer-events: none;
}

.recording-timer {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(239, 71, 111, 0.9);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
}

.status-badge {
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status-Pending { background: #fff3cd; color: #856404; }
.status-Reviewing { background: #cce5ff; color: #004085; }
.status-WaitingPayment, .status-Waiting { background: #ffeeba; color: #856404; }
.status-Paid { background: #d4edda; color: #155724; }
.status-Accepted { background: #d4edda; color: #155724; }
.status-Rejected { background: #f8d7da; color: #721c24; }
.status-Archived { background: #e2e3e5; color: #383d41; }

.admin-sidebar {
    min-height: 100vh;
    background: var(--dark);
    color: white;
}

.admin-sidebar a {
    color: rgba(255,255,255,0.7);
    padding: 12px 20px;
    display: block;
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: all 0.3s;
}

.admin-sidebar a:hover, .admin-sidebar a.active {
    background: rgba(255,255,255,0.1);
    color: white;
    border-left-color: var(--secondary);
}

.stat-card {
    border-radius: 15px;
    padding: 20px;
    background: white;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.stat-card h3 {
    font-size: 32px;
    font-weight: bold;
    margin: 0;
}

.stat-card p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.table-responsive {
    border-radius: 10px;
    overflow: hidden;
}

.company-card {
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.company-card:hover {
    border-color: var(--secondary);
    transform: translateY(-5px);
}

.company-card.selected {
    border-color: var(--secondary);
    background: #f0f7ff;
}

.company-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 10px;
}

.payment-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    padding: 25px;
    color: white;
}

.payment-number {
    font-size: 24px;
    font-weight: bold;
    background: rgba(255,255,255,0.2);
    padding: 15px;
    border-radius: 10px;
    margin: 15px 0;
}

.modal-content {
    border-radius: 15px;
}

.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e0e0e0;
}

.timeline-item {
    position: relative;
    padding-bottom: 20px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -24px;
    top: 5px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--secondary);
}

.search-box {
    position: relative;
}

.search-box input {
    padding-left: 40px;
}

.search-box::before {
    content: '\f002';
    font-family: 'Font Awesome 5 Free';
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.file-preview-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.file-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background: #f8f9fa;
}

.file-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.file-item .badge {
    position: absolute;
    top: 10px;
    right: 10px;
}

.check-status-container {
    max-width: 600px;
    margin: 50px auto;
}

.result-card {
    border-radius: 15px;
    overflow: hidden;
}

@media (max-width: 768px) {
    .step-indicator {
        flex-wrap: wrap;
        justify-content: center;
    }
    .step {
        width: 60px;
        margin: 10px;
    }
    .step-label {
        font-size: 10px;
    }
}

.fade-in {
    animation: fadeIn 0.5s;
}

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