:root {
    --primary: #d56362;
    --light: #f8f9fa;
    --dark: #212529;
}

/* General Reset & Font */
body {
    font-family: 'Maven Pro', sans-serif;
    font-size: 16px;
    color: var(--dark);

    background: url('/assets/img/background.jpg') no-repeat center center fixed;
    background-size: auto; /* hoặc bạn dùng 'contain' nếu muốn bó trong khung */
    background-repeat: no-repeat;
    background-position: center top;
}

body::before {
    content: "";
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    /* background: url('/assets/img/background.jpg') no-repeat center center; */
    background-size: contain;
    z-index: -1;
    opacity: 0.7;
}

/* Links */
a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    color: #c14f4e;
}

/* Header & Navbar */
header img {
    max-height: 80px;
}

/* Form styling */
.form-control {
    border: 1px solid #ced4da;
    border-radius: 6px;
    height: 48px;
    font-size: 16px;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(213, 99, 98, 0.25);
}

.input-group .input-group-text {
    background-color: #fff;
    border: 1px solid #ced4da;
    border-right: none;
    border-radius: 6px 0 0 6px;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: #c14f4e;
    border-color: #c14f4e;
}

/* Login form box */
.form-login {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px 20px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.08);
}

.image-logo {
    height: 120px;
    object-fit: contain;
}

.fl-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Footer menu */
footer a {
    color: #495057;
    font-size: 14px;
}

footer a:hover {
    color: var(--primary);
}

/* Avatar frame (banner & user image) */
.imgborder {
    border: 3px solid var(--primary);
    border-radius: 12px;
    padding: 5px;
    background: #fff;
}

/* Custom logo effect */
.logo-tt span {
    font: 600 2em 'Oswald', sans-serif;
    background: url("/assets/images/animated-text-fill.png") repeat-y;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: aitf 80s linear infinite;
}

@keyframes aitf {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

/* Custom buttons */
.ii, .cp {
    border: solid 1px var(--primary);
    border-radius: 6px;
    background-color: #eeeeee;
    padding: 5px 10px;
    font-weight: 500;
}

/* Table */
.dataTables_filter input {
    border: 1px solid var(--primary);
    border-radius: 4px;
    padding: 5px;
}

.paginate_button.current, .paginate_button:hover {
    background: var(--primary) !important;
    border: 1px solid var(--primary) !important;
    color: #fff !important;
    border-radius: 5px;
}

/* Utility spacing */
.clearpadding {
    padding: 0 !important;
    margin-top: 10px;
}

.giftcodeparent {
    padding-bottom: 60px;
}

.row.body-content {
    min-height: 650px;
}

/* Captcha */
.captcha img {
    width: 100%;
    height: 48px;
    border-radius: 0 6px 6px 0;
}

:root {
    --primary: #d56362;
}

.login-box {
    max-width: 400px;
    margin: auto;
}

.card {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 0 16px rgba(0,0,0,0.05);
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: #c14f4e;
    border-color: #c14f4e;
}

.form-floating > .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(213, 99, 98, 0.25);
}

.text-primary {
    color: var(--primary) !important;
}

@media (max-width: 576px) {
    .login-box {
        padding: 0 10px;
    }

    .card {
        padding: 1.5rem 1rem;
    }

    .btn-primary {
        font-size: 16px;
    }
}

.glass-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 280px); /* trừ header/footer nếu có */
    padding: 2rem;
}

.glass-card {
    background: rgba(255, 255, 255, 0.20);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #1e1e1e; /* hoặc #f8f9fa cho nền tối hơn */
    border-radius: 1rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.glass-card img {
    /* box-shadow: 0 0 15px rgba(255,255,255,0.4); */
    transition: transform 0.3s ease;
}
.glass-card img:hover {
    transform: scale(1.05);
}

.border.rounded {
    border: #a3a396 solid 1px !important;
}

.glass-fixed {
    position: fixed;
    width: 100%;
    z-index: 100;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.25); /* You can go 0.35 or darker */
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.glass-footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.25);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 -2px 12px rgba(0,0,0,0.08);
}

.card-stats-block {
    min-height: 140px;
}

.glass-footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    /* background: rgba(0, 0, 0, 0.35); */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.2);
    z-index: 100;
}

body {
    padding-bottom: 80px;
    /* color: #fff; */
}

.container-fixed {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

table.table {
    background-color: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 0.5rem;
    overflow: hidden;
}

table.table th {
    background: rgba(255, 255, 255, 0.15);
    color: #1e1e1e;
    font-weight: 600;
}

table.table td {
    background: rgba(255, 255, 255, 0.05);
    color: #1e1e1e;
}

.table-hover tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.08);
}

table.table thead th:first-child {
    border-top-left-radius: 8px;
}
table.table thead th:last-child {
    border-top-right-radius: 8px;
}

.table.dataTable tbody tr {
    background: transparent;
}

.goog-te-banner-frame.skiptranslate {
display: none !important;
}

/* Hide the second-line dropdown */
body > .goog-te-spinner-pos,
body > .goog-te-gadget {
display: none !important;
}

/* Optional: remove iframe added by Translate */
iframe.goog-te-banner-frame {
display: none !important;
}

.goog-text-highlight {
  background-color: transparent !important;
}

#google_translate_element {
    position: fixed;
    /* margin-top: -2rem; */
    align-self: center;
    z-index: 101;
}

.skiptranslate > iframe {
    display: none !important;
}