.sf-auth {
	max-width: 460px;
	margin: 3.5rem auto;
	padding: 2rem;
	font-family: "Source Sans Pro", "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Arial, sans-serif;
	color: #111;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.sf-auth__title {
	margin: 0 0 0.75rem;
	text-align: center;
	font-size: 1.5rem;
	font-weight: 700;
	color: #0f172a;
}

.sf-auth__subtitle {
	margin: 0 0 1.5rem;
	text-align: center;
	font-size: 0.95rem;
	color: #475569;
}

.sf-form {
	margin: 0;
}

.sf-form p {
	margin: 0 0 1rem;
}

.sf-form label {
	display: block;
	margin-bottom: 0.4rem;
	font-size: 0.85rem;
	font-weight: 600;
	color: #0f172a;
}

.sf-form input[type="email"],
.sf-form input[type="password"],
.sf-form input[type="text"] {
	width: 100%;
	padding: 0.75rem 0.9rem;
	border: 1px solid #d0d7de;
	border-radius: 12px;
	font-size: 1rem;
	color: #0f172a;
	background: #fff;
}

.sf-form input[type="email"]:focus,
.sf-form input[type="password"]:focus,
.sf-form input[type="text"]:focus {
	outline: none;
	border-color: #2563eb;
	box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

.sf-login__email {
	margin: 0 0 1rem;
	padding: 0.65rem 0.85rem;
	border-radius: 10px;
	background: #f1f5f9;
	color: #0f172a;
	font-weight: 600;
	text-align: center;
}

.sf-auth__divider {
	position: relative;
	text-align: center;
	margin: 1.25rem 0;
}

.sf-auth__divider::before,
.sf-auth__divider::after {
	content: "";
	position: absolute;
	top: 50%;
	width: 40%;
	height: 1px;
	background: #e2e8f0;
}

.sf-auth__divider::before {
	left: 0;
}

.sf-auth__divider::after {
	right: 0;
}

.sf-auth__divider span {
	display: inline-block;
	padding: 0 0.6rem;
	font-size: 0.8rem;
	color: #94a3b8;
	background: #fff;
}

.sf-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 0.75rem 1rem;
	border-radius: 999px;
	font-size: 0.95rem;
	font-weight: 600;
	border: 1px solid transparent;
	cursor: pointer;
	text-decoration: none;
}

.sf-button--primary {
	background: #0f172a;
	color: #fff;
}

.sf-button--secondary {
	background: #fff;
	color: #0f172a;
	border-color: #d0d7de;
}

.sf-providers {
	display: grid;
	gap: 0.75rem;
	margin: 0;
}

.sf-provider-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	width: 100%;
	padding: 0.75rem 1rem;
	border-radius: 12px;
	border: 1px solid #d0d7de;
	background: #fff;
	color: #0f172a;
	font-weight: 600;
	text-decoration: none;
	transition: box-shadow 150ms ease, transform 150ms ease;
}

.sf-provider-btn:hover,
.sf-provider-btn:focus {
	transform: translateY(-1px);
	box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
}

.sf-provider-btn--kakao {
	background: #fee500;
	border-color: #fee500;
	color: #191600;
}

.sf-provider-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
}

.sf-notice {
	margin: 0 0 1rem;
	padding: 0.75rem 1rem;
	border-radius: 10px;
	font-size: 0.9rem;
}

.sf-notice--error {
	background: #fee2e2;
	color: #991b1b;
}

.sf-notice--success {
	background: #dcfce7;
	color: #166534;
}

.sf-notice ul {
	margin: 0;
	padding-left: 1.1rem;
}

.sf-auth__actions {
	display: grid;
	gap: 0.6rem;
	margin-top: 1.25rem;
}

.sf-auth__footer {
	margin-top: 1.25rem;
	text-align: center;
	font-size: 0.9rem;
	color: #475569;
}

.sf-auth__footer a {
	color: #0f172a;
	font-weight: 600;
	text-decoration: none;
}

.sf-summary {
	margin: 0 0 1.25rem;
	padding-left: 1.1rem;
	color: #0f172a;
}

.sf-card {
	padding: 1.25rem 1.5rem;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	background: #fff;
	margin-top: 1rem;
	box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
}

.sf-card h3 {
	margin: 0 0 0.75rem;
	font-size: 1.05rem;
	font-weight: 700;
	color: #0f172a;
}

.sf-card--subtle {
	border-color: #e2e8f0;
	background: #f8fafc;
}

.sf-account__profile,
.sf-account__providers {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 0.6rem;
	font-size: 0.95rem;
}

.sf-account__providers li {
	display: grid;
	gap: 0.75rem;
	align-items: center;
}

.sf-account__profile li {
	display: grid;
	grid-template-columns: 90px 1fr;
	gap: 0.75rem;
	align-items: center;
}

.sf-account__label {
	font-weight: 600;
	color: #0f172a;
}

.sf-account__value {
	color: #0f172a;
}

.sf-account__status {
	font-size: 0.8rem;
	font-weight: 600;
	padding: 0.2rem 0.6rem;
	border-radius: 999px;
	background: #f1f5f9;
	color: #475569;
}

.sf-account__status--on {
	background: #dcfce7;
	color: #166534;
}

.sf-account__hint {
	display: block;
	font-size: 0.8rem;
	color: #64748b;
	grid-column: 1 / -1;
}

.sf-account .sf-form {
	margin: 0;
}

.sf-account__danger-text {
	margin: 0 0 0.9rem;
	font-size: 0.9rem;
	color: #7f1d1d;
}

.sf-account__danger-actions {
	display: flex;
	justify-content: flex-end;
}

.sf-button--ghost {
	background: transparent;
	color: #475569;
	border: 1px solid #cbd5f5;
}

.sf-button--ghost:hover,
.sf-button--ghost:focus {
	color: #0f172a;
	border-color: #94a3b8;
}

.sf-account__confirm {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.9rem;
	font-size: 0.85rem;
	color: #7f1d1d;
}

.sf-button--danger {
	background: #dc2626;
	color: #fff;
	border-color: transparent;
}

.sf-button--danger:hover,
.sf-button--danger:focus {
	background: #b91c1c;
}

.sf-modal {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
}

.sf-modal[hidden] {
	display: none;
}

.sf-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.6);
}

.sf-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(520px, 90vw);
	background: #fff;
	border-radius: 16px;
	padding: 1.5rem;
	box-shadow: 0 20px 60px rgba(15, 23, 42, 0.25);
}

.sf-modal__dialog h3 {
	margin: 0 0 0.6rem;
	font-size: 1.1rem;
}

.sf-modal__close {
	position: absolute;
	top: 10px;
	right: 12px;
	border: none;
	background: transparent;
	font-size: 1.4rem;
	color: #64748b;
	cursor: pointer;
}

.sf-modal__actions {
	display: flex;
	justify-content: flex-end;
	gap: 0.6rem;
	margin-top: 1rem;
}

.sf-account .sf-provider-btn {
	width: 100%;
	justify-content: center;
	padding: 0.6rem 1rem;
	border-radius: 999px;
	font-size: 0.85rem;
	min-height: 44px;
}
