/* CreditPro - Custom Styles */

/* Dashboard Layout */
.dashboard-wrapper {
    display: flex;
    min-height: 100vh;
}

.dashboard-sidebar {
    width: 260px;
    min-height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    z-index: 1000;
}

.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sidebar-header .admin-badge {
    display: block;
    margin-top: 10px;
    padding: 5px 10px;
    background: #9edd05;
    color: #0c3a30;
    border-radius: 20px;
    font-size: 12px;
    text-align: center;
    font-weight: 600;
}

.sidebar-nav {
    flex: 1;
    padding: 20px 0;
}

.sidebar-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-nav li {
    margin-bottom: 5px;
}

.sidebar-nav li.nav-divider {
    height: 1px;
    background: rgba(255,255,255,0.1);
    margin: 15px 20px;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.sidebar-nav a:hover,
.sidebar-nav li.active a {
    background: rgba(158, 221, 5, 0.15);
    color: #9edd05;
}

.sidebar-nav a i {
    font-size: 20px;
    margin-right: 12px;
    width: 24px;
}

.sidebar-footer {
    padding: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.logout-btn {
    display: flex;
    align-items: center;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    color: #ff6b6b;
}

.logout-btn i {
    margin-right: 10px;
}

.dashboard-main {
    flex: 1;
    margin-left: 260px;
    background: #f5f7fa;
}

.dashboard-header {
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.dashboard-header .page-title {
    margin: 0;
    font-size: 1.5rem;
    color: #0c3a30;
}

.dashboard-header .user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dashboard-header .user-role {
    font-size: 12px;
    background: #9edd05;
    color: #0c3a30;
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 600;
}

.dashboard-content {
    padding: 30px;
}

/* Stats Cards */
.stat-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.icon-box {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Timeline */
.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;
    margin-bottom: 25px;
}

.timeline-dot {
    position: absolute;
    left: -26px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.timeline-content {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
}

/* Simulation Range */
.custom-range {
    height: 8px;
}

.custom-range::-webkit-slider-thumb {
    width: 24px;
    height: 24px;
    background: #9edd05;
    border: 3px solid #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.custom-range::-moz-range-thumb {
    width: 24px;
    height: 24px;
    background: #9edd05;
    border: 3px solid #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* Credit Type Selection */
.btn-check:checked + .btn-outline-primary {
    background: #9edd05;
    border-color: #9edd05;
    color: #0c3a30;
}

.btn-outline-primary {
    border-color: #dee2e6;
    color: #0c3a30;
}

.btn-outline-primary:hover {
    background: #f8f9fa;
    border-color: #9edd05;
    color: #0c3a30;
}

/* Tables */
.table th {
    font-weight: 600;
    border-bottom: 2px solid #dee2e6;
}

.table-hover tbody tr:hover {
    background-color: rgba(158, 221, 5, 0.05);
}

/* Alerts */
.alert {
    border: none;
    border-radius: 10px;
}

/* Service Cards */
.service-card {
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.service-card h3 {
    margin: 20px 0 15px;
    color: #0c3a30;
}

.service-card .credit-details {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.service-card .credit-details li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-size: 14px;
}

/* Process Cards */
.process-card {
    position: relative;
    padding: 30px 20px;
}

.step-number {
    font-size: 64px;
    font-weight: 700;
    color: rgba(158, 221, 5, 0.2);
    position: absolute;
    top: 10px;
    right: 20px;
}

/* Auth Cards */
.auth-card {
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

/* Empty State */
.empty-state {
    max-width: 400px;
    margin: 0 auto;
}

/* Status Badges */
.badge {
    font-weight: 500;
    padding: 6px 12px;
}

/* Responsive */
@media (max-width: 991px) {
    .dashboard-sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .dashboard-sidebar.active {
        transform: translateX(0);
    }
    
    .dashboard-main {
        margin-left: 0;
    }
    
    .sidebar-toggle {
        display: block;
    }
}

@media (max-width: 767px) {
    .dashboard-content {
        padding: 15px;
    }
    
    .stat-card {
        margin-bottom: 15px;
    }
}

/* Print Styles */
@media print {
    .dashboard-sidebar,
    .dashboard-header,
    .go-top,
    .default-btn,
    .btn {
        display: none !important;
    }
    
    .dashboard-main {
        margin-left: 0;
    }
    
    .dashboard-content {
        padding: 0;
    }
}
