/* Dashboard Styles */
.dashboard-wrapper {
    display: grid;
    grid-template-columns: 250px 1fr;
    min-height: 100vh;
    background: #f8f9fa;
}

.dashboard-sidebar {
    background: linear-gradient(180deg, var(--dark) 0%, var(--dark-light) 100%);
    color: var(--white);
    padding: 20px 0;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

.sidebar-header {
    padding: 0 20px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.sidebar-header h3 {
    color: var(--white);
    margin: 0;
    font-size: 1.2rem;
}

.sidebar-menu {
    padding: 0 10px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    border-radius: 8px;
    margin-bottom: 5px;
    transition: var(--transition);
}

.sidebar-link:hover,
.sidebar-link.active {
    background: rgba(255, 107, 53, 0.2);
    color: var(--white);
}

.sidebar-link i {
    width: 20px;
    text-align: center;
}

.sidebar-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 15px 20px;
}

.dashboard-content {
    padding: 30px;
    overflow-y: auto;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--light);
}

.dashboard-header h1 {
    font-size: 1.8rem;
    margin: 0;
}

.verification-status .status-badge {
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.status-badge.pending {
    background: #fef3c7;
    color: #92400e;
}

.status-badge.offline_check {
    background: #dbeafe;
    color: #1e40af;
}

.status-badge.approved {
    background: #d1fae5;
    color: #065f46;
}

.status-badge.rejected {
    background: #fee2e2;
    color: #991b1b;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: var(--white);
    padding: 25px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.stat-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.stat-card h3 {
    font-size: 2rem;
    margin: 10px 0;
    color: var(--dark);
}

.stat-card p {
    color: var(--gray);
    margin: 0;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.action-link {
    background: var(--white);
    padding: 25px;
    border-radius: var(--radius-lg);
    text-align: center;
    display: block;
    text-decoration: none;
    color: var(--dark);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.action-link:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    color: var(--primary);
}

.action-link i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
    display: block;
}

.action-link span {
    font-weight: 600;
    font-size: 1rem;
}

.recent-activity {
    background: var(--white);
    padding: 25px;
    border-radius: var(--radius-lg);
    margin-top: 30px;
    box-shadow: var(--shadow-sm);
}

.recent-activity h2 {
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.activity-table {
    width: 100%;
    border-collapse: collapse;
}

.activity-table th,
.activity-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--light);
}

.activity-table th {
    background: var(--light);
    font-weight: 600;
    color: var(--dark);
}

.activity-table tr:hover {
    background: rgba(255, 107, 53, 0.05);
}

/* Form Styles */
.form-section {
    background: var(--white);
    padding: 25px;
    border-radius: var(--radius-lg);
    margin-bottom: 25px;
    box-shadow: var(--shadow-sm);
}

.form-section h3 {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--light);
    color: var(--dark);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--light);
    border-radius: var(--radius);
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.btn-save {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-save:hover {
    background: var(--primary-dark);
}

/* Document Upload */
.document-upload {
    border: 2px dashed var(--primary);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    background: rgba(255, 107, 53, 0.05);
    margin-bottom: 20px;
    cursor: pointer;
}

.document-upload:hover {
    background: rgba(255, 107, 53, 0.1);
}

.document-list {
    display: grid;
    gap: 15px;
    margin-top: 20px;
}

.document-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    background: var(--light);
    border-radius: var(--radius);
}

.document-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.document-info i {
    font-size: 1.5rem;
    color: var(--primary);
}

/* Alerts */
.alert {
    padding: 15px 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-weight: 500;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-danger {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert-warning {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

/* Responsive Dashboard */
@media (max-width: 1024px) {
    .dashboard-wrapper {
        grid-template-columns: 1fr;
    }
    
    .dashboard-sidebar {
        height: auto;
        position: static;
        padding: 15px;
    }
    
    .sidebar-menu {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 10px;
    }
    
    .sidebar-link {
        padding: 10px;
        text-align: center;
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .actions-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .dashboard-content {
        padding: 15px;
    }
}