@font-face {
	font-family: est;
	src: url(../../admin/css/fonts/est.woff2) format("woff2");
}  
:root {
    --al-green:    #1b6775;
    --al-green-lt: #114b5f;
    --al-green-tr: #b2efe1;
    --al-orange:   #f59e0b;
    --al-red:      #ef4444;
    --al-text:     #1e293b;
    --al-muted:    #64748b;
    --al-border:   #e2e8f0;
    --al-bg:       #f8fafc;
    --al-white:    #ffffff;
    --al-radius:   12px;
    --al-shadow:   0 2px 8px rgba(0,0,0,.08);
    --al-shadow-lg:0 8px 30px rgba(0,0,0,.12);
}
.alonak-auth , 
.alonak-auth [type="button"],
.alonak-auth td,
.alonak-auth tr,
.alonak-auth th,
.alonak-auth li,
.alonak-auth h1, 
.alonak-auth h2,
.alonak-auth h3,
.alonak-auth h4,
.alonak-auth h5,
.alonak-auth h6,
.alonak-auth p,
.alonak-auth span,
.alonak-auth label {
	font-family: est;
}
.alonak-auth {
    margin: 0 auto;
    max-width: 720px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    font-family: inherit;
    direction: rtl;
}

.alonak-auth__tabs {
	display: flex;
	gap: 6px;
	margin-bottom: 20px;
	border-bottom: 1px solid #e5e7eb;
	flex-wrap: wrap;
}
.alonak-auth__tab:hover {
    background: var(--al-green);
    border-bottom-color: var(--al-green);
    color: var(--al-white);
}
.alonak-auth__tab {
    border-radius: 8px 8px 0 0;
    flex: 1;
    min-width: 90px;
    background: none;
    border: none;
    padding: 10px 6px;
    font-size: 13px;
    color: #6b7280;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    border-bottom-color: var(--al-green);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 45px;
}

.alonak-auth__tab.is-active {
    color: var(--al-white);
    border-bottom-color: var(--al-green);
    font-weight: 600;
    background: var(--al-green);
}

.alonak-auth__panel { display: none; }
.alonak-auth__panel.is-active { display: block; }

.alonak-auth__input {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	font-size: 14px;
	margin-bottom: 14px;
	box-sizing: border-box;
}

.alonak-auth__otp-input {
	text-align: center;
	letter-spacing: 6px;
	font-size: 18px;
}

.alonak-auth label {
	display: block;
	font-size: 13px;
	color: #374151;
	margin-bottom: 6px;
}

.alonak-auth-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	padding: 11px 16px;
	border-radius: 8px;
	border: none;
	font-size: 14px;
	cursor: pointer;
	text-decoration: none;
	box-sizing: border-box;
}
.alonak-auth-btn:hover, .alonak-auth__switch-btn:hover {
    background: var(--al-green-lt);
    color: var(--al-white);
}
.alonak-auth-btn--primary {
    background: var(--al-green);
    color: var(--al-white);
}
.alonak-auth-btn--primary:disabled { opacity: 0.6; cursor: default; }

.alonak-auth-btn--outline {
	background: var(--al-white);
	border: 1px solid #d1d5db;
	color: #374151;
}

.alonak-auth-btn--link {
	background: none;
	color: var(--al-green);
	margin-top: 10px;
	font-size: 13px;
}
.alonak-auth-btn--link:disabled { color: #9ca3af; cursor: default; }

.alonak-auth-btn--google {
	background: var(--al-white);
	border: 1px solid #d1d5db;
	color: #374151;
	margin-top: 4px;
}

.alonak-auth-google-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #4285f4;
    color: var(--al-white);
    font-weight: 400;
    font-size: 16px;
    line-height: 1;
}

.alonak-auth__switch {
	display: flex;
	gap: 6px;
	margin-bottom: 16px;
	background: #f3f4f6;
	border-radius: 8px;
	padding: 4px;
}

.alonak-auth__switch-btn {
	flex: 1;
	border: none;
	background: none;
	padding: 8px;
	border-radius: 6px;
	cursor: pointer;
	font-size: 13px;
	color: #6b7280;
}
.alonak-auth__switch-btn.is-active {
	background: var(--al-white);
	color: #111827;
	font-weight: 600;
	box-shadow: 0 1px 2px rgba(0,0,0,0.06);
}

.alonak-auth__hint {
	font-size: 12px;
	color: #6b7280;
	margin-bottom: 10px;
}

.alonak-auth__terms {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	margin-bottom: 14px;
}
.alonak-auth__terms input { margin: 0; }

.alonak-auth__forgot {
	display: block;
	text-align: center;
	font-size: 12px;
	margin-top: 12px;
	color: #6b7280;
}

.alonak-auth__alert {
	padding: 10px 14px;
	border-radius: 8px;
	font-size: 13px;
	margin-bottom: 16px;
}
.alonak-auth__alert.is-error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.alonak-auth__alert.is-success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }

.alonak-auth-message {
	max-width: 420px;
	margin: 0 auto;
	text-align: center;
	padding: 24px;
	border-radius: 12px;
	border: 1px solid #e5e7eb;
}
.alonak-auth-message--success { background: #f0fdf4; border-color: #bbf7d0; }
.alonak-auth-message--warning { background: var(--al-white)beb; border-color: #fde68a; padding: 16px; }
.alonak-auth-message__icon { font-size: 32px; margin-bottom: 10px; }
