/* Game-themed login styling - ORANGE/BROWN THEME (matching Website-Copy) */
.loginDiv.game-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.loginDiv.show {
    opacity: 1;
}

.login-container.game-panel {
    width: 100%;
    max-width: 500px;
    background-color: #f5eada;
    border-radius: 4px;
    box-shadow: 0 0 16px rgba(0,0,0,0.3);
    transform-style: preserve-3d;
    transform: rotateX(0deg);
    transition: all 0.5s ease;
    overflow: hidden;
    position: relative;
    border: 1px solid #af6313;
    padding: 0;
}

.login-container.game-panel.active {
    animation: panel-glow 2s infinite alternate;
}

.game-panel-header {
    background: rgb(245,138,26);
    background: -moz-linear-gradient(to bottom, rgba(245,138,26,0.8) 0%, rgba(250,83,0,0.9) 100%);
    background: -webkit-linear-gradient(to bottom, rgba(245,138,26,0.8) 0%,rgba(250,83,0,0.9) 100%);
    background: linear-gradient(to bottom, rgba(245,138,26,0.8) 0%,rgba(250,83,0,0.9) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f58a1a', endColorstr='#fa5300',GradientType=0 );
    color: #fff;
    padding: 15px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #af6313;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

.deposit-logo {
    height: 40px;
    margin-bottom: 10px;
}

.deposit-title {
    margin: 0;
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
}

.game-panel-body {
    padding: 30px;
    background-color: #f5eada;
    color: #555;
    max-height: 70vh;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Custom scrollbar cho game-panel-body */
.game-panel-body::-webkit-scrollbar {
    width: 8px;
}

.game-panel-body::-webkit-scrollbar-track {
    background: rgba(175, 99, 19, 0.1);
    border-radius: 4px;
}

.game-panel-body::-webkit-scrollbar-thumb {
    background: rgba(175, 99, 19, 0.5);
    border-radius: 4px;
}

.game-panel-body::-webkit-scrollbar-thumb:hover {
    background: rgba(175, 99, 19, 0.7);
}

/* Đảm bảo pane-register có thể scroll */
#pane-register {
    max-height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
}

.login-tabs {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    background: rgba(242,138,26,0.1);
    border-bottom: 1px solid #af6313;
}

.login-tabs .tab {
    flex: 1;
    text-align: center;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.login-tabs .tab a {
    color: #af6313;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.login-tabs .tab.active {
    background: rgba(242,138,26,0.3);
}

.login-tabs .tab.active a {
    color: #af6313;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.login-close {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 30px;
    color: #af6313;
    cursor: pointer;
    z-index: 100;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.login-close:hover {
    color: #fa5300;
    transform: scale(1.2);
}

.input-group {
    position: relative;
    margin-bottom: 20px;
}

.icon-container {
    position: absolute;
    left: 15px;
    top: 12px;
    z-index: 10;
    color: #a49c7a;
    font-size: 20px;
}

.game-input {
    width: 100%;
    padding: 12px 12px 12px 45px;
    border: 1px solid #a49c7a;
    border-radius: 4px;
    background-color: #fff;
    color: #555;
    font-size: 16px;
    font-weight: normal;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(164,156,122,0.0);
}

.game-input:focus {
    box-shadow: 0 0 10px rgba(164,156,122,0.8);
    background-color: #fff;
    border-color: #a49c7a;
}

.game-input::placeholder {
    color: #c4c4c4;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 16px;
    cursor: pointer;
    color: #a49c7a;
    z-index: 100;
}

.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.game-checkbox {
    display: flex;
    align-items: center;
    color: #555;
}

.game-checkbox input {
    margin-right: 8px;
    accent-color: #f58a1a;
}

.forgot-password-link {
    color: #af6313;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.forgot-password-link:hover {
    color: #fa5300;
    text-decoration: underline;
}

.game-btn {
    padding: 12px 24px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 10px;
}

.game-btn-primary {
    background: rgb(245,138,26);
    background: -moz-linear-gradient(top, rgba(245,138,26,1) 0%, rgba(250,83,0,1) 100%);
    background: -webkit-linear-gradient(top, rgba(245,138,26,1) 0%,rgba(250,83,0,1) 100%);
    background: linear-gradient(to bottom, rgba(245,138,26,1) 0%,rgba(250,83,0,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f58a1a', endColorstr='#fa5300',GradientType=0 );
    border: 1px solid #a49c7a;
    color: white;
    text-shadow: 0 0 10px rgba(255,255,255,0.5);
    box-shadow: 0 0 10px rgba(164,156,122,0.3);
}

.game-btn-secondary {
    background: linear-gradient(to bottom, rgba(245,138,26,0.8) 0%,rgba(250,83,0,0.8) 100%);
    border: 1px solid #a49c7a;
    color: white;
    text-shadow: 0 0 10px rgba(255,255,255,0.5);
    box-shadow: 0 0 10px rgba(164,156,122,0.3);
}

.game-btn-primary:hover {
    text-shadow: 0 0 10px #fff;
    -webkit-filter: brightness(110%);
    filter: brightness(110%);
    transform: translateY(-1px);
}

.game-btn-secondary:hover {
    text-shadow: 0 0 10px #fff;
    -webkit-filter: brightness(110%);
    filter: brightness(110%);
    transform: translateY(-1px);
}

.game-btn-primary:active, .game-btn-secondary:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #343a40;
}

.game-btn i {
    margin-right: 8px;
}

.mt-3 {
    margin-top: 15px;
}

.game-error-message {
    background-color: rgba(231, 76, 60, 0.1);
    border-left: 4px solid #e74c3c;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 4px;
    color: #c0392b;
}

.game-success-message {
    background-color: rgba(46, 204, 113, 0.1);
    border-left: 4px solid #2ecc71;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 4px;
    color: #27ae60;
}

#login-message {
    border-radius: 4px;
    font-family: 'BreeSerif', sans-serif;
}

.game-note {
    margin-top: 30px;
    background: rgba(242,138,26,0.1);
    border-left: 4px solid #af6313;
    padding: 15px;
    border-radius: 4px;
    display: flex;
    align-items: flex-start;
    color: #555;
}

.game-note i {
    color: #af6313;
    margin-right: 10px;
    font-size: 20px;
    margin-top: 2px;
}

.particle-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(245,138,26, 0.6);
    border-radius: 50%;
    top: -10px;
    animation: particle-fall linear infinite;
}

.forgot-password-icon {
    text-align: center;
    margin-bottom: 20px;
}

.forgot-password-icon i {
    font-size: 60px;
    color: #af6313;
    text-shadow: 0 0 10px rgba(175,99,19, 0.5);
}

.forgot-password-text {
    text-align: center;
    margin-bottom: 20px;
    color: #555;
    font-size: 16px;
}

@keyframes particle-fall {
    0% {
        transform: translateY(-20px) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: translateY(100px) rotate(360deg);
        opacity: 0;
    }
}

@keyframes panel-glow {
    0% {
        box-shadow: 0 0 16px rgba(0,0,0,0.3);
    }

    100% {
        box-shadow: 0 0 20px rgba(175,99,19,0.5), 0 0 16px rgba(0,0,0,0.3);
    }
}

.pane {
    display: none;
}

.pane.active {
    display: block;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .login-container.game-panel {
        max-width: 90%;
        margin: 0 10px;
    }
    
    .login-options {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .forgot-password-link {
        margin-top: 10px;
    }
}

