/* auth-tabs.css - Estilos para Login/Registro com Abas */

body {
    margin: 0;
    color: #ffffff;
    background: #1a1a1d;
    font: 600 16px/18px 'Inter', sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

*, :after, :before {
    box-sizing: border-box;
}

.clearfix:after, .clearfix:before {
    content: '';
    display: table;
}

.clearfix:after {
    clear: both;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.login-wrap {
    width: 100%;
    margin: auto;
    max-width: 450px;
    min-height: 650px;
    position: relative;
    background: rgba(26, 26, 29, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px 0 rgba(0, 0, 0, .4), 0 25px 60px 0 rgba(0, 0, 0, .2);
    border-radius: 24px;
    overflow: hidden;
    transition: transform 0.1s ease-out;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.login-html {
    width: 100%;
    height: 100%;
    position: absolute;
    padding: 50px 50px 40px 50px;
    background: transparent;
}

.login-html .sign-in-htm {
    position: relative;
    transform: none;
    backface-visibility: visible;
    transition: none;
}

.login-form {
    position: relative;
}

.login-form .group .check {
    display: none;
}

.login-form .group .label,
.login-form .group .button {
    text-transform: uppercase;
}

.brand {
    text-align: center;
    margin-bottom: 40px;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
    font-family: 'Inter', sans-serif;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #3b82f6 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 800;
    font-size: 1.4rem;
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.3);
}

.logo-text {
    color: #ffffff;
    font-size: 28px;
    font-weight: 800;
}

.brand h3 {
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.brand p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    margin: 0;
    font-weight: 400;
}

.login-form .group {
    margin-bottom: 24px;
}

.login-form .group .label,
.login-form .group .input,
.login-form .group .button {
    width: 100%;
    display: block;
}

.login-form .group .input,
.login-form .group .button {
    border: none;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.login-form .group .input {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.1);
}

.login-form .group .input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.12);
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.login-form .group .input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.login-form .group input[data-type="password"] {
    -webkit-text-security: circle;
}

.login-form .group .label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 12px;
    margin-bottom: 8px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.login-form .group .button {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #3b82f6 100%);
    color: #ffffff;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.3);
}

.login-form .group .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(30, 64, 175, 0.4);
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 50%, #3b82f6 100%);
}

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

.login-form .group label .icon {
    width: 15px;
    height: 15px;
    border-radius: 3px;
    position: relative;
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    margin-right: 8px;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.login-form .group label .icon:before,
.login-form .group label .icon:after {
    content: '';
    width: 10px;
    height: 2px;
    background: #ffffff;
    position: absolute;
    transition: all .2s ease-in-out 0s;
}

.login-form .group label .icon:before {
    left: 3px;
    width: 5px;
    bottom: 6px;
    transform: scale(0) rotate(0);
}

.login-form .group label .icon:after {
    top: 6px;
    right: 0;
    transform: scale(0) rotate(0);
}

.login-form .group .check:checked + label {
    color: #ffffff;
}

.login-form .group .check:checked + label .icon {
    background: #3b82f6;
    border-color: #3b82f6;
}

.login-form .group .check:checked + label .icon:before {
    transform: scale(1) rotate(45deg);
}

.login-form .group .check:checked + label .icon:after {
    transform: scale(1) rotate(-45deg);
}

.login-form .group label {
    cursor: pointer;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    text-transform: none;
    font-weight: 500;
}

.hr {
    height: 1px;
    margin: 30px 0;
    background: rgba(255, 255, 255, 0.2);
}

.foot-lnk {
    text-align: center;
    margin-top: 10px;
    padding-bottom: 10px;
}

.foot-lnk a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.foot-lnk a:hover {
    color: #3b82f6;
}

/* Alertas */
.alert {
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

.alert-success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #86efac;
}

/* Botão Voltar ao Site */
.back-home {
    position: fixed;
    top: 30px;
    left: 30px;
    z-index: 1000;
}

.back-home a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.back-home a:hover {
    color: #3b82f6;
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Responsividade */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    .login-wrap {
        max-width: 100%;
        min-height: 580px;
    }
    
    .login-html {
        padding: 40px 25px 30px 25px;
    }
    
    .logo-text {
        font-size: 24px;
    }
    
    .brand h3 {
        font-size: 20px;
    }
    
    .back-home {
        top: 15px;
        left: 15px;
    }
    
    .back-home a {
        padding: 8px 12px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .login-html {
        padding: 30px 20px;
    }
    
    .logo-text {
        font-size: 22px;
    }
    
    .brand h3 {
        font-size: 18px;
    }
    
    .login-form .group .input,
    .login-form .group .button {
        padding: 14px 18px;
        font-size: 14px;
    }
}

/* Animações suaves */
.login-form .group {
    animation: slideUp 0.6s ease-out backwards;
}

.login-form .group:nth-child(1) { animation-delay: 0.1s; }
.login-form .group:nth-child(2) { animation-delay: 0.2s; }
.login-form .group:nth-child(3) { animation-delay: 0.3s; }
.login-form .group:nth-child(4) { animation-delay: 0.4s; }
.login-form .group:nth-child(5) { animation-delay: 0.5s; }
.login-form .group:nth-child(6) { animation-delay: 0.6s; }

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