/* ==========================================================================
   AlTorod Theme - Custom Styles
   ========================================================================== */

.p-12 {
	padding: 12px 0;
}

.auth-main {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: calc(100vh - 150px);
	padding: 20px 0 60px 0;
}

.card {
	background: #ffffff;
	border-radius: 12px !important;
}

.d-flex {
	display: flex !important;
}

.justify-content-between {
	justify-content: space-between !important;
}

.justify-content-center {
	justify-content: center !important;
}

.justify-content-end {
	justify-content: flex-end !important;
}

.align-items-center {
	align-items: center !important;
}

.form p.fieldset {
	position: relative;
	margin-bottom: 20px !important;
}

.form p.fieldset input[type="email"],
.form p.fieldset input[type="password"],
.form p.fieldset input[type="text"] {
	border-top: 0 !important;
	border-left: 0 !important;
	border-right: 0 !important;
	border-bottom: 1px solid #d1d5db !important;
	border-radius: 0 !important;
	background-color: transparent !important;
	box-shadow: none !important;
	outline: none !important;
	-webkit-appearance: none;
	appearance: none;
	padding: 8px 0px 8px 0px !important;
	width: 100% !important;
}

.form p.fieldset input[type="email"]:focus,
.form p.fieldset input[type="password"]:focus,
.form p.fieldset input[type="text"]:focus {
	border-top: 0 !important;
	border-left: 0 !important;
	border-right: 0 !important;
	border-bottom: 2px solid var(--main-color, #2b78c4) !important;
	box-shadow: none !important;
	outline: none !important;
}

.form p.fieldset input[type="email"].is-invalid,
.form p.fieldset input[type="password"].is-invalid,
.form p.fieldset input[type="text"].is-invalid,
.form p.fieldset input[type="email"].error,
.form p.fieldset input[type="password"].error,
.form p.fieldset input[type="text"].error {
	border-top: 0 !important;
	border-left: 0 !important;
	border-right: 0 !important;
	border-bottom: 1px solid #dc2626 !important;
	box-shadow: none !important;
}

.btn-submit-login,
.btn-submit-forgot,
.btn-submit-reset,
.btn-submit,
.form input[type="submit"],
.form input.full-width[type="submit"],
.form input.btn-submit {
	background: var(--main-color, #2b78c4) !important;
	color: #ffffff !important;
	border-radius: 8px !important;
	border: none !important;
	padding: 10px 0 !important;
	font-weight: 500 !important;
	font-size: 15px !important;
	width: 100% !important;
	cursor: pointer !important;
	transition: all 0.3s ease !important;
}

.btn-submit-login:hover,
.btn-submit-forgot:hover,
.btn-submit-reset:hover,
.btn-submit:hover,
.form input[type="submit"]:hover,
.form input.btn-submit:hover {
	opacity: 0.9 !important;
}

.btn-submit-login:disabled,
.btn-submit-forgot:disabled,
.btn-submit-reset:disabled,
.btn-submit:disabled,
.form input[type="submit"]:disabled {
	opacity: 0.55 !important;
	cursor: not-allowed !important;
}

.errorcss {
	color: #dc2626 !important;
	font-size: 13px !important;
	margin-top: 4px !important;
	margin-bottom: 10px !important;
	display: flex !important;
	align-items: center !important;
}

.errorcss i {
	margin-right: 5px;
	margin-left: 0;
}

[dir="rtl"] .errorcss i {
	margin-right: 0;
	margin-left: 5px;
}

.field-icon.toggle-password {
	cursor: pointer;
	position: absolute;
	top: 14px;
	right: 15px;
	left: auto;
	z-index: 10;
}

[dir="rtl"] .field-icon.toggle-password {
	right: auto;
	left: 15px;
}

.forgot_password {
	text-align: right;
	margin-bottom: 15px;
}

[dir="rtl"] .forgot_password {
	text-align: left;
}

.forgot_password a {
	color: var(--main-color, #2b78c4);
	font-size: 14px;
	text-decoration: none;
}

.text-primary-dynamic {
	color: var(--main-color, #2b78c4) !important;
}

.form-bottom-message {
	font-size: 14px;
}

.form-bottom-message a {
	margin-inline-start: 4px;
	text-decoration: none;
}

.strength-progress {
	height: 4px;
	background: #e9ecef;
	border-radius: 2px;
	margin-top: 6px;
	margin-bottom: 12px;
	overflow: hidden;
}

.strength-progress-bar {
	height: 100%;
	width: 0;
	transition: width 0.3s ease, background-color 0.3s ease;
}

.password-rules-list {
	background: #ffffff;
	border: 1px solid #e9ecef;
	box-shadow: 0 4px 12px rgba(0,0,0,0.1);
	border-radius: 8px;
	padding: 12px;
	z-index: 100;
	width: 260px;
}

.password-rules-list p {
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 6px;
	color: #333333;
}

.password-rules-list li {
	font-size: 12px;
	color: #6c757d;
	display: flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 4px;
}

.password-rules-list li.rule-valid {
	color: #10b981;
}

.btn-back-to-login {
	font-size: 14px;
	color: #4b5563 !important;
	font-weight: 500;
	transition: color 0.2s ease;
}

.btn-back-to-login:hover {
	color: var(--main-color, #9333ea) !important;
}

/* OTP Verification */
.otp-digit-group {
	display: flex !important;
	justify-content: center !important;
	align-items: center !important;
	gap: 12px;
	margin: 25px 0 !important;
	text-align: center;
}

.otp-input {
	width: 54px !important;
	height: 58px !important;
	font-size: 24px !important;
	border-radius: 12px !important;
	text-align: center !important;
	display: inline-block !important;
	border: 1px solid #d1d5db !important;
	background-color: #ffffff !important;
	font-weight: 700 !important;
	padding: 0 !important;
	margin: 0 4px !important;
	box-sizing: border-box !important;
	transition: all 0.2s ease-in-out;
}

.otp-input:focus {
	border-color: var(--main-color, #a855f7) !important;
	background-color: #ffffff !important;
	box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.2) !important;
	outline: none !important;
}

.btn-submit-otp {
	background: var(--main-color, #a855f7) !important;
	color: #ffffff !important;
	border-radius: 12px !important;
	border: none !important;
	padding: 12px 0 !important;
	font-weight: 600 !important;
	font-size: 16px !important;
	cursor: pointer !important;
	transition: all 0.3s ease !important;
}

.btn-submit-otp:disabled,
.btn-submit-otp.disabled {
	opacity: 0.55 !important;
	cursor: not-allowed !important;
}

.btn-submit-otp:not(:disabled):hover {
	opacity: 0.95 !important;
}