/* PILLAW Library — front-end styles for forms, dashboard, and the
   [pillaw_grid] shortcode. Colors/type match the existing Elementor
   design (see the design folder's README): UEW blue #2C2B7C, UEW red
   #ED1C24, ink #1B1B2E, body grey #5C5C6E, page #FBFBFD, band #F3F3F9.
   Display type: Coda 800 · Body: Roboto 300/400/500. */

.pillaw-notice,
.pillaw-form-wrap,
.pillaw-dashboard {
	font-family: Roboto, Helvetica, Arial, sans-serif;
	color: #1B1B2E;
	max-width: 620px;
	margin: 0 auto;
	box-sizing: border-box;
}
.pillaw-notice * ,
.pillaw-form-wrap *,
.pillaw-dashboard * {
	box-sizing: border-box;
}

.pillaw-notice {
	padding: 20px 24px;
	background: #F3F3F9;
	border: 1px solid #E4E4EE;
	border-radius: 6px;
	font-size: 14.5px;
}

.pillaw-form-errors {
	background: #FDEDEE;
	border: 1px solid #F3C4C6;
	color: #9A1E24;
	border-radius: 6px;
	padding: 14px 18px;
	margin-bottom: 20px;
	font-size: 13.5px;
}
.pillaw-form-errors ul { margin: 0; padding-left: 18px; }

.pillaw-form-success {
	background: #EAF6EC;
	border: 1px solid #BFE3C5;
	color: #1A7A1A;
	border-radius: 6px;
	padding: 14px 18px;
	margin-bottom: 20px;
	font-size: 13.5px;
}

.pillaw-form {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.pillaw-form label {
	margin-top: 14px;
	font-size: 12.5px;
	font-weight: 500;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: #5C5C6E;
}
.pillaw-form input[type="text"],
.pillaw-form input[type="email"],
.pillaw-form input[type="password"],
.pillaw-form input[type="number"],
.pillaw-form input[type="url"],
.pillaw-form input[type="file"],
.pillaw-form select,
.pillaw-form textarea {
	font-family: Roboto, Helvetica, Arial, sans-serif;
	font-size: 15px;
	color: #1B1B2E;
	padding: 11px 13px;
	border: 1.5px solid #E4E4EE;
	border-radius: 4px;
	background: #fff;
	width: 100%;
}
.pillaw-form input:focus,
.pillaw-form select:focus,
.pillaw-form textarea:focus {
	outline: none;
	border-color: #2C2B7C;
}
.pillaw-form textarea { resize: vertical; }

.pillaw-role-choice {
	border: 0;
	margin: 14px 0 0;
	padding: 0;
	display: flex;
	gap: 20px;
}
.pillaw-role-choice legend {
	font-size: 12.5px;
	font-weight: 500;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: #5C5C6E;
	margin-bottom: 8px;
	width: 100%;
}
.pillaw-radio {
	display: flex;
	align-items: center;
	gap: 7px;
	font-size: 14px;
	text-transform: none;
	letter-spacing: normal;
}

.pillaw-form-note {
	font-size: 12.5px;
	color: #8A8A99;
	margin: 10px 0 0;
}

.pillaw-btn {
	margin-top: 22px;
	align-self: flex-start;
	background: #ED1C24;
	color: #fff;
	font-family: Roboto, Helvetica, Arial, sans-serif;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: .1em;
	text-transform: uppercase;
	padding: 14px 30px;
	border: 0;
	border-radius: 3px;
	cursor: pointer;
}
.pillaw-btn:hover { background: #C7161D; }

.pillaw-link {
	font-size: 13px;
	font-weight: 500;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: #2C2B7C;
	text-decoration: none;
	border-bottom: 2px solid transparent;
}
.pillaw-link:hover { color: #ED1C24; }
.pillaw-link--danger { color: #B32D2E; }
.pillaw-link--danger:hover { color: #7A1E1E; }

.pillaw-form-actions {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-top: 22px;
}

/* Dashboard */
.pillaw-dashboard { max-width: 1200px; }
.pillaw-dash-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 24px;
}
.pillaw-dash-card {
	border: 1px solid #E4E4EE;
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
	display: flex;
	flex-direction: column;
}
.pillaw-dash-thumb {
	aspect-ratio: 4 / 3;
	background-color: #EDEDF3;
	background-size: cover;
	background-position: center;
}
.pillaw-dash-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.pillaw-dash-body h3 { margin: 4px 0 0; font-family: Coda, Helvetica, sans-serif; font-size: 17px; }
.pillaw-dash-meta { margin: 0; font-family: ui-monospace, Menlo, monospace; font-size: 11px; color: #8A8A99; }
.pillaw-dash-hint { margin: 4px 0 0; font-size: 12.5px; color: #B32D2E; }
.pillaw-dash-actions { display: flex; gap: 16px; margin-top: 10px; }

.pillaw-status {
	display: inline-block;
	align-self: flex-start;
	font-family: ui-monospace, Menlo, monospace;
	font-size: 10.5px;
	letter-spacing: .08em;
	text-transform: uppercase;
	padding: 4px 9px;
	border-radius: 999px;
}
.pillaw-status--pending   { background: #FFF3D6; color: #8A5A00; }
.pillaw-status--published { background: #EAF6EC; color: #1A7A1A; }
.pillaw-status--rejected  { background: #FDEDEE; color: #9A1E24; }
.pillaw-status--draft     { background: #F3F3F9; color: #5C5C6E; }

.pillaw-empty { font-family: Roboto, Helvetica, Arial, sans-serif; color: #8A8A99; padding: 40px 0; text-align: center; }

/* [pillaw_grid] — matches pw-hp__grid/card in the homepage Elementor
   HTML so it looks identical wherever it's dropped (Collections,
   Featured, department archive pages, etc). Namespaced with pw-hp__
   on purpose, mirroring the existing design system. */
.pw-hp__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(212px, 1fr)); gap: 32px 26px; font-family: Roboto, Helvetica, Arial, sans-serif; }
.pw-hp__card { display: flex; flex-direction: column; gap: 5px; }
.pw-hp__thumb { aspect-ratio: 4 / 3; margin-bottom: 7px; background-color: #EDEDF3; background-size: cover; background-position: center; display: flex; align-items: flex-end; justify-content: space-between; padding: 12px; text-decoration: none !important; }
.pw-hp__thumb:hover { opacity: .86; }
.pw-hp__kind { font-family: ui-monospace, Menlo, monospace; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: #7E7E92; }
.pw-hp__play { width: 26px; height: 26px; border-radius: 50%; background: #ED1C24; }
.pw-hp__title { margin: 0; font-family: Coda, Helvetica, sans-serif; font-size: 17px; line-height: 1.3; }
.pw-hp__title a { color: #1B1B2E !important; text-decoration: none !important; }
.pw-hp__title a:hover { color: #ED1C24 !important; }
.pw-hp__by { margin: 0; font-size: 13px; color: #5C5C6E; }
.pw-hp__meta { margin: 0; font-family: ui-monospace, Menlo, monospace; font-size: 11px; color: #8A8A99; }
@media (max-width: 900px) {
	.pw-hp__grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 26px 18px; }
}

/* Fallback single-artwork template (templates/single-pillaw_artwork.php) */
.pillaw-single { font-family: Roboto, Helvetica, Arial, sans-serif; color: #1B1B2E; }
.pillaw-single__hero { width: 100%; aspect-ratio: 16 / 9; background-color: #EDEDF3; background-size: cover; background-position: center; }
.pillaw-single__body { max-width: 760px; margin: 0 auto; padding: 48px 24px 80px; }
.pillaw-single__dept { font-family: ui-monospace, Menlo, monospace; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #2C2B7C; }
.pillaw-single__title { font-family: Coda, Helvetica, sans-serif; font-weight: 800; font-size: clamp(28px, 4vw, 42px); margin: 10px 0 6px; }
.pillaw-single__by { font-size: 15px; color: #5C5C6E; margin: 0 0 4px; }
.pillaw-single__meta { font-family: ui-monospace, Menlo, monospace; font-size: 12px; color: #8A8A99; margin: 0 0 28px; }
.pillaw-single__desc { font-size: 15.5px; line-height: 1.75; color: #1B1B2E; margin-bottom: 32px; }
.pillaw-single__gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; margin-bottom: 32px; }
.pillaw-single__gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.pillaw-single__back a { font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: #2C2B7C; text-decoration: none; }
.pillaw-single__back a:hover { color: #ED1C24; }
