
.auth-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #F8F9FA;
}

body:has(.auth-wrapper) {
    overflow: hidden;
}

.auth-container {
    position: relative;
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    width: 768px;
    max-width: 100%;
    min-height: 520px;
    overflow: hidden;
    display: flex;
}

.info-side {
    position: absolute;
    top: 0;
    height: 100%;
    width: 50%;
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.form-side {
    position: absolute;
    top: 0;
    height: 100%;
    width: 50%;
    background: linear-gradient(135deg, #00a896 0%, #028090 100%);
    color: white;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.container-login .info-side {
    transform: translateX(0);
}
.container-login .form-side {
    transform: translateX(100%);
}

.info-side.left-panel {
    left: 0;
    width: 50%;
}
.form-side.right-panel {
    left: 50%;
    width: 50%;
}

.auth-container.right-panel-active .info-side {
    transform: translateX(100%); 
}

.auth-container.right-panel-active .form-side {
    transform: translateX(-100%);
}

.info-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 40px;
    box-sizing: border-box;
    transition: opacity 0.3s ease-in-out;
}

.form-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; 
    padding: 30px 40px;
    box-sizing: border-box;
    transition: opacity 0.3s ease-in-out;
}

.hidden {
    opacity: 0;
    pointer-events: none;
    z-index: -1;
}

.auth-title {
    font-weight: 700;
    margin: 0;
    font-size: 1.75rem;
    color: inherit;
    margin-bottom: 15px;
    letter-spacing: -0.02em;
}

.info-side .auth-title { color: #2C3539; }
.form-side .auth-title { color: white; }

.eula {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 25px;
    color: inherit;
}
.info-side .eula { color: #6C757D; }
.form-side .eula { color: rgba(255, 255, 255, 0.85); }

.toggle-btn {
    border-radius: var(--radius-sm);
    border: 2px solid #00a896;
    background-color: #00a896;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 10px 35px;
    letter-spacing: 0.02em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.toggle-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 168, 150, 0.3);
}

.toggle-btn:active {
    transform: translateY(0);
}

.ghost {
    background-color: transparent;
    border-color: #2C3539; 
    color: #2C3539;
}
.ghost:hover {
    background-color: #00a896;
    border-color: #00a896;
    color: white;
}

.auth-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center; 
}

.auth-form .input-group {
    position: relative;
    width: 100%;
    margin: 10px 0;
}

.auth-form input {
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 14px 14px;
    width: 100%;
    color: #2c3539 !important;
    caret-color: #2c3539;
    font-size: 1rem;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
    transition: all 0.3s ease;
    outline: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.auth-form input::placeholder {
    color: #8b98a4;
}

.auth-form input:focus {
    border-color: #00a896;
    box-shadow: 0 0 0 3px rgba(0, 168, 150, 0.12);
}

.floating-label label {
    position: absolute;
    top: 12px;
    left: 14px;
    color: #6c7a86;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none; 
}

.floating-label input:focus ~ label,
.floating-label input:not(:placeholder-shown) ~ label {
    top: -22px;
    left: 10px;
    font-size: 0.90rem;
    color: white;
    font-weight: 600;
}

.auth-form input:-webkit-autofill,
.auth-form input:-webkit-autofill:hover,
.auth-form input:-webkit-autofill:focus {
    -webkit-text-fill-color: #2c3539 !important;
    box-shadow: 0 0 0 1000px #ffffff inset;
    border-color: #00a896;
}

.submit-btn {
    border-radius: var(--radius-sm);
    border: none;
    background-color: white;
    color: #00a896;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 14px 42px;
    letter-spacing: 0.02em;
    transition: color 0.25s ease, box-shadow 0.3s ease, transform 0.3s ease;
    cursor: pointer;
    margin-top: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    color: #028090;
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn::after {
    content: "";
    position: absolute;
    inset: -2px;
    background: linear-gradient(115deg, rgba(0, 168, 150, 0.14) 0%, rgba(5, 102, 141, 0.22) 50%, rgba(0, 168, 150, 0.14) 100%);
    background-size: 220% 220%;
    background-position: 0% 50%;
    opacity: 0;
    transform: scale(1.03);
    transition: opacity 0.25s ease, background-position 0.55s ease;
    z-index: -1;
}

.submit-btn:hover::after,
.submit-btn:focus-visible::after {
    opacity: 1;
    background-position: 100% 50%;
}
