/**
 * RSA Tech admin auth styles.
 */

.rsatech-auth-panel {
	max-width: none;
	width: 100%;
}

.rsatech-auth-card {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	padding: 28px;
	box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.rsatech-auth-form label {
	display: block;
	font-weight: 600;
	margin-bottom: 6px;
	color: #0f172a;
}

.rsatech-auth-form .rsatech-input,
.rsatech-auth-form input[type="email"],
.rsatech-auth-form input[type="password"],
.rsatech-auth-form input[type="text"] {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #cbd5e1;
	border-radius: 10px;
}

.rsatech-alert {
	padding: 12px 16px;
	border-radius: 10px;
	margin-bottom: 16px;
}

.rsatech-alert--success {
	background: #ecfdf5;
	color: #065f46;
	border: 1px solid #a7f3d0;
}

.rsatech-alert--error {
	background: #fef2f2;
	color: #991b1b;
	border: 1px solid #fecaca;
}

.rsatech-auth-hint {
	font-size: 13px;
	color: #64748b;
	margin: 0;
	line-height: 1.45;
}

.rsatech-auth-form input[aria-invalid="true"] {
	border-color: #ef4444;
	box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.rsatech-profile-photo-row {
	display: flex;
	gap: 20px;
	align-items: center;
	padding: 18px;
}

.rsatech-profile-photo-preview {
	width: 96px;
	height: 96px;
	border-radius: 50%;
	object-fit: cover;
	border: 3px solid #e2e8f0;
}

.rsatech-audit-table-wrap {
	overflow-x: auto;
}

.rsatech-audit-table {
	width: 100%;
	border-collapse: collapse;
}

.rsatech-audit-table th,
.rsatech-audit-table td {
	padding: 10px 12px;
	text-align: left;
	vertical-align: top;
}

.rsatech-audit-browser {
	max-width: 220px;
	font-size: 12px;
	color: #64748b;
}

.rsatech-audit-badge {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	background: #f1f5f9;
	color: #334155;
}

.rsatech-audit-badge--login_failed,
.rsatech-audit-badge--password_reset_request {
	background: #fef3c7;
	color: #92400e;
}

.rsatech-audit-badge--login,
.rsatech-audit-badge--password_change,
.rsatech-audit-badge--password_reset_success,
.rsatech-audit-badge--profile_update {
	background: #ecfdf5;
	color: #065f46;
}

.rsatech-login-modal__forgot {
	display: block;
	text-align: center;
	margin-top: 14px;
	font-size: 13px;
}

.rsatech-login-modal__captcha {
	margin: 12px 0;
	padding: 12px;
	background: #f8fafc;
	border-radius: 10px;
	border: 1px solid #e2e8f0;
}

.rsatech-login-modal__captcha label {
	font-size: 13px;
	font-weight: 600;
}

.rsatech-login-modal__captcha input {
	width: 100%;
	margin-top: 6px;
	padding: 10px 12px;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
}

.rsatech-password-strength {
	height: 4px;
	border-radius: 4px;
	background: #e2e8f0;
	margin-top: 8px;
	overflow: hidden;
}

.rsatech-password-strength__bar {
	height: 100%;
	width: 0;
	background: #ef4444;
	transition: width 0.2s ease, background 0.2s ease;
}
