/********** Template CSS **********/
:root {
    --primary: #EB1616;
    --secondary: #191C24;
    --light: #6C7293;
    --dark: #000000;
} 

html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    background-color: #242428;
    color: #fff;
    font-family: Ubuntu, sans-serif;
    transition: background-color 0.3s, color 0.3s;
    overflow-x: hidden;
}

.text-theme {
    color: #ab9027;
}

.bg-theme {
    background-color: #33343e;
}
 
.full {
    flex-grow: 1;  
}

.footer {
    margin-top: auto;  
    border-radius: 20px 20px 0 0;
}



.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
}

.navbar-nav {
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

.navbar-nav .nav-link {
    color: #ddd;
    margin-right: 10px;
    font-size: 1.3em;
    border-bottom: 1px solid transparent;
    position: relative;
    padding-bottom: 5px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #EB1616;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

.navbar-nav .nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}
 
.navbar-brand:hover {
    color: #fff;  
}

.hero {
    text-align: left;
    padding: 10px 20px;
    background-size: cover;
    background-position: center;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #ab9027;
}

.hero p {
    font-size: 1.2rem;
    margin-top: 15px;
    color: #ddd;
}

.hero button {
    background-color: #EB1616;
    color: #fff;
    border: none;
    padding: 10px 30px;
    border-radius: 30px;
    font-size: 1.3rem;
    cursor: pointer;
}

.hero button:hover {
    background-color: #6b40c9;
}

.hero img {
    max-width: 450px;
    height: auto;
    margin-top: -50px;
    margin-bottom: -30px;
}

.home-btn {
    padding: 8px 20px;
    font-weight: bold;
    font-size: 1.5em;
    text-transform: uppercase;
    background-color: #ab9027;  /* ÃÂ¦ÃÂ²ÃÂµÃ‘â€š ÃÂºÃÂ½ÃÂ¾ÃÂ¿ÃÂºÃÂ¸ */
    color: white;  
    border: none;
    border-radius: 10px;  
    transition: background-color 0.3s ease, color 0.3s ease;
}

.home-btn:hover {
    background-color: #ab9027;  /* ÃÂ¢ÃÂµÃÂ¼ÃÂ½Ã‘â€¹ÃÂ¹ ÃÂ¾Ã‘â€šÃ‘â€šÃÂµÃÂ½ÃÂ¾ÃÂº ÃÂ´ÃÂ»Ã‘Â hover */
    color: #fff;
}

.home-btn:focus {
    outline: none;  
}

.stat-box {
    margin-top: 10px;
    background-color: #ab9027;
    padding: 20px;
    border-radius: 20px;
    text-align: center;
    color: #fff;
    transition: transform 0.3s, box-shadow 0.3s;
}

.stat-box:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
}

.stat-box i {
    background: #ffffff;
    padding: 15px 30px;
    border-radius: 50%;
    font-size: 1.4rem;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    text-align: center;
    margin: 0 auto;
}

.stat-box h3 {
    font-size: 1.8rem;
    font-weight: bold;
    color: #ab9027;
    margin-bottom: 0;
}

.stat-box p {
    margin-top: 5px;
    font-size: 1rem;
    color: #bbb;
}

.features-section-custom {
    background-color: #33343e;
    padding: 20px;
    border-radius: 20px;
    margin-top: 10px;
    margin-bottom: 20px;
}

.feature-divider {
    border: none;
    border-top: 2px solid #444;
    margin: 10px 0;
    opacity: 0.2;
    border-color: #444;
}

.features-list .feature-item {
    font-size: 16px;
}

.features-list .feature-item img.feature-icon {
    width: 80px;
    height: 80px;
}

.features-list .feature-item .ms-3 {
    font-size: 14px;
    color: #ddd;
}

.features-list h1 {
    font-size: 32px;
    font-weight: 700;
}

.img-about {
    max-width: 100%;
    height: auto;
}

.psliss {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.psliss div {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-size: 90%;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.2s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.psliss div:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);  
}
 
/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}
 
/*** Button ***/
.btn {
    transition: .5s;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50px;
}
 

/*** Date Picker ***/
.bootstrap-datetimepicker-widget.bottom {
    top: auto !important;
}

.bootstrap-datetimepicker-widget .table * {
    border-bottom-width: 0px;
}

.bootstrap-datetimepicker-widget .table th {
    font-weight: 500;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
    padding: 10px;
    border-radius: 2px;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
    background: var(--primary);
}

.bootstrap-datetimepicker-widget table td.today::before {
    border-bottom-color: var(--primary);
} 


            .popup-ad {
                position: fixed;
                bottom: 20px;
                right: 20px;
                width: 340px;
                background: linear-gradient(to bottom right, #191C24, #191C24);
                border-radius: 8px;
                padding: 20px;
                z-index: 1000;
                display: none;
                font-family: Ubuntu, sans-serif;
                animation: slideIn 0.3s ease-out;
                border: 2px solid #7d0000;
            }
            
            @keyframes slideIn {
                from {
                    transform: translateY(100px);
                    opacity: 0;
                }
                to {
                    transform: translateY(0);
                    opacity: 1;
                }
            }
            
            .popup-ad-close {
                position: absolute;
                top: 10px;
                right: 10px;
                font-size: 10px;
                color: #495057;
            }
     
            .popup-ad-content {
                margin: 5px 0 20px 0;
                color: #495057;
                line-height: 1.6;
                font-size: 15px;
            }
            
            .popup-ad-title {
                font-size: 18px;
                font-weight: 600;
                color: #6C7293;
                margin-bottom: 12px;
                padding-right: 20px;
            }
            
            .popup-ad-buttons {
                display: flex;
                justify-content: space-between;
                gap: 12px;
            }
            
            .popup-ad-btn {
                padding: 10px 20px;
                border-radius: 8px;
                border: none;
                cursor: pointer;
                font-size: 14px;
                font-weight: 500;
                transition: all 0.2s ease;
                flex: 1;
                display: flex;
                align-items: center;
                justify-content: center;
            }
            
            .popup-ad-btn.visit {
                background: #EB1616;
                color: white;
                box-shadow: 0 2px 6px rgba(235, 22, 22, 0.3);
            }
            
            .popup-ad-btn.visit:hover {
                background: #c90c0c;
                transform: translateY(-1px);
                box-shadow: 0 4px 8px rgba(235, 22, 22, 0.4);
            }
            
            .popup-ad-btn.close {
                background: #f1f3f5;
                color: #495057;
            }
            
     .ads-grid {
        display: grid;
      
    }

    /* ÃÅ¾Ã‘â€žÃÂ¾Ã‘â‚¬ÃÂ¼ÃÂ»ÃÂµÃÂ½ÃÂ¸ÃÂµ ÃÂºÃÂ°Ã‘â‚¬Ã‘â€šÃÂ¾Ã‘â€¡ÃÂµÃÂº ÃÂ¾ÃÂ±Ã‘Å Ã‘ÂÃÂ²ÃÂ»ÃÂµÃÂ½ÃÂ¸ÃÂ¹ */
    .ad-item {
        background: #000;
        padding: 20px;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.2);
      
        transition: transform 0.2s, box-shadow 0.2s;
    }

    .ad-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    }

    /* Ãâ€”ÃÂ°ÃÂ³ÃÂ¾ÃÂ»ÃÂ¾ÃÂ²ÃÂ¾ÃÂº ÃÂºÃÂ°Ã‘â‚¬Ã‘â€šÃÂ¾Ã‘â€¡ÃÂºÃÂ¸ */
    .ad-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 15px;
        padding-bottom: 10px;
        border-bottom: 1px solid #444;
    }

    /* ÃÂ¡Ã‘â€šÃÂ°Ã‘â€šÃ‘Æ’Ã‘Â ÃÂ¾ÃÂ±Ã‘Å Ã‘ÂÃÂ²ÃÂ»ÃÂµÃÂ½ÃÂ¸Ã‘Â */
    .ad-status {
        display: inline-flex;
        align-items: center;
        padding: 4px 12px;
        border-radius: 20px;
        font-size: 13px;
        font-weight: 600;
    }

    .ad-status.active {
        background: #2b855d;
        color: #e1f7e1;
    }

    .ad-status.inactive {
        background: #f44336;
        color: #ffe9e9;
    }

    /* ÃÅ¡ÃÂ¾ÃÂ½Ã‘â€šÃÂµÃÂ½Ã‘â€š ÃÂ¾ÃÂ±Ã‘Å Ã‘ÂÃÂ²ÃÂ»ÃÂµÃÂ½ÃÂ¸Ã‘Â */
    .ad-content {
        margin-bottom: 15px;
    }

    .ad-content p {
        margin: 8px 0;
        color: #bdbdbd;
    }

    /* ÃÂ¡Ã‘â€šÃÂ°Ã‘â€šÃÂ¸Ã‘ÂÃ‘â€šÃÂ¸ÃÂºÃÂ° ÃÂ¾ÃÂ±Ã‘Å Ã‘ÂÃÂ²ÃÂ»ÃÂµÃÂ½ÃÂ¸Ã‘Â */
    .ad-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        background: #2c2c2c;
        padding: 12px;
        border-radius: 6px;
    }

    .stat-item {
        text-align: center;
    }

    .stat-value {
        font-size: 16px;
        font-weight: 600;
        color: #0d6efd;
    }

    .stat-label {
        font-size: 12px;
        color: #9e9e9e;
        margin-top: 4px;
    }

    /* ÃÂ¡Ã‘ÂÃ‘â€¹ÃÂ»ÃÂºÃÂ° ÃÂ½ÃÂ° Ã‘ÂÃÂ°ÃÂ¹Ã‘â€š */
    .ad-link {
        word-break: break-all;
        color: #1e90ff;
        text-decoration: none;
    }

    .ad-link:hover {
        text-decoration: underline;
    }