/**
 * ADDO VTU - Main Stylesheet
 * ============================================
 */

:root {
    --primary-color: #222047;
    --secondary-color: #667eea;
    --accent-color: #764ba2;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --info-color: #3b82f6;
    --light-color: #f8f9fa;
    --dark-color: #1a1836;
}

/* Base Styles */
body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--light-color);
    color: #333;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

/* Custom Colors */
.bg-primary {
    background: var(--primary-color) !important;
}

.bg-secondary-gradient {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    border: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.btn-outline-primary {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.btn-outline-primary:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* Cards */
.card {
    border-radius: 16px;
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Form Controls */
.form-control, .form-select {
    border-radius: 8px;
    padding: 0.75rem 1rem;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Navbar */
.navbar {
    padding: 0.75rem 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.25rem;
}

.nav-link {
    font-weight: 500;
    transition: all 0.2s ease;
}

/* Network Cards */
.network-card {
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.network-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.network-card.active,
.network-card.selected {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

/* Package Cards */
.package-card {
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.package-card:hover,
.package-card.selected {
    border-color: var(--secondary-color);
    background: rgba(102, 126, 234, 0.05);
}

.package-card.selected {
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

/* Feature Icons */
.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Stats Cards */
.stat-card {
    border-radius: 16px;
    border: none;
    transition: transform 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Wallet Card */
.wallet-card {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    border-radius: 20px;
    color: white;
    overflow: hidden;
    position: relative;
}

.wallet-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

/* Quick Actions */
.quick-action {
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    transition: all 0.2s ease;
    text-decoration: none;
    color: inherit;
}

.quick-action:hover {
    border-color: var(--secondary-color);
    background: rgba(102, 126, 234, 0.05);
    color: var(--secondary-color);
}

/* Tables */
.table {
    margin-bottom: 0;
}

.table thead th {
    border-bottom: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    color: #6c757d;
}

/* Badges */
.badge {
    font-weight: 500;
    padding: 0.4em 0.8em;
    border-radius: 6px;
}

/* Filter Buttons */
.filter-btn {
    border-radius: 20px;
}

.filter-btn.active {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* Toast */
.toast {
    border-radius: 12px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease;
}

/* Loading Spinner */
.spinner-grow-sm {
    width: 1rem;
    height: 1rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.75rem;
    }
    
    .stat-card .stat-icon {
        width: 40px;
        height: 40px;
    }
    
    .wallet-card .display-5 {
        font-size: 1.5rem;
    }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Print Styles */
@media print {
    .navbar,
    .btn,
    .no-print {
        display: none !important;
    }
}

