.login-button {
    background: linear-gradient(135deg, #ff9e29 0%, #ff2a38 100%);
    color: white;
    font-weight: bold;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    width: 100%;
    transition: all 0.3s ease-in-out;
    border: none;
    outline: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.login-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 42, 56, 0.3);
}

.login-button:active {
    transform: translateY(0);
}

.login-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ff2a38 0%, #ff9e29 100%);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.login-button:hover::before {
    opacity: 1;
}

.login-button span {
    position: relative;
    z-index: 1;
}

/* Estilo dos inputs */
.login-input {
    transition: all 0.3s ease-in-out;
}

.login-input:hover {
    border-color: #ff9e29;
}

.login-input:focus {
    border-color: #ff9e29;
    box-shadow: 0 2px 4px rgba(255, 158, 41, 0.1);
}

/* === RESPONSIVIDADE COMPLETA === */

/* Mobile muito pequeno (até 480px) */
@media (max-width: 480px) {
    .login-button {
        padding: 1rem 1.5rem;
        font-size: 14px;
        letter-spacing: 0.5px;
    }
    
    .login-input {
        padding: 1rem;
        font-size: 16px; /* Evita zoom no iOS */
        border-radius: 0.5rem;
    }
    
    /* Ajustar container de login */
    .max-w-md {
        max-width: calc(100% - 2rem);
        margin: 0 1rem;
    }
    
    /* Espaçamento do formulário */
    .space-y-6 > :not([hidden]) ~ :not([hidden]) {
        margin-top: 1.25rem;
    }
    
    /* Logo responsiva */
    img {
        max-width: 120px;
        height: auto;
    }
    
    /* Texto menor */
    .text-2xl {
        font-size: 1.5rem;
    }
    
    .text-sm {
        font-size: 0.75rem;
    }
}

/* Mobile padrão (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    .login-button {
        padding: 0.875rem 1.75rem;
        font-size: 15px;
    }
    
    .login-input {
        padding: 0.875rem 1rem;
        font-size: 16px;
        border-radius: 0.5rem;
    }
    
    .max-w-md {
        max-width: 400px;
    }
    
    /* Logo um pouco maior */
    img {
        max-width: 140px;
        height: auto;
    }
}

/* Tablet (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .login-button {
        padding: 0.875rem 2rem;
        font-size: 16px;
    }
    
    .login-input {
        padding: 0.875rem 1rem;
        font-size: 16px;
    }
    
    .max-w-md {
        max-width: 450px;
    }
    
    /* Melhorar espaçamento vertical */
    .min-h-screen {
        padding: 2rem 0;
    }
}

/* Desktop (1025px+) */
@media (min-width: 1025px) {
    .login-button {
        padding: 1rem 2rem;
        font-size: 16px;
        letter-spacing: 1px;
    }
    
    .login-input {
        padding: 1rem;
        font-size: 16px;
    }
    
    .max-w-md {
        max-width: 480px;
    }
    
    /* Hover effects mais pronunciados em desktop */
    .login-button:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(255, 42, 56, 0.4);
    }
    
    .login-input:hover {
        border-color: #ff9e29;
        transition: border-color 0.2s ease;
    }
}

/* Melhorias de acessibilidade */
@media (prefers-reduced-motion: reduce) {
    .login-button,
    .login-input,
    .login-button::before {
        transition: none !important;
        animation: none !important;
    }
    
    .login-button:hover {
        transform: none;
    }
}

/* Touch devices - áreas de toque maiores */
@media (hover: none) and (pointer: coarse) {
    .login-button {
        min-height: 48px; /* Tamanho mínimo recomendado para touch */
        padding: 1rem 1.5rem;
    }
    
    .login-input {
        min-height: 48px;
        padding: 1rem;
    }
    
    /* Links de recuperação maiores */
    a {
        padding: 0.5rem 0;
        display: inline-block;
    }
}

/* Landscape em mobile */
@media (max-height: 600px) and (orientation: landscape) {
    .min-h-screen {
        min-height: auto;
        padding: 1rem 0;
    }
    
    .space-y-6 > :not([hidden]) ~ :not([hidden]) {
        margin-top: 1rem;
    }
    
    /* Logo menor em landscape */
    img {
        max-width: 100px;
    }
    
    .text-2xl {
        font-size: 1.25rem;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .login-button {
        border: 0.5px solid transparent; /* Bordas mais nítidas */
    }
    
    .login-input {
        border: 0.5px solid; /* Bordas mais nítidas */
    }
}

/* Dark mode support (se o sistema suportar) */
@media (prefers-color-scheme: dark) {
    .login-input {
        background-color: rgba(31, 41, 55, 0.8);
        border-color: rgba(75, 85, 99, 0.6);
        color: #f3f4f6;
    }
    
    .login-input::placeholder {
        color: rgba(156, 163, 175, 0.8);
    }
    
    .login-input:focus {
        background-color: rgba(31, 41, 55, 0.9);
        border-color: #ff9e29;
    }
}

/* Focus visível para acessibilidade */
.login-button:focus-visible,
.login-input:focus-visible,
a:focus-visible {
    outline: 2px solid #ff9e29;
    outline-offset: 2px;
}

/* Animação suave para mudanças de tema */
.login-input,
.login-button {
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
} 