@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --primary-color: #50267e;
    --primary-hover: #f4e7ff;
    --sidebar-width: 280px;
    --sidebar-bg: #ffffff;
    --card-bg: rgba(255, 255, 255, 0.98);
    --footer-bg: #ffffff;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-sm: #f4e7ff;
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1), 0 6px 6px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --text-light: #ffffff;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --text-gray: #eeeeee;
    /* --secondary-color: #fd7e14; */
    --secondary-color: #2575fc;
    --dark-bg: #1a1a2e;
    --accent-color: #ff4d4d;
    --darker-bg: #16213e;
    --success-color: #4CAF50;
    --warning-color: #FFC107;
    --bs-border-radius-lg: 2.5rem;
    --bs-font-sans-serif: 'Nunito', sans-serif;
    --bs-btn-font-family: 'Nunito', sans-serif;
}

body {
    font-family: 'Nunito', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
    /* background: linear-gradient(135deg, var(--dark-bg) 0%, #0f3460 100%); */
    background: radial-gradient(ellipse at bottom center, #50267e 0%, #130126 80%);
    color: var(--text-light);
}

.btn {
    --bs-btn-font-family: 'Nunito', sans-serif;
}

.alert-info {
    background-color: var(--primary-color);
    color: var(--text-light);
    border: var(--primary-color) 1px solid;
}

.text-primary {
    color: var(--primary-color) !important;
}

.download-section {
    padding: 3rem 1rem;
}

.download-card {
    border: none;
    border-radius: 1rem;
    box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.download-btn {
    background-color: var(--primary-hover);
    color: white;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 0.5rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.3s ease;
}

.download-btn:hover {
    background-color: var(--primary-hover);
}

.app-image {
    max-width: 100%;
    height: auto;
    border-radius: 0.75rem;
}

.download-title {
    color: var(--primary-color);
    font-weight: 700;
}

.respivise-css-add {
    margin-bottom: 60px;
}

.btn-light {
    background-color: var(--text-muted);
    color: var(--text-light);
}

.btn-outline-secondary {
    background-color: var(--text-muted);
    color: var(--text-light);
}

.card-body-dashbord {
    background-color: #d9dada;
}

.btn-check:checked+.btn,
.btn.active,
.btn.show,
.btn:first-child:active,
:not(.btn-check)+.btn:active {
    color: var(--text-light) !important;
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.auth-page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/11211927.jpg') no-repeat center center;
    background-size: cover;
    filter: blur(10px);
    z-index: -1;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.2;
}

/* Layout */
.wrapper {
    display: flex;
    flex-direction: row;
    min-height: 100vh;
    position: relative;
}

/* Sidebar */
#sidebar {
    width: var(--sidebar-width);
    background: var(--sidebar-bg);
    color: var(--text-light);
    height: 100vh;
    position: fixed;
    overflow-y: auto;
    z-index: 1050;
    transition: transform 0.3s ease-in-out;
    box-shadow: var(--shadow-xl);
    transform: translateX(-100%);
    overflow-x: hidden;
}

#sidebar.active {
    transform: translateX(0);
}

#sidebar .sidebar-header {
    padding: 15px;
    text-align: center;
    background: var(--sidebar-bg);
}

.Uname {
    font-weight: 600;
    display: block;
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.Umobile {
    font-size: 0.9rem;
    opacity: 0.8;
    display: block;
    color: var(--text-dark);
}



.sideMenu li {
    border-radius: 0.5rem;
    overflow: hidden;
    transition: var(--transition);
}

.sideMenu li a {
    color: var(--text-dark);
    gap: 15px;
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 0.65rem 2.5rem;
    font-size: 0.95rem;
    transition: var(--transition);
}

[class^="bx"], [class*=" bx"], .bx {
    font-family: boxicons !important;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    display: inline-block;
    font-size: 18px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.sideMenu li a:hover {
    color: var(--text-dark);
    background: var(--primary-hover);
    transform: translateX(5px);
}

.sideMenu li.active {
    background: var(--primary-hover);
}

.sideMenu li.active a {
    color: white;
    font-weight: 500;
}


/* CTA Buttons */
.CTAs {
     padding-bottom: 40px !important;
    padding: 1.5rem;
    position: sticky;
    bottom: 0;
    backdrop-filter: blur(5px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.CTAs a {
    display: block;
    padding: 0.75rem;
    background-color: var(--primary-hover);
    color: var(--dark-bg);
    text-align: center;
    border-radius: 0.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.CTAs .article {
    display: flex;
    justify-content: center;  /* Horizontal centering */
    align-items: center;      /* Vertical centering (optional) */
    gap: 6px;                 /* Optional spacing between icon and text */
    text-decoration: none;    /* Optional styling */
}

.CTAs a:hover {
    background-color: var(--primary-color);
    color: var(--dark-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Main Content */
#content {
    width: 100%;
    min-height: 100vh;
    transition: all 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    margin-left: 0;
    padding-top: 70px;
    
}

.main-content {
    flex: 1;
    padding: 1.5rem;
    padding-bottom: 80px;

    /* Space for footer */
}

/* Navbar */
.navbar {
    background: var(--primary-color);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.5rem;
    box-shadow: var(--shadow-md);
    z-index: 1040;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.25rem;
    color: white !important;
    letter-spacing: 0.5px;
}

.menu-btn {
    background: transparent;
    border: none;
    color: white;
    font-size: 1.25rem;
    padding: 0.5rem;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.menu-btn:hover {
    background: var(--primary-hover);
}

.btn-wallet {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    font-weight: 600;
    border-radius: 50px;
    padding: 0.5rem 1.25rem;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    border: none;
}

.btn-wallet:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: var(--primary-hover);
    color: var(--text-dark);
}

.walletamt {
    font-weight: 700;
}


.btn-wallet {
    display: block;
    text-align: center;
}

.walletamt {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px; /* Optional spacing */
}

/* Login Card */
.login-card {
    border: none;
    background: var(--card-bg);
    color: var(--text-dark);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
    max-width: 500px;
    margin: 2rem auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.login-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.login-card .card-body {
    padding: 2.5rem;
}

.login-logo {
    max-height: 80px;
    width: auto;
    margin: 0 auto 1.5rem;
    display: block;
}

/* Form Elements */
.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.form-control {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid #e2e8f0;
    transition: var(--transition);
    font-size: 0.95rem;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: var(--primary-hover);
}

.input-group-text {
    background-color: #f1f5f9;
    border-color: #e2e8f0;
}

.password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
    z-index: 5;
    background: transparent;
    border: none;
}

.password-toggle:hover {
    color: var(--primary-color);
}

/* Buttons */
.btn {
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: var(--transition);
    letter-spacing: 0.5px;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    background-image: linear-gradient(to right, var(--primary-color), var(--primary-hover));
    border: none;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-primary {
    border: 1px solid var(--primary-color) !important;
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color) !important;
    color: white;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 1060;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 50px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.mobile-menu-toggle:hover {
    transform: scale(1.1);
    background: var(--primary-color);
}

/* Sidebar Backdrop */
.sidebar-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1040;
    backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.sidebar-backdrop.active {
    opacity: 1;
    visibility: visible;
}

#sidebar{
    z-index: 99999;
}

/* Dismiss Button */
#dismiss {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: var(--text-dark);
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.7;
    transition: var(--transition);
    display: none;
    background: transparent;
    border: none;
}

#dismiss:hover {
    opacity: 1;
    transform: rotate(90deg);
}

/* Validation States */

.invalid-feedback {
    color: var(--danger-color);
    font-size: 0.8rem;
    margin-top: 0.25rem;
    display: none;
}

/* Loading State */
.btn-loading {
    position: relative;
    pointer-events: none;
}

.btn-loading .btn-text {
    visibility: hidden;
}

.btn-loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1.5rem;
    height: 1.5rem;
    margin: -0.75rem 0 0 -0.75rem;
    border: 0.25rem solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Responsive Adjustments */
@media (min-width: 992px) {
    #sidebar {
        transform: translateX(-100%);
    }

    #content {
        margin-left: 0;
        width: 100%;
    }

    .mobile-menu-toggle {
        display: none;
        /* Hide on desktop */
    }

    #dismiss {
        display: block;
    }

    /* Show sidebar when toggled on desktop */
    #sidebar.desktop-active {
        transform: translateX(0);
    }

    #content.desktop-sidebar-active {
        margin-left: var(--sidebar-width);
        width: calc(100% - var(--sidebar-width));
    }

    /* Show navbar menu button on desktop */
    #sidebarCollapse {
        display: flex !important;
    }
}

@media (max-width: 991.98px) {
    #sidebar {
        transform: translateX(-100%);
    }

    #content {
        margin-left: 0;
        width: 100%;
    }

    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #dismiss {
        display: block;
    }

    /* Hide navbar menu button on mobile */
    #sidebarCollapse {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .login-card .card-body {
        padding: 1.75rem;
    }

    /* .footer-bar a span {
        display: none;
    }
    
    .footer-bar a i {
        font-size: 1.5rem;
        margin-bottom: 0;
    } */
}

@media (max-width: 576px) {
    .login-card {
        border-radius: 0.75rem;
        margin: 1rem auto;
    }

    .login-card .card-body {
        padding: 1.5rem;
    }

    .main-content {
        padding: 1rem;
    }

    /* .footer-bar {
        padding: 0.5rem 0 calc(0.5rem + env(safe-area-inset-bottom));
    } */

    .navbar {
        padding: 0.75rem 1rem;
    }

    .mobile-menu-toggle {
        width: 45px;
        height: 45px;
        line-height: 45px;
        font-size: 1.1rem;
    }
}

/* Utility Classes */
.text-gradient {
    background: linear-gradient(45deg, var(--primary-color), var(--primary-hover));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-hover);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Additional UI Enhancements */
.login-divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.login-divider::before,
.login-divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #e2e8f0;
}

.login-divider::before {
    margin-right: 1rem;
}

.login-divider::after {
    margin-left: 1rem;
}


/* Footer Bar Style */


/* Footer Bar Style */
.footer-bar {
    position: fixed;
    bottom: 3px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    z-index: 999;
    background-color: #e3e5e6;
    /* Light gray background */
    padding: 10px;
    border-radius: 35px;
    /* Rounded pill shape */
}


.footer-bar a {
    background: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--text-dark);
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    position: relative;
}

.footer-bar a i {
    font-size: 20px;
    margin-bottom: 3px;
}

.footer-bar a span {
    font-size: 10px;
    line-height: 1;
}

.footer-bar a:hover,
.footer-bar a.active-nav {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-5px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-bar a {
        width: 50px;
        height: 50px;
    }

    .footer-bar a i {
        font-size: 18px;
        margin-bottom: 0;
    }

    .footer-bar a span {
        display: none;
    }
}


.game-card {
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;

}

.game-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.12);
}


.game-header {
    background: linear-gradient(135deg, #007bff 0%, #224abe 100%);
    padding: 1rem;
    color: #fff;
    text-align: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.game-body {
    padding: 1.5rem;
    text-align: center;
}

.game-time {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.game-result {
    font-size: 15px;
    font-weight: bold;
    color: #e74c3c;
    margin-bottom: 1rem;
}


.notice-bar {
    border-left: 5px solid #f6c23e;
    background-color: #fff9e6;
    animation: pulse 2s infinite;
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 10px;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(246, 194, 62, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(246, 194, 62, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(246, 194, 62, 0);
    }
}

/* @media (max-width: 576px) {
    .game-card {
        margin-bottom: 1.5rem;
    }
} */

.notice-bar {
    background: linear-gradient(90deg, #ff6b6b 0%, #f8a5c2 100%);
    color: #000;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.game-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: none;
    height: 100%;
    position: relative;
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgb(15 0 26);
    z-index: 0;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.3);
}

.game-header {
    background: rgba(111, 66, 193, 0.8);
    color: white;
    padding: 15px;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    position: relative;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.game-body {
    padding: 20px;
    text-align: center;
    position: relative;
    z-index: 1;
    justify-content: space-between;
}

.game-time {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-light);
    font-weight: 500;
}

.game-result {
    font-size: 15px;
    font-weight: 700;
    margin: 15px 0;
    color: #f8f9fa;
    background: rgba(0, 0, 0, 0.3);
    padding: 10px;
    border-radius: 8px;
    border: 2px dashed rgba(255, 255, 255, 0.2);
}

.badge-status {
    font-size: 0.9rem;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-open {
    background: linear-gradient(90deg, #20c997 0%, #5feba1 100%);
    color: #000;
}



.status-closed {
    background: linear-gradient(90deg, #dc3545 0%, #ff6b6b 100%);
    color: white;
}

.game-button {
    width: 100%;
    padding: 12px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin-top: 15px;
    border: none;
    text-transform: capitalize;
    letter-spacing: 1px;
    font-size: 1.2rem;
}

.game-card .game-button {
    font-size: 1rem;
}



/* .game-button {
    font-weight: bold;
    border-radius: 30px;
    padding: 0.6rem 1.4rem;
    font-size: 0.95rem;
} */

.btn-primary {
    background: linear-gradient(90deg, var(--primary-color) 0%, #9c27b0 100%);
}

.btn-primary:hover {
    background: linear-gradient(90deg, #5e35b1 0%, #7b1fa2 100%);
    transform: translateY(-2px);
}

.btn-warning {
    background: linear-gradient(90deg, #ff9800 0%, #ffc107 100%);
    color: #000;
}

.btn-success {
    background: linear-gradient(90deg, #4caf50 0%, #8bc34a 100%);
}

.feature-btn {
    border-radius: 12px;
    padding: 20px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border: none;
}

.feature-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.feature-btn small {
    display: block;
    font-size: 0.8rem;
    opacity: 0.9;
}

/* Animated background for notice */
marquee {
    padding: 12px 0 5px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .game-header {
        font-size: 15px;
        padding: 10px;
    }

    .game-result {
        font-size: 15px;
    }

    .feature-btn {
        padding: 15px;
        font-size: 0.9rem;
    }
}

/* Animation for game cards */
@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }

    100% {
        transform: scale(1);
    }
}

.game-card:hover {
    animation: pulse 1.5s infinite;
}

#pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    padding: 10px 0;
}

#pagination button {
    flex: 0 0 auto;
    margin: 4px;
    padding: 6px 12px;
    font-size: 14px;
    min-width: 40px;
    white-space: nowrap;
}

@media (max-width: 576px) {
    #pagination button {
        font-size: 12px;
        padding: 5px 10px;
        min-width: 35px;
    }
}

/* Optional: Add transition for a smooth effect */
#pagination button {
    transition: all 0.2s ease-in-out;
}

.bid-card {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: 0.3s ease-in-out;
    background-color: #ffffff;
    height: 100%;
}

.bid-card:hover {
    background-color: #f8f9fa;
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.bid-card img {
    max-height: 80px;
    object-fit: contain;
}

.bid-card p {
    margin-top: 12px;
    font-weight: 500;
}

.card-title-section {
    text-align: center;
    margin-bottom: 30px;
}

@media (max-width: 576px) {
    .bid-card img {
        max-height: 60px;
    }
}

.bidamtbox {
    height: 60px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.page-title {
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
}

.rate-card {
    border: none;
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
}

.rate-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.1);
}

.rate-card .card-header {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
}

.rate-card .list-group-item {
    display: flex;
    justify-content: space-between;
    font-weight: 500;
    color: #333;
}

.rate-card .list-group-item span:last-child {
    color: var(--primary-color);
    font-weight: 600;
}

.section-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

a {
    text-decoration: none;
}

.addFundamtbox:hover {
    opacity: 0.8;
}

.contact-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: underline;
}

.alert-info-custom {
    background-color: #fff;
    color: var(--bs-secondary-color) !important;
    border-color: #d9d9d9;
}

.card-custom {
    border-radius: var(--bs-border-radius-lg);
}

.card-top-section {
    background-color: #f4e7ff;
    border-radius: var(--bs-border-radius-lg) var(--bs-border-radius-lg) 0 0;
}

.custom-actions-btns {
    min-width: 0;
    /* Allows buttons to shrink properly */
    padding: 10px 5px;
    margin: 0 4px;
    font-size: 14px;
    white-space: nowrap;
    flex: 1 1 0px;
    /* Equal width distribution */
}

/* Floating Button Container */
.wts-flt-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

/* Floating Button Base Style */
.wts-flt-btn a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    text-decoration: none;
    color: white;
    font-size: 28px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

/* Hover & Active Effects */
.wts-flt-btn a:hover,
.wts-flt-btn a:active {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* WhatsApp Button */
.wts-flt-btn .whatsapp-btn {
    background-color: #25D366;
    border: 2px solid #fff;
}

/* Telegram Button */
.wts-flt-btn .telegram-btn {
    background-color: #0088cc;
    border: 2px solid #fff;
}

/* Mobile Responsive Adjustments */
@media (max-width: 767px) {
    .wts-flt-btn {
        bottom: 100px;
        /* Previously 16px; adjusted to move above nav */
        right: 16px;
    }

    .wts-flt-btn a {
        width: 52px;
        height: 52px;
        font-size: 26px;
    }
}

.img-fluid-game-card {
    max-width: 80px !important;
}

.btn-outline-hover {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--text-light);
    transition: all 0.3s ease;
}

.btn-outline-hover:hover {
    background-color: var(--primary-color);
    color: #fff;
    text-decoration: none;
}


/* all batting game form desgin */


.matka-container {
    max-width: 800px;
    margin: 20px auto;
    background: rgba(26, 26, 46, 0.8);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.matka-header {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    padding: 20px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.matka-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 25%, rgba(255, 255, 255, 0.1) 50%, transparent 75%);
    background-size: 200% 200%;
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.matka-body {
    padding: 25px;
}

.time-display {
    display: flex;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 25px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.game-selector select {
    width: 100%;
    padding: 12px 15px;
    border-radius: 10px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: var(--light-text) !important;
    font-size: 1rem;
    margin-bottom: 25px;
    appearance: none;
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.game-selector select:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--secondary-color);
}

.section-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 600;
    color: var(--light-gray);
    display: flex;
    align-items: center;
}

.section-title i {
    margin-right: 10px;
    color: var(--sidebar-bg);
}

.amount-selector {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 25px;
}

.amount-btn {
    background: rgba(106, 17, 203, 0.2);
    border: 2px solid var(--primary-color);
    color: var(--light-text);
    padding: 12px;
    text-align: center;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.amount-btn::before {
    content: '₹';
    margin-right: 5px;
}

i.bx {
  vertical-align: middle;
}

.amount-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(106, 17, 203, 0.4);
}

.amount-btn.active {
    background: var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(106, 17, 203, 0.6);
}

.digit-selector {
    display: grid;
    justify-content: center;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    margin-bottom: 25px;
}


.form-select,
.form-select option {
    color: black !important;
}

.digit-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    perspective: 1000px;
    gap: 10px;
    /* Space between elements */
}

@media (max-width: 768px) {
    .digit-ball {
        width: 80% !important;
        /* For mobile screens */
    }
}

.digit-ball {
    width: 60%;
    aspect-ratio: 1/1;
    border-radius: 60%;
    background: linear-gradient(145deg, #2a2a4a, #1f1f3a);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2),
        -5px -5px 10px rgba(255, 255, 255, 0.05);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.digit-ball::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.3), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}

.digit-ball:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.digit-ball:hover::before {
    opacity: 1;
}

.digit-ball.selected {
    background: linear-gradient(145deg, var(--primary-color), var(--secondary-color));
    transform: rotateY(180deg) scale(1.1);
    box-shadow: 0 0 25px rgba(106, 17, 203, 0.6);
}

.digit-ball.selected::after {
    content: attr(data-amount);
    position: absolute;
    font-size: 0.8rem;
    bottom: 5px;
    color: white;
}

.digit-input {
    display: none;
}

.total-display {
    background: rgba(37, 117, 252, 0.2);
    padding: 20px;
    text-align: center;
    border-radius: 12px;
    margin-bottom: 25px;
    font-size: 1.2rem;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(37, 117, 252, 0.2);
    border: 1px solid rgba(37, 117, 252, 0.3);
}

.total-display span {
    color: var(--accent-color);
    font-size: 1.4rem;
}

.action-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.btn-reset,
.btn-submit {
    padding: 15px;
    border-radius: 10px;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-reset {
    background: rgba(255, 255, 255, 0.1);
    color: var(--light-text);
}

.btn-reset:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-submit {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(106, 17, 203, 0.4);
}

.closed-message {
    background: rgba(255, 77, 77, 0.2);
    padding: 30px;
    text-align: center;
    border-radius: 12px;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 77, 77, 0.3);
}

.closed-message h5 {
    color: var(--accent-color);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.closed-message p {
    opacity: 0.8;
}

/* Animation classes */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(106, 17, 203, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(106, 17, 203, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(106, 17, 203, 0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .amount-selector {
        grid-template-columns: repeat(3, 1fr);
    }

    .digit-selector {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 576px) {
    .amount-selector {
        grid-template-columns: repeat(2, 1fr);
    }

    .digit-selector {
        grid-template-columns: repeat(3, 1fr);
    }

    .action-buttons {
        grid-template-columns: 1fr;
    }
}

/* Floating animation for balls */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.digit-ball {
    animation: float 4s ease-in-out infinite;
}

.digit-ball:nth-child(2n) {
    animation-delay: 0.5s;
}

.digit-ball:nth-child(3n) {
    animation-delay: 1s;
}

.digit-ball:nth-child(4n) {
    animation-delay: 1.5s;
}

.custom-select {
    color: black;
    /* Selected value text color */
    background-color: white;
    /* Optional: Background of the select */
}

/* Style dropdown options - works only in Firefox */
.custom-select option {
    color: rgb(255, 255, 255);
    background-color: white;
}


.transaction-tabs .nav-link {
    color: #6c757d;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0;
    border: none;
    position: relative;
    transition: all 0.3s;
}

.transaction-tabs .nav-link.active {
    color: var(--primary-color);
}

.transaction-tabs .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
}

/* Mobile responsive tabs */
.transaction-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    /* For smooth scrolling on iOS */
    -ms-overflow-style: -ms-autohiding-scrollbar;
    /* For Edge */
    white-space: nowrap;
    padding-bottom: 5px;
    /* Space for scrollbar */
}

.transaction-tabs::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar on WebKit browsers */
}

.transaction-tabs .nav-item {
    flex: 0 0 auto;
}

.transaction-tabs .nav-link {
    white-space: nowrap;
}

/* Optional: Add some visual feedback for scrolling */
.transaction-tabs {
    scrollbar-width: none;
    /* For Firefox */
}

@media (max-width: 767.98px) {
    .transaction-tabs {
        margin-left: -15px;
        margin-right: -15px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .transaction-tabs .nav-link {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
}

@media (max-width: 575.98px) {
    .transaction-card {
        padding: 12px;
    }

    .transaction-amount {
        font-size: 1rem;
    }

    .transaction-status,
    .transaction-type {
        font-size: 0.75rem;
    }
}

.transaction-card {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.transaction-card:hover {
    transform: translateY(-3px);
}

.transaction-type.deposit {
    color: #28a745;
}

.transaction-type.withdraw {
    color: #dc3545;
}

.transaction-status {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
}

.status-pending {
    background-color: rgba(255, 193, 7, 0.1);
    color: #ffc107;
    font-size: 0.875rem;
}

.status-approved {
    background-color: rgba(40, 167, 69, 0.1);
    color: #28a745;
    font-size: 0.875rem;
}

.status-canceled {
    background-color: rgba(108, 117, 125, 0.1);
    color: #6c757d;
    font-size: 0.875rem;
}

.loading-indicator {
    text-align: center;
    padding: 2rem 0;
    color: #6c757d;
}

.loader-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    animation: spin 0.8s linear infinite;
    margin: auto;
}

.no-more-records {
    text-align: center;
    padding: 1rem 0;
    color: #6c757d;
    display: none;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}


.transaction-tabs .nav-link {
    color: #6c757d;
    font-weight: 500;
}

.transaction-tabs .nav-link.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    background-color: transparent;
}

.transaction-card {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    transition: all 0.3s ease;
}

.transaction-card:hover {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.transaction-type {
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.transaction-type.deposit {
    color: #28a745;
    background-color: rgba(40, 167, 69, 0.1);
}

.transaction-type.withdraw {
    color: #dc3545;
    background-color: rgba(220, 53, 69, 0.1);
}

.transaction-status {
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: 500;
}

.status-success {
    color: #28a745;
    background-color: rgba(40, 167, 69, 0.1);
}



.status-pending {
    color: #ffc107;
    background-color: rgba(255, 193, 7, 0.1);
}

.status-approved {
    color: #17a2b8;
    background-color: rgba(23, 162, 184, 0.1);
}

.status-canceled {
    color: #dc3545;
    background-color: rgba(211, 92, 92, 0.1);
}

/* Pagination Styles */
.pagination {
    margin-top: 20px;
}

.page-item .page-link {
    color: var(--primary-color);
    border: 1px solid #dee2e6;
    padding: 8px 15px;
    margin: 0 3px;
    border-radius: 6px;
    transition: all 0.3s;
}

.page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.page-item.disabled .page-link {
    color: #6c757d;
    pointer-events: none;
    cursor: not-allowed;
}

.page-item:not(.active):not(.disabled) .page-link:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-color);
}

.page-item:first-child .page-link,
.page-item:last-child .page-link {
    border-radius: 6px;
}

.notification-card {
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-color);
    margin-bottom: 1.5rem;
}

.notification-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.notification-date {
    font-size: 0.85rem;
    color: #6c757d;
}

.notification-title {
    color: var(--primary-color);
    font-weight: 600;
}

.winners-section {
    background: #f8f9fa;
    border-radius: 0 0 var(--bs-border-radius-lg) var(--bs-border-radius-lg);
    padding: 2rem;
}

.winner-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.winner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.winner-card.gold {
    border-top: 4px solid var(--primary-color);
}


.winner-rank {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--primary-hover) !important;
    color: var(--primary-color) !important;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #555;
}

.winner-avatar {
    width: 60px;
    height: 60px;
    background:  var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.winner-name {
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1.5rem;
    color: #333;
}

.winner-info {
    display: flex;
    flex-direction: column;
}

.info-item {
    display: flex;
    justify-content: space-between;
}

.label {
    font-weight: 500;
    color: #666;
}

.value {
    font-weight: 600;
    color: #333;
}

.no-winners {
    background: white;
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.no-winners-icon {
    font-size: 3rem;
    color: #ddd;
    margin-bottom: 1rem;
}

.no-winners-icon i {
    font-size: 3rem;
}

.no-winners-title {
    color: #666;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.no-winners-text {
    color: #888;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .winner-card {
        padding: 1rem;
    }

    .winner-name {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
}

.winner-card.gold {
    border-top: 4px solid #FFD700;
}

.winner-card.silver {
    border-top: 4px solid #C0C0C0;
}

.winner-card.bronze {
    border-top: 4px solid #CD7F32;
}

.time-display {
    display: flex;
    gap: 1rem;                 /* Optional spacing between date/time */
    text-align: center;
}

