/* =============================================================================
   ESTILOS ESPECÍFICOS DA PÁGINA DE LOGIN GOTOURNAMENT
   Caminho: tournament/pages/login/css/login.css
   ============================================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background: var(--bg-main, #f5f5f7);
    color: var(--text-main, #1d1d1f);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    overflow-x: hidden;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-container {
    width: 100%;
    max-width: 460px;
    animation: fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.login-card {
    background: var(--bg-card, #ffffff);
    border: 1px solid var(--border-color, rgba(0, 0, 0, 0.08));
    border-radius: 24px;
    padding: 2.75rem 2.25rem;
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.brand-section {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.brand-badge {
    display: inline-block;
    padding: 0.3rem 0.85rem;
    background: linear-gradient(135deg, #0071e3 0%, #34c759 100%);
    color: #ffffff;
    font-size: 0.725rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 100px;
    margin-bottom: 0.75rem;
}

.brand-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-main, #1d1d1f);
    margin-bottom: 0.35rem;
}

.brand-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted, #86868b);
    font-weight: 400;
    line-height: 1.4;
}

.form-group {
    margin-bottom: 1.25rem;
    position: relative;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-main, #1d1d1f);
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.form-control {
    width: 100%;
    height: 48px;
    padding: 0 1rem;
    font-size: 0.95rem;
    color: var(--text-main, #1d1d1f);
    background: #ffffff;
    border: 1.5px solid var(--border-color, #e5e5ea);
    border-radius: 12px;
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.form-control:focus {
    border-color: #0071e3;
    background: #ffffff;
}

.form-control::placeholder {
    color: #aeaeb2;
}

.form-control.code-input {
    text-transform: uppercase;
    font-family: monospace;
    font-weight: 700;
    letter-spacing: 1px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    border: none;
    outline: none;
    transition: background 0.2s ease, opacity 0.2s ease;
    text-decoration: none;
}

.btn-primary {
    background: #0071e3;
    color: #ffffff;
}

.btn-primary:hover {
    background: #0077ed;
}

.btn-primary:active {
    background: #0062c4;
}

.btn-lg {
    height: 50px;
    font-size: 1rem;
    padding: 0 1.5rem;
}

.btn-block {
    width: 100%;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.footer-text {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.8rem;
    color: #86868b;
}
