/* ===== ESTILOS GERAIS ===== */
.login-container {
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fff5f5 0%, #fef0f5 50%, #fce8f3 100%);
    position: relative;
    overflow: hidden;
    padding: 20px;
}

.login-container::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,200,221,0.3) 0%, rgba(255,255,255,0) 70%);
    z-index: 0;
    border-radius: 50%;
}

.login-container::after {
    content: '';
    position: absolute;
    bottom: -15%;
    left: -10%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(255,220,235,0.3) 0%, rgba(255,255,255,0) 70%);
    z-index: 0;
    border-radius: 50%;
}

/* ===== CARTÃO DE LOGIN ===== */
.login-card {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 420px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(233, 150, 180, 0.15);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 215, 232, 0.3);
    transition: all 0.3s ease;
}

.login-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(233, 150, 180, 0.2);
}

.login-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, #ff9bb4, #f86594);
    border-radius: 20px 0 0 20px;
}

/* ===== LOGO ===== */
.logo-container {
    text-align: center;
    margin-bottom: 30px;
}

.logo-image {
    margin: auto;
    max-height: 80px;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(216, 59, 119, 0.1));
}

/* ===== TÍTULOS ===== */
.login-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #d23b77;
    text-align: center;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.login-subtitle {
    font-size: 0.95rem;
    color: #a18a96;
    text-align: center;
    margin-bottom: 30px;
    font-weight: 400;
}

/* ===== FORMULÁRIO ===== */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #7a5c6b;
    margin-left: 5px;
}

.input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 15px;
    color: #f86594;
    font-size: 1rem;
    opacity: 0.8;
}

.input-field {
    width: 100%;
    padding: 14px 15px 14px 45px;
    border: 1px solid #f0d6e1;
    border-radius: 12px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.8);
    color: #5a3e4a;
}

.input-field:focus {
    outline: none;
    border-color: #f86594;
    box-shadow: 0 0 0 3px rgba(248, 101, 148, 0.2);
    background-color: #fff;
}

.input-field::placeholder {
    color: #c0a8b5;
    opacity: 0.7;
}

/* ===== BOTÃO ===== */
.login-button {
    width: 100%;
    padding: 15px;
    background: linear-gradient(to right, #ff9bb4, #f86594);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(248, 101, 148, 0.3);
    position: relative;
    overflow: hidden;
}

.login-button:hover {
    background: linear-gradient(to right, #f86594, #e04b82);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(248, 101, 148, 0.4);
}

.login-button:active {
    transform: translateY(0);
}

.login-button::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(45deg);
    transition: all 0.5s ease;
}

.login-button:hover::after {
    left: 100%;
}

/* ===== RODAPÉ ===== */
.login-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 25px;
    font-size: 0.875rem;
}

.footer-link {
    color: #f86594;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
}

.footer-link:hover {
    color: #d23b77;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #f86594;
    transition: width 0.3s ease;
}

.footer-link:hover::after {
    width: 100%;
}

.footer-separator {
    color: #e0c8d3;
    font-weight: 300;
}

/* ===== BARRA DE ROLAGEM ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(249, 199, 165, 0.1);
}

::-webkit-scrollbar-thumb {
    background: rgba(249, 199, 165, 0.6);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(249, 199, 165, 0.8);
}

/* ===== ANIMAÇÕES ===== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.login-card {
    animation: fadeIn 0.5s ease-out forwards;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 480px) {
    .login-card {
        padding: 30px 20px;
        border-radius: 16px;
    }
    
    .login-title {
        font-size: 1.5rem;
    }
    
    .login-subtitle {
        font-size: 0.85rem;
    }
    
    .input-field {
        padding: 12px 15px 12px 40px;
    }
    
    .login-button {
        padding: 13px;
    }
}

/* ===== ESTADOS ===== */
.hidden {
    display: none;
}

#button-text {
    position: relative;
    z-index: 1;
}

.fa-spinner {
    animation: spin 1s linear infinite;
    margin-right: 8px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Adicione no seu arquivo CSS principal */
.btn-loading {
    position: relative;
    pointer-events: none;
}

.btn-loading .fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.text-pink-600 {
    color: #ec4899;
}