/* Auth Pages Split Screen Layout */
.auth-container {
    display: flex;
    min-height: 100vh;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

/* Left Side - Slider */
.auth-slider {
    position: relative;
    width: 50%;
    overflow: hidden;
    background: var(--primary-color);
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
}

.auth-slider::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("/assets/img/pattern.svg");
    opacity: 0.1;
    z-index: 1;
}

.slider-content {
    position: relative;
    height: 100%;
    z-index: 2;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
}

.slider-logo {
    margin-bottom: 2rem;
    text-align: center;
}

.slider-logo img {
    height: 60px;
    filter: brightness(0) invert(1);
}

.slides-container {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.5s ease;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.slide.active {
    opacity: 1;
    transform: translateX(0);
}

.slide-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    animation: float 3s ease-in-out infinite;
}

.slide-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.slide-description {
    font-size: 1rem;
    opacity: 0.8;
    max-width: 80%;
    margin: 0 auto;
}

.slide-dots {
    position: absolute;
    bottom: 2rem;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 0.8rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: white;
    transform: scale(1.3);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.animated-shape {
    position: absolute;
    opacity: 0.2;
    z-index: 1;
    animation: shapeMovement 20s linear infinite;
}

.shape1 {
    top: 20%;
    left: 10%;
    width: 80px;
    height: 80px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background: var(--secondary-color);
    animation-delay: -5s;
}

.shape2 {
    bottom: 15%;
    right: 10%;
    width: 120px;
    height: 120px;
    border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
    background: white;
    animation-delay: -10s;
}

.shape3 {
    top: 50%;
    left: 30%;
    width: 60px;
    height: 60px;
    border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
    background: var(--secondary-color);
    animation-delay: -15s;
}

@keyframes shapeMovement {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(20px, -15px) rotate(90deg);
    }

    50% {
        transform: translate(0, 30px) rotate(180deg);
    }

    75% {
        transform: translate(-20px, -15px) rotate(270deg);
    }

    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

/* Right side - Form */
.auth-form-container {
    width: 50%;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
}

.auth-card {
    width: 100%;
    max-width: 450px;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.auth-logo-form {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-logo-form img {
    height: 50px;
}

/* Form styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-family: "Cairo", sans-serif;
    background-color: #fff;
    transition: all 0.3s ease;
}

.form-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 70, 80, 0.1);
    outline: none;
}

.form-error {
    color: #e53e3e;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.btn {
    display: inline-block;
    width: 100%;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(90deg,
            #004650 0%,
            #bc5f42 47.92%,
            #037485 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-family: "Cairo", sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.remember-me {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.remember-checkbox {
    width: 18px;
    height: 18px;
    margin-left: 0.5rem;
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.875rem;
}

.auth-link {
    color: var(--primary-color);
    font-weight: 600;
    transition: all 0.3s ease;
}

.auth-link:hover {
    color: var(--secondary-color);
}

.social-divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
}

.social-divider::before,
.social-divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #e2e8f0;
}

.social-divider-text {
    padding: 0 15px;
    color: #718096;
    font-size: 0.875rem;
}

.social-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 1.5rem;
}

.social-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: white;
    border: 1px solid #e2e8f0;
    color: #718096;
    transition: all 0.3s ease;
    font-size: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.social-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.social-google:hover {
    color: #db4437;
    border-color: #db4437;
}

.social-facebook:hover {
    color: #4267b2;
    border-color: #4267b2;
}

.social-twitter:hover {
    color: #1da1f2;
    border-color: #1da1f2;
}

/* Mobile styles */
@media (max-width: 992px) {
    .auth-container {
        flex-direction: column;
    }

    .auth-slider {
        width: 100%;
        height: 300px;
    }

    .auth-form-container {
        width: 100%;
    }

    .slides-container {
        height: 200px;
    }
}

/* Dark theme styles for auth pages */
.dark-theme .auth-container {
    background: linear-gradient(135deg, #10101a 0%, #1f2b38 100%);
}

.dark-theme .auth-slider {
    background: #011e24;
}

.dark-theme .auth-form-container {
    background-color: #1a1a2e;
}

.dark-theme .auth-card {
    background: #1a1a2e;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.dark-theme .auth-title {
    color: #e4e4e4;
}

.dark-theme .form-input {
    background-color: #2a2a3c;
    border-color: #3a3a4c;
    color: #e4e4e4;
}

.dark-theme .form-input::placeholder {
    color: #8a8a9a;
}

.dark-theme .form-label {
    color: #c5c5c5;
}

.dark-theme .auth-link {
    color: #5a8f97;
}

.dark-theme .auth-link:hover {
    color: #e17554;
}

.dark-theme .social-divider::before,
.dark-theme .social-divider::after {
    border-bottom: 1px solid #3a3a4c;
}

.dark-theme .social-divider-text {
    color: #b0b0b0;
}

.dark-theme .social-button {
    background-color: #2a2a3c;
    border-color: #3a3a4c;
    color: #b0b0b0;
}

.dark-theme .alert-success {
    background: #1a2824;
    color: #6bce95;
}

.dark-theme .btn {
    background: linear-gradient(90deg,
            #006270 0%,
            #e17554 47.92%,
            #037485 100%);
}

button#send-code {
    margin: 1.2rem 0;
}

.otp-inputs {
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
}

input.otp-input {
    border: 2px solid #3d727a;
    border-radius: 5px;
}

.otp-inputs {
    direction: ltr;
}

button#resend-code {
    background: #5e5e5e;
    padding: 7px;
    border-radius: 5px;
    font-weight: bold;
}

.iti.iti--allow-dropdown.iti--separate-dial-code {
    width: 100%;
}

ul#iti-0__country-listbox {
    left: auto;
    right: -18px;
    width: 225px;
    text-align: right;
}
