/* Puffafish Core – auth (register/login) styling.
   Intentionally minimal & token-friendly; the theme can override freely. */

.pf-auth { max-width: 28rem; margin: 0 auto; }
.pf-auth__title { margin: 0 0 .75rem; }
.pf-auth__form p { margin: 0 0 .75rem; }
.pf-auth__form label { display: block; font-size: .9rem; }
.pf-auth__form input[type="email"],
.pf-auth__form input[type="password"],
.pf-auth__form input[type="text"] {
	display: block;
	width: 100%;
	margin-top: .25rem;
	padding: .6rem .75rem;
	border: 1px solid rgba( 0, 0, 0, .25 );
	border-radius: 10px;
	font: inherit;
}
.pf-auth__checkbox { display: flex; align-items: center; gap: .5rem; }
.pf-auth__checkbox input { margin: 0; }
.pf-auth__submit {
	display: inline-block;
	padding: .65rem 1.25rem;
	border: 0;
	border-radius: 999px;
	background: #018940;
	color: #fff;
	font: inherit;
	cursor: pointer;
}
.pf-auth__submit:disabled { opacity: .6; cursor: default; }
.pf-auth__switch { font-size: .85rem; }
.pf-auth__messages { margin-bottom: .75rem; font-size: .9rem; }
.pf-auth__messages.is-error { color: #b3261e; }
.pf-auth__messages.is-success { color: #018940; }

/* Modal */
.pf-auth-modal[hidden] { display: none; }
.pf-auth-modal {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: grid;
	place-items: center;
	padding: 1rem;
}
.pf-auth-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba( 24, 48, 40, .6 );
}
.pf-auth-modal__dialog {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 30rem;
	max-height: 90vh;
	overflow: auto;
	background: #fffde9;
	border-radius: 20px;
	padding: 2rem 1.5rem 1.5rem;
	box-shadow: 0 20px 60px rgba( 0, 0, 0, .3 );
}
.pf-auth-modal__close {
	position: absolute;
	top: .5rem;
	right: .75rem;
	border: 0;
	background: transparent;
	font-size: 1.75rem;
	line-height: 1;
	cursor: pointer;
}
body.pf-auth-modal-open { overflow: hidden; }

/* Account status pills */
.pf-status { display: inline-block; padding: .1rem .55rem; border-radius: 999px; font-size: .8rem; }
.pf-status--publish { background: #d7f0df; color: #0a5d2c; }
.pf-status--pending { background: #fdeecb; color: #7a5a00; }
.pf-status--draft { background: #e6e6e6; color: #444; }
.pf-status--pf_rejected { background: #f6d6d3; color: #8a201a; }

.pf-account__table { width: 100%; border-collapse: collapse; }
.pf-account__table th,
.pf-account__table td { text-align: left; padding: .5rem .5rem; border-bottom: 1px solid rgba( 0, 0, 0, .1 ); }
.pf-account__header { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
