:root {
    --aradi-green:#0D352F;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #ffffff;
    overflow-x: hidden;
}

.auth-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100vh;
}

/* Left Side: Image */
.auth-image-side {
    background: #ffffff;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
}

.auth-image-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    overflow: hidden;
}

.auth-house-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* Right Side: Form */
.auth-form-side {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    background-color: #ffffff;
    overflow-y: auto;
}

.auth-form-container {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ARADI Logo */
.aradi-logo {
    text-align: center;
    /* display: flex; */
    /* align-items: center; */
    gap: 0.5rem;
    /* margin-bottom: 1.5rem; */
}

.logo-icon {
    width: 32px;
    height: 32px;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2D5A27;
}

.logo-text-arabic {
    font-size: 1.125rem;
    font-weight: 600;
    color: #212121;
    margin-left: 0.5rem;
}

.logo-text-english {
    font-size: 1.125rem;
    font-weight: 600;
    color: #212121;
    margin-left: 0.25rem;
}

/* Form Header */
.auth-form-header {
    margin-bottom: 2rem;
}

.auth-form-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #212121;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    text-align: center;
}

.auth-form-subtitle {
    font-size: 0.9375rem;
    color: #6b7280;
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 400;
}

.title-with-overlays {
    position: relative;
    display: inline-block;
}

.overlay-circle {
    position: absolute;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.875rem;
    color: white;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.pink-overlay {
    background-color: #ec4899;
    top: -8px;
    left: 60px;
    z-index: 2;
}

.orange-overlay {
    background-color: #f97316;
    top: -8px;
    left: 40px;
    z-index: 1;
}

/* Form */
.auth-form {
	display: flex;
	flex-direction: column;
	gap: 0;
	/* margin-top: 2rem; */
	width: 100%;
}

.form-field {
	display: flex;
	flex-direction: column;
	gap: 0;
	width: 100%;
}
.form-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #212121;
}

.form-input {
    padding: 1rem;
    border: 1px solid #e0e7ef;
    border-radius: 10px;
    font-size: 0.9375rem;
    color: #212121;
    outline: none;
    transition: all 0.2s;
    background-color: #f0f5fa;
    width: 100%;
}

.form-input::placeholder {
    color: #9ca3af;
}

.form-input:focus {
    border-color: #2D5A27;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(45, 90, 39, 0.1);
}

/* Password Input Group */
.password-input-group {
    position: relative;
}

.password-input {
    padding-right: 3rem;
}

.password-toggle-btn {
	position: absolute;
	right: 16px;
	top: 23px;
	transform: translateY(-50%);
	background: none;
	border: none;
	cursor: pointer;
	padding: 0.25rem;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #6b7280;
}

.eye-icon {
    width: 20px;
    height: 20px;
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #212121;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: #2D5A27;
}

.checkbox-label span {
    font-weight: 500;
}

.forgot-password-link {
    font-size: 0.875rem;
    color: #2D5A27;
    text-decoration: none;
}

.forgot-password-link:hover {
    text-decoration: underline;
}

/* Submit Button */
.auth-submit-btn {
    padding: 0.875rem 1.5rem;
    background-color: #212121;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 0.5rem;
}

/* OR Divider */
.auth-divider {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 16px 0;
	justify-content: center;
}
.divider-text {
    font-size: 16px;
    color: #344054;
    font-weight: 400;
}

/* Social Login */
.social-login {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 19px;
	margin-bottom: 25px;
	max-width: 218px;
	margin-left: auto;
	margin-right: auto;
}

.social-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0.625rem;
	background-color: white;
	border-radius: 5px;
	cursor: pointer;
	transition: all 0.2s;
	aspect-ratio: 1;
	width: 60px;
	height: 60px;
	box-shadow: 0px 1.2px 3.6px 0px #00000040;
}
.social-btn svg {
    width: 25px;
    height: 25px;
}

/* Footer Link */
.auth-footer-link {
	text-align: center;
	font-size: 16px;
	color: #737373;
}
.signup-link {
    color: var(--aradi-green);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
}

.signup-link:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .auth-container {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr;
    }

    .auth-image-side {
        min-height: 40vh;
        padding: 2rem;
    }

    .auth-form-side {
        padding: 2rem;
    }

    .auth-form-container {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .auth-form-side {
        padding: 1.5rem;
    }

    .auth-form-title {
        font-size: 1.5rem;
    }

    .overlay-circle {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }

    .auth-form {
        gap: 1rem;
    }

    .form-input {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }

    .auth-submit-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
    }

    .social-login {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .auth-divider {
        margin: 1.5rem 0;
    }

    /* .aradi-logo {
        margin-bottom: 1.5rem;
    } */

    .logo-icon {
        width: 28px;
        height: 28px;
    }

    .logo-text {
        font-size: 1.1rem;
    }
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1rem;
}

.modal-container {
    background-color: white;
    border-radius: 16px;
    padding: 2.5rem;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    position: relative;
}

.modal-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
}

.confetti {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    pointer-events: none;
}

.confetti-piece {
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: #d1d5db;
    border-radius: 2px;
}

.confetti-piece:nth-child(1) {
    top: 10%;
    left: 15%;
    animation: float 2s ease-in-out infinite;
}

.confetti-piece:nth-child(2) {
    top: 20%;
    right: 20%;
    animation: float 2.5s ease-in-out infinite;
}

.confetti-piece:nth-child(3) {
    bottom: 20%;
    left: 20%;
    animation: float 2.3s ease-in-out infinite;
}

.confetti-piece:nth-child(4) {
    bottom: 15%;
    right: 15%;
    animation: float 2.7s ease-in-out infinite;
}

.confetti-piece:nth-child(5) {
    top: 50%;
    left: 5%;
    animation: float 2.1s ease-in-out infinite;
}

.confetti-piece:nth-child(6) {
    top: 50%;
    right: 5%;
    animation: float 2.4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: translateY(-10px) rotate(180deg);
        opacity: 0.8;
    }
}

.modal-content {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #212121;
    margin-bottom: 1rem;
}

.modal-description {
    font-size: 0.9375rem;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

.modal-description strong {
    color: #212121;
    font-weight: 600;
}

.modal-button {
    width: 100%;
    padding: 0.875rem 1.5rem;
    background-color: #2c2c2c;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.modal-button:hover {
    background-color: #212121;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* OTP Modal Styles */
.otp-modal-container {
	background-color: white;
	border-radius: 30px;
	padding: 86px 65px;
	max-width: 483px;
	width: 100%;
	position: relative;
}
.close-modal-btn {
	position: absolute;
	top: 20px;
	right: 20px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s;
	color: #222B45;
}

.otp-modal-content {
    margin-top: 1rem;
}
.otp-modal-title {
	font-size: 24px;
	font-weight: 600;
	color: #212121;
	margin-bottom: 10px;
	text-align: left;
	line-height: 1;
}
.otp-modal-description {
	font-size: 16px;
	color: #344054;
	line-height: 1.4;
	margin-bottom: 29px;
	text-align: left;
}
.otp-input-container {
	display: flex;
	gap: 12px;
	justify-content: center;
	margin-bottom: 42px;
}
.otp-input {
	width: 48px;
	height: 48px;
	border: 1px solid #D0D5DD;
	border-radius: 8px;
	text-align: center;
	font-size: 20px;
	font-weight: 600;
	color: #344054;
	transition: all 0.2s;
	background-color: white;
}
.otp-input:focus {
    outline: none;
    border-color: #2D5A27;
    box-shadow: 0 0 0 3px rgba(45, 90, 39, 0.1);
}

.otp-timer {
	text-align: center;
	margin-bottom: 20px;
	font-size: 16px;
	color: #6C7888;
}
.otp-timer span {
    font-weight: 600;
}

.otp-submit-btn {
	width: 100%;
	background-color: #000000DE;
	color: white;
	border: none;
	border-radius: 12px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s;
	height: 50px;
}
.otp-submit-btn:disabled {
    background-color: #d1d5db;
    cursor: not-allowed;
}

/* Welcome Modal Styles */
.welcome-modal-container {
    background-color: white;
    border-radius: 16px;
    padding: 3rem;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    position: relative;
    border: 1px solid #e5e7eb;
}

.welcome-modal-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
}

.welcome-dots {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140%;
    height: 140%;
    pointer-events: none;
}

.welcome-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: #d1d5db;
    border-radius: 50%;
    opacity: 0.7;
}

.welcome-dot:nth-child(1) {
    top: 5%;
    left: 10%;
}

.welcome-dot:nth-child(2) {
    top: 15%;
    right: 15%;
}

.welcome-dot:nth-child(3) {
    bottom: 20%;
    left: 15%;
}

.welcome-dot:nth-child(4) {
    bottom: 15%;
    right: 10%;
}

.welcome-dot:nth-child(5) {
    top: 50%;
    left: 5%;
}

.welcome-dot:nth-child(6) {
    top: 50%;
    right: 5%;
}

.welcome-dot:nth-child(7) {
    top: 25%;
    right: 50%;
}

.welcome-dot:nth-child(8) {
    bottom: 25%;
    right: 50%;
}

.welcome-modal-content {
    text-align: center;
    margin-bottom: 2rem;
}

.welcome-modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #212121;
    margin-bottom: 1rem;
}

.welcome-modal-description {
    font-size: 0.9375rem;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

.welcome-modal-button {
    width: 100%;
    padding: 0.875rem 1.5rem;
    background-color: #2c2c2c;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.welcome-modal-button:hover {
    background-color: #212121;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.auth-form .form-label {
	font-size: 12px;
	font-weight: 500;
	color: #000000DE;
	margin-bottom: 6px;
}

.auth-form .form-input, .auth-form select {
	background: #EDEDED;
	border-radius: 10px;
	height: 49px;
	margin-bottom: 21px;
    font-size: 12px;
    font-weight: 400;
    padding: 1rem;
}
.auth-form .form-options {
	margin-bottom: 40px;
}
.auth-form .checkbox-label span {
	font-size: 14px;
	font-weight: 400;
	color: #6B7084;
}
.auth-form .auth-submit-btn {
	margin: 0;
	border-radius: 12px;
	background: #000000DE;
	color: white;
	font-size: 16px;
	font-weight: 600;
	height: 50px;
}
.auth-form .forgot-password-link {
	font-size: 14px;
	font-weight: 500;
	color: var(--aradi-green);
}
/* Overlay */
.aradi_user_success_modal_overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.35);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

/* Modal Box */
.aradi_user_success_modal_box {
	background: #fff;
	width: 635px;
	padding: 150px 140px;
	border-radius: 30px;
	text-align: center;
}
.aradi_user_success_icon {
	margin-bottom: 27px;
	text-align: center;
	display: flex;
	justify-content: center;
}
.aradi_user_success_title {
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 8px;
	color: #050D2B;
}
.aradi_user_success_text {
	font-size: 14px;
	color: #6B7084;
	line-height: 1.5;
	margin-bottom: 20px;
	font-weight: 500;
}
.aradi_user_success_text strong {
	color: var(--aradi-green);
	font-weight: 500;
}
.aradi_user_success_button {
	width: 100%;
	padding: 14px;
	background: #000000DE;
	color: #fff;
	font-size: 16px;
	border: none;
	border-radius: 12px;
	cursor: pointer;
	height: 50px;
	font-weight: 600;
}
