/* Authentication Pages Specific CSS */
.auth-body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.auth-blob {
    z-index: -1;
}

.auth-container {
    display: flex;
    width: 100%;
    max-width: 1000px;
    min-height: 600px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.auth-left {
    flex: 1;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-right {
    flex: 1;
    position: relative;
    display: none;
}

@media (min-width: 768px) {
    .auth-right {
        display: block;
    }
}

.auth-showcase {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.auth-showcase .bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.auth-showcase .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 10, 20, 0.9), rgba(99, 102, 241, 0.4));
}

.ai-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 30px;
    border-radius: 20px;
    width: 80%;
    z-index: 10;
    text-align: center;
}

.ai-box i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.float-anim {
    animation: floating 4s ease-in-out infinite;
}

@keyframes floating {
    0% {
        transform: translate(-50%, -50%);
    }

    50% {
        transform: translate(-50%, -60%);
    }

    100% {
        transform: translate(-50%, -50%);
    }
}

/* Forms */
.auth-left h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.auth-left p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.auth-toggle {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 5px;
    margin-bottom: 30px;
}

.toggle-btn {
    flex: 1;
    padding: 12px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
}

.toggle-btn.active {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.auth-form {
    display: none;
    animation: fadeIn 0.4s ease forwards;
}

.auth-form.active-form {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.input-group {
    position: relative;
    margin-bottom: 20px;
}

.input-icon {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.4);
}

.input-group input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: all 0.3s;
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 0.9rem;
}

/* Custom Checkbox */
.checkbox-container {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.7);
}

.checkbox-container input {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.checkbox-container input:checked+.checkmark {
    background: var(--primary);
    border-color: var(--primary);
}

.checkbox-container input:checked+.checkmark::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.7rem;
    color: white;
}

.forgot-pw {
    color: var(--accent);
    text-decoration: none;
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 30px 0;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.divider span {
    padding: 0 15px;
}

.social-login {
    display: flex;
    gap: 15px;
}

.btn-social {
    flex: 1;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    color: white;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: var(--font-main);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.btn-social:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-social i {
    font-size: 1.2rem;
}

/* Register specific */
.role-selector {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.role-card {
    flex: 1;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    padding: 15px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.role-card input {
    display: none;
}

.role-card i {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.5);
}

.role-card span {
    font-weight: 500;
    font-size: 0.9rem;
}

.role-card.active {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
}

.role-card.active i,
.role-card.active span {
    color: var(--primary);
}

.input-row {
    display: flex;
    gap: 15px;
}

.input-row .input-group {
    flex: 1;
}

.input-row .input-group input {
    padding-left: 15px;
    /* no icon */
}