/* Modern Clean & Light Theme for Gunny Hoi Uc */
@import url('http://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600;700;900&family=Exo+2:wght@600;700;800;900&display=swap');

* {
    box-sizing: border-box;
}

html, body {
    font-family: 'Be Vietnam Pro', sans-serif !important;
    margin: 0 !important; padding: 0 !important;
    background:
        radial-gradient(circle at 50% 8%, rgba(219, 234, 254, 0.75) 0%, transparent 50%),
        linear-gradient(180deg, #f8fafc 0%, #f1f5f9 55%, #e2e8f0 100%) !important;
    background-color: #f8fafc !important;
    min-height: 100vh !important;
    color: #0f172a !important;
    -webkit-font-smoothing: antialiased;
}

body::before, body::after {
    display: none !important;
    content: none !important;
}

/* Force override retro background images */
#Wrapper, #WrapperIn, #Header, #MainContent, .News, .Login, .QuickReg {
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    border: none !important;
}

#WrapperIn {
    max-width: 1100px;
    width: 95%;
    margin: 0 auto;
    padding-bottom: 70px;
}

/* Modern Header Navbar (Light) */
.tet-navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 999;
    background: rgba(255, 255, 255, 0.92) !important;
    border-bottom: 1px solid rgba(226, 232, 240, 0.9) !important;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
}
.tet-navbar-inner {
    max-width: 1100px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    height: 62px; padding: 0 clamp(12px, 4vw, 32px);
}
.tet-nav-logo {
    display: flex; align-items: center; gap: 10px; text-decoration: none;
    transition: transform 0.2s ease;
}
.tet-nav-logo:hover {
    transform: scale(1.02);
}
.tet-nav-logo img {
    height: 42px; object-fit: contain; vertical-align: middle;
}
.tet-nav-links {
    display: flex; align-items: center; gap: 6px;
}
.tet-nav-item {
    display: flex; align-items: center; gap: 7px;
    padding: 8px 16px; border-radius: 20px;
    text-decoration: none; color: #334155 !important;
    font-size: 13.5px; font-weight: 600; letter-spacing: 0.3px;
    border: 1px solid transparent !important;
    transition: all 0.2s ease; position: relative;
    background: transparent !important; cursor: pointer; font-family: inherit;
}
.tet-nav-item:hover {
    color: #2563eb !important;
    background: rgba(37, 99, 235, 0.07) !important;
    border-color: rgba(37, 99, 235, 0.15) !important;
}
.tet-nav-sep { width: 1px; height: 20px; background: #e2e8f0 !important; margin: 0 4px; }

.tet-nav-login {
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    color: #1e293b !important;
    border-radius: 20px !important;
}
.tet-nav-login:hover {
    background: #f8fafc !important;
    border-color: #2563eb !important;
    color: #2563eb !important;
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.12) !important;
}
.tet-nav-register {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
    border: 1px solid #1d4ed8 !important;
    color: #ffffff !important; font-weight: 700;
    border-radius: 20px !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28) !important;
}
.tet-nav-register:hover {
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.42) !important;
    transform: translateY(-1px);
}

.tet-nav-toggle {
    display: none; background: #ffffff; border: 1px solid #cbd5e1;
    color: #1e293b; font-size: 20px; padding: 4px 10px; border-radius: 8px; cursor: pointer;
}
@media (max-width: 650px) {
    .tet-nav-links { display: none; flex-direction: column; gap: 6px; }
    .tet-navbar.open .tet-nav-links {
        display: flex; position: absolute; top: 62px; left: 0; right: 0;
        background: rgba(255, 255, 255, 0.98) !important; padding: 16px 20px 20px;
        border-bottom: 1px solid #e2e8f0;
        box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    }
    .tet-nav-sep { display: none; }
    .tet-nav-toggle { display: block; }
}

/* Account Layout Grid */
.AccountLayout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 25px;
    margin-top: 90px !important;
}

@media (max-width: 768px) {
    .AccountLayout {
        grid-template-columns: 1fr;
        margin-top: 80px !important;
    }
}

/* RetroSidebar */
.RetroSidebar {
    background: #ffffff !important;
    background-image: none !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    padding: 20px 15px !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06) !important;
    backdrop-filter: none !important;
    height: fit-content !important;
}

.RetroSidebar h3 {
    font-family: 'Exo 2', sans-serif !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    text-align: center !important;
    padding-bottom: 12px !important;
    border-bottom: 1px solid #e2e8f0 !important;
    margin-bottom: 15px !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    background: transparent !important;
    background-image: none !important;
}

.RetroNav a {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 12px 16px !important;
    border-radius: 10px !important;
    color: #475569 !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 13.5px !important;
    transition: all 0.2s ease !important;
    margin-bottom: 6px !important;
    border: 1px solid transparent !important;
    background: transparent !important;
    background-image: none !important;
}

.RetroNav a:hover {
    background: #eff6ff !important;
    color: #2563eb !important;
    border-color: #bfdbfe !important;
    transform: translateX(3px) !important;
}

.RetroNav a.active {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
    color: #ffffff !important;
    border-color: #1d4ed8 !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3) !important;
}

/* RetroContent */
.RetroContent {
    background: #ffffff !important;
    background-image: none !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    padding: 30px !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06) !important;
    backdrop-filter: none !important;
    color: #0f172a !important;
}

.RetroContent h2 {
    font-family: 'Exo 2', sans-serif !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    border-bottom: 1px solid #e2e8f0 !important;
    padding-bottom: 14px !important;
    margin-bottom: 24px !important;
    margin-top: 0 !important;
}

.InfoItem {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 14px 18px !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    margin-bottom: 12px !important;
}

.InfoLabel {
    color: #475569 !important;
    font-weight: 600 !important;
    font-size: 14px !important;
}

.InfoValue {
    color: #0f172a !important;
    font-weight: 700 !important;
    font-size: 15px !important;
}

.XuBalance {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%) !important;
    border: 1.5px solid #bfdbfe !important;
    border-radius: 12px !important;
    padding: 20px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-top: 20px !important;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.08) !important;
}

.XuBalance .InfoValue span {
    font-size: 26px !important;
    font-weight: 900 !important;
    color: #2563eb !important;
    text-shadow: none !important;
}

/* General Controls Styling */
input[type="text"], input[type="password"], input[type="email"], select, textarea {
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
    border-radius: 8px !important;
    padding: 10px 14px !important;
    font-family: inherit !important;
}

input:focus, select:focus {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15) !important;
    background: #ffffff !important;
    outline: none !important;
}

button, .btn-submit, input[type="submit"] {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    border: none !important;
    border-radius: 20px !important;
    padding: 10px 24px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25) !important;
    font-family: inherit !important;
}

button:hover, .btn-submit:hover, input[type="submit"]:hover {
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.4) !important;
    transform: translateY(-1px) !important;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    color: #0f172a;
}

th {
    background: #f1f5f9;
    color: #1e293b;
    padding: 12px;
    font-weight: 700;
    border-bottom: 2px solid #cbd5e1;
    text-align: left;
}

td {
    padding: 12px;
    border-bottom: 1px solid #e2e8f0;
    background: #ffffff;
}

tr:hover td {
    background: #f8fafc;
}

/* Footer Fixed Style (Light) */
.tet-footer {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 999;
    background: rgba(255, 255, 255, 0.92) !important;
    border-top: 1px solid #e2e8f0 !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    text-align: center; padding: 8px 0;
    height: auto !important; min-height: 0 !important;
    margin: 0 !important; line-height: 1 !important;
}
.tet-footer-copy {
    margin: 0; padding: 0;
    color: #64748b !important;
    font-size: clamp(0.65rem, 1.3vw, 0.78rem);
    letter-spacing: 0.5px; line-height: 1;
    font-family: 'Be Vietnam Pro', sans-serif;
}
.tet-footer-copy a {
    color: #2563eb !important;
    text-decoration: none; font-weight: 600;
    transition: color 0.2s;
}
.tet-footer-copy a:hover { color: #1d4ed8 !important; text-decoration: underline; }