/* Cursor personalizado para página de login */
html, body, * {
    cursor: url('/static/cursor/cursor_2.cur'), auto !important;
}

/* Login page background video */
.login-bg-video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.login-bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 1s ease-in-out;
}

.login-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8) !important;
    backdrop-filter: blur(1px);
    z-index: -1;
    pointer-events: none;
}

/* Login page container */
.login-page-container {
    min-height: calc(95vh - 120px); /* Reduzido ainda mais para evitar scroll */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    position: relative;
    z-index: 1;
}

/* Login modal usando login-modal.png como background */
.login-modal-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;

}

.login-modal {
    background-image: url('/static/img/login-modal.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    width: 400px;
    height: 220px;
    max-height: 220px;
    position: relative;
    padding: 30px 40px 20px 40px;
    display: flex;
    flex-direction: column;
}

/* Form styling */
.modal-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.input-group {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.input-group label {
    color: #fdda9a;
    font-weight: bold;
    font-size: 0.9rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    min-width: 50px;
    text-align: left;
}

.input-wrapper {
    flex: 1;
    position: relative;
}

.game-input {
    width: 100%;
    padding: 10px 15px;
    background: linear-gradient(145deg, 
        rgba(40, 35, 30, 0.9) 0%,
        rgba(25, 20, 15, 0.9) 50%,
        rgba(40, 35, 30, 0.9) 100%);
    border: 2px solid #8b7355;
    border-radius: 6px;
    color: #fdda9a;
    font-size: 0.9rem;
    box-shadow: 
        inset 2px 2px 5px rgba(0, 0, 0, 0.5),
        0 0 5px rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
}

.game-input:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 
        inset 2px 2px 5px rgba(0, 0, 0, 0.5),
        0 0 10px rgba(212, 175, 55, 0.4);
    background: linear-gradient(145deg, 
        rgba(50, 45, 40, 0.9) 0%,
        rgba(35, 30, 25, 0.9) 50%,
        rgba(50, 45, 40, 0.9) 100%);
}

.game-input::placeholder {
    color: rgba(253, 218, 154, 0.6);
    font-style: italic;
}

/* reCAPTCHA container styling */
.recaptcha-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 10px 0;
}

/* Button styling - modal sempre visível, background muda no hover */
.button-group {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.game-button {
    width: 120px;
    height: 45px;
    background-color: rgba(24, 81, 138, 0.5) !important;
    background-image: url('/static/img/button-modal.png') !important;
    background-size: 100% 100% !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    border: none !important;
    color: #fdda9a !important;
    font-weight: bold;
    font-size: 0.9rem;
    text-decoration: none;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    letter-spacing: 0.5px;
    position: relative;
    box-shadow: none !important;
    outline: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

.game-button:hover {
    background-color: rgba(24, 81, 138, 0.7) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    text-shadow: 
        1px 1px 2px rgba(0, 0, 0, 0.8),
        0 0 8px rgba(253, 218, 154, 0.6);
}

.game-button:focus,
.game-button:active {
    background-color: rgba(24, 81, 138, 0.3) !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

/* Error messages */
.error-text {
    color: #ff6b6b;
    font-size: 0.8rem;
    margin-top: 5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.alert {
    padding: 8px 12px;
    border-radius: 6px;
    margin-bottom: 10px;
    font-size: 0.8rem;
    text-align: center;
}

.alert-danger {
    background: rgba(255, 107, 107, 0.2);
    border: 1px solid rgba(255, 107, 107, 0.5);
    color: #ff6b6b;
}

.alert-success {
    background: rgba(107, 255, 107, 0.2);
    border: 1px solid rgba(107, 255, 107, 0.5);
    color: #6bff6b;
}

/* Responsividade */
@media (max-width: 480px) {
    .login-modal {
        width: 90%;
        max-width: 350px;
        height: 200px;
        padding: 25px 20px 15px 20px;
        background-size: 100% 100%;
    }
    
    .button-group {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    
    .game-button {
        width: 140px;
        height: 40px;
    }
    
    .input-group {
        gap: 10px;
        margin-bottom: 18px;
    }
    
    .input-group label {
        min-width: 40px;
        font-size: 0.8rem;
    }
    
    .game-input {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
}

/* Fade transition animation */
.fade-transition {
    opacity: 0;
}

/* Estilo para o footer na página de login */
.site-footer {
    position: relative;
    z-index: 10;
    width: 100%;
    margin-top: 0 !important;
}

/* reCAPTCHA Styling */
.recaptcha-container .g-recaptcha {
    transform: scale(0.8);
    transform-origin: center;
    filter: brightness(1.1) contrast(1.2);
    border-radius: 8px !important;
    overflow: hidden;
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.4),
        0 0 15px rgba(212, 175, 55, 0.15);
    border: 2px solid rgba(253, 218, 154, 0.4) !important;
    background: rgba(0, 0, 0, 0.1) !important;
}

@media (max-width: 480px) {
    .login-modal-container {
        gap: 20px;
    }
    
    .recaptcha-container .g-recaptcha {
        transform: scale(0.7);
        margin: -5px 0;
    }
    
    .button-group {
        margin-top: 5px;
    }
} 