/* Harrisland Cast Scheduler - front-end styles (matches HLS Auditions look) */

.hcs-wrap {
	max-width: 1100px;
	margin: 0 auto;
	padding: 24px;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 6px;
	font-family: inherit;
	box-sizing: border-box;
}

.hcs-company-branding {
	text-align: center;
	margin-bottom: 18px;
	padding-bottom: 16px;
	border-bottom: 1px solid #eee;
}
.hcs-company-logo {
	max-height: 90px;
	max-width: 100%;
	height: auto;
	display: inline-block;
	margin-bottom: 8px;
}
.hcs-company-name {
	font-size: 18px;
	font-weight: 700;
	letter-spacing: .3px;
	color: #333;
}

.hcs-header h2 {
	text-align: center;
	margin: 0 0 4px;
	letter-spacing: .5px;
}
.hcs-subtitle {
	text-align: center;
	color: #666;
	margin-top: 0;
}
.hcs-hint { font-weight: 400; color: #888; font-size: 12px; }

.hcs-notice {
	padding: 12px 16px;
	border-radius: 4px;
	margin-bottom: 18px;
	font-weight: 600;
}
.hcs-notice.hcs-success { background: #e6f6e9; border: 1px solid #34a853; color: #1e7d32; }
.hcs-notice.hcs-error { background: #fdecea; border: 1px solid #d93025; color: #b3261e; }

.hcs-section-title {
	margin-top: 28px;
	margin-bottom: 6px;
	border-bottom: 2px solid #b88a2e;
	padding-bottom: 5px;
	color: #b88a2e;
	text-transform: uppercase;
	letter-spacing: .4px;
	font-size: 15px;
}

.hcs-row {
	display: grid;
	gap: 16px;
	margin-bottom: 16px;
}
.hcs-row-2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 700px) { .hcs-row-2 { grid-template-columns: 1fr; } }

.hcs-wrap label {
	display: flex;
	flex-direction: column;
	font-weight: 600;
	font-size: 13px;
	color: #333;
	gap: 4px;
}
.hcs-wrap input[type="text"],
.hcs-wrap input[type="email"],
.hcs-wrap input[type="date"],
.hcs-wrap input[type="tel"],
.hcs-wrap select {
	padding: 8px 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 14px;
	font-weight: 400;
	width: 100%;
	box-sizing: border-box;
}

.hcs-btn {
	display: inline-block;
	padding: 10px 22px;
	border-radius: 4px;
	border: none;
	font-weight: 700;
	cursor: pointer;
	font-size: 15px;
}
.hcs-btn-primary { background: #b88a2e; color: #fff; }
.hcs-btn-primary:hover { background: #9c7327; }

.hcs-table-scroll { overflow-x: auto; }

.hcs-avail-table {
	border-collapse: collapse;
	width: 100%;
	font-size: 13px;
	margin-bottom: 10px;
}
.hcs-avail-table th, .hcs-avail-table td {
	border: 1px solid #ddd;
	padding: 7px 9px;
	text-align: left;
	vertical-align: middle;
}
.hcs-avail-table th { background: #f5f0e6; }
.hcs-avail-table select { min-width: 140px; }

.hcs-schedule-public-table td { vertical-align: top; }

/* Cast-Admin editable grid (dates as columns) */
.hcs-grid-table th, .hcs-grid-table td { text-align: center; white-space: nowrap; }
.hcs-grid-table td:first-child, .hcs-grid-table th:first-child { text-align: left; white-space: nowrap; }
.hcs-status-select { font-size: 12px; padding: 3px 4px; min-width: 110px; }
.hcs-status-available { background: #e6f6e9; }
.hcs-status-unavailable { background: #fdecea; }

/* Performance schedule grid (fixed part rows, one column per performance date) */
.hcs-performance-grid { border-collapse: collapse; }
.hcs-performance-grid th, .hcs-performance-grid td { text-align: center; vertical-align: top; }
.hcs-performance-grid th:first-child, .hcs-performance-grid td:first-child {
	text-align: left;
	white-space: nowrap;
	background: #f5f0e6;
	position: sticky;
	left: 0;
	z-index: 1;
}
.hcs-performance-grid select { min-width: 150px; font-size: 12px; }

/* Danger Zone (wp-admin only) */
.hcs-danger-zone {
	margin-top: 28px;
	padding: 16px 20px;
	background: #fdecea;
	border: 1px solid #d63638;
	border-radius: 6px;
}
.hcs-danger-zone h3 { margin-top: 0; color: #b32d2e; }
.hcs-danger-zone p { color: #444; }

/* Attendance check-in ([hcs_checkin]) */
.hcs-checkin-card {
	border: 1px solid #ddd;
	border-radius: 6px;
	padding: 18px 20px;
	margin-bottom: 16px;
	text-align: center;
}
.hcs-checkin-card h3 {
	margin: 0 0 10px;
	letter-spacing: .4px;
	color: #b88a2e;
}
.hcs-checkin-done {
	font-weight: 700;
	color: #1e7d32;
	font-size: 16px;
	margin: 0;
}
.hcs-geo-status {
	font-size: 13px;
	color: #888;
	margin: 0 0 12px;
}
.hcs-geo-status.hcs-geo-yes { color: #1e7d32; }
.hcs-geo-status.hcs-geo-no, .hcs-geo-status.hcs-geo-unknown { color: #8a6d3b; }
.hcs-btn-checkin {
	background: #34a853;
	color: #fff;
	font-size: 18px;
	padding: 14px 32px;
}
.hcs-btn-checkin:hover { background: #2c8c46; }

/* Attendance admin tab */
.hcs-attendance-summary {
	font-weight: 700;
	margin-bottom: 12px;
}
.hcs-attendance-checked { background: #e6f6e9; }
.hcs-attendance-form { display: inline-block; margin: 0; }
.hcs-attendance-btn {
	font-size: 12px;
	padding: 3px 10px;
	border-radius: 3px;
	border: 1px solid #ccc;
	background: #f5f0e6;
	cursor: pointer;
}
.hcs-qr-print-item {
	display: inline-block;
	text-align: center;
	margin: 8px;
	padding: 10px;
	border: 1px solid #ddd;
	border-radius: 4px;
	width: 160px;
	vertical-align: top;
}
.hcs-qr-print-item .hcs-qrcode { display: block; margin: 0 auto 6px; }
.hcs-qr-print-item .hcs-qr-name { font-size: 12px; font-weight: 600; }
