html,
body {
	height: 100% ;
	margin: 0 ;
}

html {
	font-size: 16px ;
	background-image: linear-gradient(to bottom right, #eff6ff,#ffffff,#faf5ff) ;
}

body {
	min-height: 100vh ;
    min-height: 100dvh ;
	padding: 0 1rem ;
	justify-content: center ;
	align-items: center ;
	display: flex ;
	margin: 0  ;
	box-sizing: border-box  ;
}

.slog-wrap {
	max-width: 27rem;
	width: 100%;
}

.slog-login-box {
	padding: 2rem;
	background-color: rgba(255, 255, 255, 0.92);
	background-color: rgb(255 255 255 / 0.8);
	border-radius: 1rem;
/*	box-shadow: 0 0 #0000, 0 0 #0000, 0 25px 50px -12px rgb(0 0 0 / 0.25);  */
	border: 1px solid #e0e0e2;
	transition-duration: 500ms;
	transition-property: all;
	transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
	-webkit-backdrop-filter: blur(16px);
	backdrop-filter: blur(16px);
}



.slog-form-title h2 {
	color: transparent;
	font-weight: 700;
	font-size: 1.2rem;
	line-height: 2.25rem;
	-webkit-background-clip: text;
	background-clip: text;
	background-color:#0c0c0c ;
	margin: 0;
}

.slog-form-title p {
	color: rgb(107 114 128 / 1);
	margin-top: 1.5rem;
	margin-bottom: 0;
}

.slog-form-row {
	position: relative;
	margin-top: 1.5rem;
}

.slog-login-form input {
	padding-right: 1rem;
	padding-left: 2.5rem;
	padding-top: 0.75rem;
	padding-bottom: 0.75rem;
	width: 100%;
	font-size: 1rem;
}

.slog-wrap input {
	transition-property: all;
	transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
	transition-duration: 150ms;
	background-color: rgb(255 255 255 / 0.5);
	border-color: rgb(229 231 235 / 1);
	border-width: 2px;
	border-radius: 0.75rem;
	font-family: inherit;
	line-height: inherit;
	color: inherit;
	border-style: solid;
	box-sizing: border-box;
	text-align:right;
}

.slog-wrap input:focus {
	box-shadow: 0 0 0 0px #fff, 0 0 0 calc(2px + 0px) #ef4056, 0 0 #0000;
	outline: 2px solid transparent;
	outline-offset: 2px;
	border-color: transparent;
}

.slog-button {
    transition: all 0.2s ease;
	margin-top: 1.5rem;
	padding-top: 0.75rem;
	padding-bottom: 0.75rem;
	color: rgb(255 255 255 / 1);
	background-color:#f6434b;
	border-width: 0;
	border-radius: 0.75rem;
	width: 100%;
	font-size: 100%;
	font-family: inherit;
	line-height: inherit;
	cursor: pointer;
}



.slog-text {
	color: rgb(75 85 99 / 1);
	font-size: 0.875rem;
	line-height: 1.25rem;
	margin-top: 1.5rem;
	margin-bottom: 0;
}

.slog-text a {
	color: #0C4DA2;
	font-weight:600;
}


.slog-otp-fields {
	display: flex;
	align-items: center;
	justify-content: space-between;
	direction: ltr;
}

.slog-otp-fields input {
	width: 3rem;
	height: 3rem;
	text-align: center;
	font-size: 1.5rem;
	background-color: rgb(241 245 249 / 1)  ;
	border-width: 0  ;
	border-radius: 0.5rem  ;
}

#slog-otp-form {
	display: none;
}

.slog-notification {
	position: fixed;
	top: 1rem;
	right: 1rem;
	background: #2563eb;
	color: white;
	padding: 1rem 1.5rem;
	border-radius: 0.5rem;
	box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
	font-size: 0.95rem;
	z-index: 9999;
	opacity: 0;
	transform: translateY(-20px);
	transition: all 0.4s ease;
}

.slog-notification.show {
	opacity: 1;
	transform: translateY(0);
}

.slog-notification.error {
	background: #dc2626;
}

.slog-notification.success {
	background: #16a34a;
}

.slog-wrap form button.is-loading {
    padding-right: 2.5rem;
	opacity: 0.7;
	cursor: wait;
	pointer-events: none;
	position: relative;
}

.slog-wrap form button.is-loading::after {
	content: '';
	position: absolute;
	top: 50%;
	right: 1.25rem;
	width: 1rem;
	height: 1rem;
	border: 2px solid rgb(255 255 255 / 0.9);
	border-top-color: transparent;
	border-radius: 50%;
	transform: translateY(-50%);
	animation: slog-spin 0.8s linear infinite;
}

@keyframes slog-spin {
	from {
		transform: translateY(-50%) rotate(0deg);
	}
	to {
		transform: translateY(-50%) rotate(360deg);
	}
}

@media (prefers-reduced-motion: reduce) {
    .slog-wrap form button.is-loading::after {
        animation-duration: 1.6s;
    }
}


.sms-login-form {
    display: flex;
    flex-direction: column;
    align-items: center; /* همه آیتم‌ها وسط‌چین افقی */
}

/* استایل ورودی موبایل */
.login-input {
    width: 300px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    text-align: center;
}

/* باکس reCAPTCHA وسط با همان عرض موبایل */
.recaptcha-box {
   
    display: flex;
    justify-content: center; /* وسط‌چین داخل باکس */
    margin-top: 15px;
}

.recaptcha-box > div {
    transform: scale(1); 
    transform-origin: center;
}

.slog-logo {
	display: flex;
	justify-content: center;
	margin-bottom: 1.5rem;
}

.slog-logo img {
	max-width: 160px;
	height: auto;
}

