/* Shared CSS for 188bet 250 đăng nhập */

:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --accent-color: #ffc107;
    --text-color: #343a40;
    --background-color: #f8f9fa;
    --header-bg: #1a1a1a;
    --footer-bg: #212529;
    --link-color: #007bff;
    --link-hover-color: #0056b3;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Buttons */
.btn {
    display: inline-block;
    font-weight: 400;
    color: #fff;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    background-color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 0.6rem 1.2rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    text-decoration: none;
}

.btn:hover {
    background-color: var(--link-hover-color);
    border-color: var(--link-hover-color);
}

.btn-login {
    background-color: #28a745;
    border-color: #28a745;
}

.btn-login:hover {
    background-color: #218838;
    border-color: #1e7e34;
}

.btn-register {
    background-color: #dc3545;
    border-color: #dc3545;
}

.btn-register:hover {
    background-color: #c82333;
    border-color: #bd2130;
}

/* Header styles */
.site-header {
    background-color: var(--header-bg);
    color: #fff;
}

.header-top-bar {
    background-color: #0d0d0d;
    padding: 8px 0;
    font-size: 0.85rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-nav ul,
.main-navigation ul,
.mobile-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.top-nav li,
.main-navigation li {
    display: inline-block;
    margin-left: 20px;
}

.top-nav a,
.main-navigation a {
    color: #fff;
    text-decoration: none;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.top-nav a:hover,
.main-navigation a:hover {
    color: var(--accent-color);
}

.social-links a {
    color: #fff;
    margin-left: 15px;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-color);
}

.main-header-area {
    padding: 15px 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo img {
    height: 50px;
    width: auto;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.language-selector select {
    background-color: #333;
    color: #fff;
    border: 1px solid #555;
    padding: 8px 10px;
    border-radius: 4px;
    cursor: pointer;
}

.mobile-menu-toggle {
    display: none; /* Hidden by default, shown on smaller screens */
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 22px;
    position: relative;
}

.mobile-menu-toggle .icon-bar {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #fff;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle .icon-bar:last-child {
    margin-bottom: 0;
}

.mobile-menu-overlay {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    padding-top: 80px;
    overflow-y: auto;
}

.mobile-menu-overlay.active {
    display: block;
}

.mobile-navigation {
    text-align: center;
}

.mobile-navigation li {
    display: block;
    margin: 15px 0;
}

.mobile-navigation a {
    color: #fff;
    font-size: 1.2rem;
    text-decoration: none;
    padding: 10px 20px;
    display: block;
    transition: background-color 0.3s ease;
}

.mobile-navigation a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Footer styles */
.site-footer {
    background-color: var(--footer-bg);
    color: #ccc;
    padding: 40px 0 20px;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-col h3 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--accent-color);
}

.footer-col p {
    margin-bottom: 10px;
}

.payment-icons img,
.partner-logos img {
    height: 30px;
    margin-right: 10px;
    margin-bottom: 10px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.payment-icons img:hover,
.partner-logos img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
}

.compliance-info {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.age-restriction-icon {
    height: 25px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .main-navigation {
        display: none;
    }
    .mobile-menu-toggle {
        display: block;
    }
    .header-inner {
        justify-content: space-between;
    }
    .header-actions .btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .top-bar-content {
        flex-direction: column;
        text-align: center;
    }
    .top-nav ul {
        margin-bottom: 10px;
    }
    .top-nav li {
        margin: 0 10px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-col ul,
    .footer-col p {
        padding-left: 0;
        text-align: center;
    }
    .payment-icons,
    .partner-logos {
        text-align: center;
    }
}
/* 移动端内容区防溢出（系统追加，请勿删除） */
@media (max-width: 768px) {
  .page-content img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
  }
  .page-content {
    overflow-x: hidden;
    max-width: 100%;
  }
  body {
    overflow-x: hidden;
  }
}
