/* Styles for the login page (extracted from view.index.login.php) */
html,
body {
    height: 100%;
}

body {
    background: linear-gradient(120deg, #2980b9, #6dd5fa, #ffffff);
    min-height: 100vh;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    transition: background 0.3s ease;
}

body.error-background {
    background: linear-gradient(120deg, #e74c3c, #ff7675, #fdcb6e);
}

body.banned-background {
    background: linear-gradient(120deg, #8e44ad, #e17055, #fd79a8);
}

body.ban2jail-background {
    background: linear-gradient(120deg, #c0392b, #e74c3c, #ec7063);
}

.page-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 1rem;
}

.language-switcher {
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.language-switcher a {
    margin: 0 8px;
    text-decoration: none;
    font-size: 2rem;
}

.auth-container {
    background: #fff;
    padding: 2.5rem 2rem;
    border-radius: 1.2rem;
    box-shadow: 0 8px 32px 0 rgba(44, 62, 80, 0.2);
    max-width: 550px;
    width: 100%;
}

.auth-container h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #2980b9
}

.auth-container input[type="password"] {
    width: 100%;
    padding: 0.7rem;
    border: 1px solid #b2bec3;
    border-radius: 0.5rem;
    margin-bottom: 1.2rem;
    font-size: 1rem
}

.auth-container input[type="password"]:focus {
    border-color: #2980b9;
    outline: none
}

.auth-container button {
    width: 100%;
    padding: 0.8rem;
    background: #2980b9;
    color: #fff;
    border: none;
    border-radius: 0.5rem;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer
}

.auth-container button:hover {
    background: #2574a9
}

.auth-container button:disabled {
    background: #bdc3c7;
    cursor: not-allowed
}

.auth-container input[type="password"]:disabled {
    background: #ecf0f1
}

.message {
    text-align: center;
    margin-bottom: 1rem;
    padding: 0.8rem;
    border-radius: 0.5rem
}

.message.error {
    color: #e74c3c;
    background: rgba(231, 76, 60, 0.06);
    border-left: 4px solid #e74c3c
}

.message.warning {
    color: #f39c12;
    background: rgba(243, 156, 18, 0.06);
    border-left: 4px solid #f39c12
}

.message.banned {
    color: #8e44ad;
    background: rgba(142, 68, 173, 0.06);
    border-left: 4px solid #8e44ad
}

.message.ban2jail {
    color: #c0392b;
    background: rgba(192, 57, 43, 0.06);
    border-left: 4px solid #c0392b;
    font-weight: bold
}

@keyframes pulse {
    0% {
        transform: scale(1)
    }

    50% {
        transform: scale(1.02)
    }

    100% {
        transform: scale(1)
    }
}

.message.ban2jail {
    animation: pulse 2s infinite
}

#pass {
    text-align: center;
}