/* Base Styles */
:root {
  --primary: #6f42c1;
  --primary-dark: #0b5ed7;
  --secondary: #6c757d;
  --success: #198754;
  --danger: #dc3545;
  --warning: #ffc107;
  --info: #0dcaf0;
  --light: #f8f9fa;
  --grey: #5a5c69;
  --dark: #212529;
  --bucoin: #6f42c1;
}

body {
    font-family: 'Nunito', sans-serif;
    background-color:#ffffff;
}
a {
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  text-decoration: none;
}

.rounded-lg {
  border-radius: 0.75rem;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
}

.hero-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 5rem 0;
  color: white;
  margin-bottom: 3rem;
}
.hero-section .btn-light {
  color: var(--primary);
}

.hero-section .btn-outline-light:hover {
  color: var(--primary);
}

.card {
    border: none;
    border-radius: 0.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.15);
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: #2e59d9;
    border-color: #2653d4;
}

.bg-primary{background-color: var(--bucoin) !important;}
.bg-primary-bucoin{background-color: var(--bucoin) !important;}
.bg-bucoin {
  background-color: var(--bucoin);
}

/* Layout */
.container {
  max-width: 1150px;
}

.text-primary {
    color: var(--primary) !important;
}

.sidebar {
    background-color: #fff;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
}

.sidebar .nav-link {
    color: var(--dark);
    padding: 0.75rem 1rem;
    border-radius: 0.35rem;
}

.sidebar .nav-link.active {
    color: var(--primary);
    background-color: rgba(78, 115, 223, 0.1);
}

.sidebar .nav-link:hover:not(.active) {
    color: var(--primary);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 0;text-align: center;
    }
    
    .mobile-p-0{padding: 0 !important;}
    .mobile-ps-0{padding-left: 0 !important;}
    .mobile-pe-0{padding-right: 0 !important;}
    .mobile-pt-0{padding-top: 0 !important;}
    .mobile-pb-0{padding-bottom: 0 !important;}
    .mobile-silder{padding:5px 5px !important;}
    .mobile-silder .display-3{font-size: calc(1.42rem + 3.8vw);}
    .mobile-silder .slide-info{display: none;}
    .mobile-btns{display: block !important;margin:5px 0 0 0 !important;}
    .mobile-btns .btn{margin:10px auto !important;display: block !important;width:60%;}

    .navbar-collapse {
        background-color: white;
        padding: 1rem;
        border-radius: 0.5rem;
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    }
    
    .sidebar {
        position: fixed;
        top: 56px;
        left: -100%;
        width: 250px;
        height: calc(100vh - 56px);
        transition: all 0.3s;
        z-index: 1000;
    }
    
    .sidebar.show {
        left: 0;
    }
    
    .sidebar-overlay {
        position: fixed;
        top: 56px;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999;
        display: none;
    }
    
    .sidebar-overlay.show {
        display: block;
    }
}

/* Voucher card styles */
.voucher-card {
    /*border-left: 5px solid var(--primary);*/
}

.voucher-card.used {
    border-left-color: var(--secondary);
    opacity: 0.8;
}

.voucher-card.expired {
    border-left-color: var(--dark);
    opacity: 0.6;
}

/* Payment method selection */
.payment-method {
    cursor: pointer;
    border: 2px solid #dee2e6;
    border-radius: 0.5rem;
    transition: all 0.3s;
}

.payment-method:hover {
    border-color: var(--primary);
}

.payment-method.active {
    border-color: var(--primary);
    background-color: rgba(78, 115, 223, 0.1);
}

.spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

button .spinner-border {
    margin-right: 5px;
}

/**************************************/
/* Responsive height utilities */
.h-100 { height: 100px; }
.h-200 { height: 200px; }
.h-230 { height: 230px; }
.h-250 { height: 250px; }

@media (min-width: 576px) {
  .h-sm-100 { height: 100px; }
  .h-sm-200 { height: 200px; }
}

@media (min-width: 768px) {
  .h-md-250 { height: 250px !important; }
  .h-md-300 { height: 300px !important; }
  .h-md-500 { height: 500px !important; }
  
  .fs-md-3 { font-size: 2rem !important; }
  .fs-md-2 { font-size: 2.5rem !important; }
}

@media (min-width: 992px) {
  .h-lg-300 { height: 300px !important; }
  .h-lg-500 { height: 500px !important; }
}