/* Locations Tas — base styles. Kept minimal and low-specificity on
   purpose so each widget can be fully restyled per page via Elementor's
   custom CSS panel (per widget) or the Elementor global custom CSS box. */

.lt-widget {
	box-sizing: border-box;
	font-size: 1em;
}
.lt-widget * {
	box-sizing: border-box;
}
/* Many themes/page builders add broad CSS (e.g. `div { display: block }`)
   that unintentionally overrides the native [hidden] attribute's very
   low-priority default styling. Pin it down so our show/hide toggles
   (specific-dates section, modal, tabs, etc.) always actually work. */
.lt-widget [hidden] {
	display: none !important;
}

.lt-field {
	margin: 0 0 1em;
}
.lt-field label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.25em;
}
.lt-field input[type="text"],
.lt-field input[type="email"],
.lt-field input[type="password"],
.lt-field input[type="date"],
.lt-field input[type="time"],
.lt-field textarea {
	width: 100%;
	padding: 0.6em 0.75em;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 1em;
}
.lt-field-hint {
	display: block;
	font-size: 0.85em;
	color: #666;
	margin-top: 0.25em;
}
.lt-field-row {
	display: flex;
	gap: 1em;
	flex-wrap: wrap;
}
.lt-field-row .lt-field {
	flex: 1 1 200px;
}

/* Honeypot — visually hidden but present in the DOM/tab order excluded */
.lt-hp-field {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.lt-btn {
	display: inline-block;
	padding: 0.7em 1.4em;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-weight: 600;
	text-decoration: none;
}
.lt-btn-primary {
	background: #1a7a3c;
	color: #fff;
}
.lt-btn-secondary {
	background: #eee;
	color: #222;
}
.lt-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.lt-form-msg {
	min-height: 1.2em;
	font-weight: 600;
}
.lt-msg-error {
	color: #b32d2e;
}
.lt-msg-success {
	color: #1a7a3c;
}

.lt-tabs {
	display: flex;
	gap: 0.5em;
	margin-bottom: 1em;
}
.lt-tab-btn {
	background: none;
	border: none;
	border-bottom: 2px solid transparent;
	padding: 0.5em 0.25em;
	cursor: pointer;
	font-weight: 600;
	opacity: 0.6;
}
.lt-tab-btn.active {
	opacity: 1;
	border-bottom-color: currentColor;
}

.lt-schedule {
	border: 1px solid #ddd;
	border-radius: 4px;
	padding: 1em;
	margin: 0 0 1em;
}
.lt-schedule legend {
	font-weight: 700;
	padding: 0 0.5em;
}
.lt-schedule-row {
	display: flex;
	align-items: center;
	gap: 1em;
	flex-wrap: wrap;
	padding: 0.4em 0;
	border-bottom: 1px solid #f0f0f0;
}
.lt-schedule-row:last-child {
	border-bottom: none;
}
.lt-schedule-day {
	flex: 0 0 130px;
	font-weight: 600;
}
.lt-schedule-time {
	display: flex;
	align-items: center;
	gap: 0.4em;
	font-size: 0.9em;
}

.lt-area-list-table {
	width: 100%;
	border-collapse: collapse;
}
.lt-area-list-table th,
.lt-area-list-table td {
	text-align: left;
	padding: 0.6em 0.8em;
	border-bottom: 1px solid #e5e5e5;
}
.lt-col-today {
	width: 90px;
	white-space: nowrap;
}
.lt-area-list-row {
	cursor: pointer;
}
.lt-area-list-row:hover {
	background: #fafafa;
}
.lt-area-list-row:focus-visible {
	outline: 2px solid #1a7a3c;
	outline-offset: -2px;
}
.lt-status-on {
	color: #1a7a3c;
	font-weight: 700;
}
.lt-status-off {
	color: #999;
}

/* Notes / details popup */
.lt-modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 100000;
	padding: 1em;
}
.lt-modal-box {
	background: #fff;
	border-radius: 6px;
	padding: 1.5em;
	max-width: 420px;
	width: 100%;
	position: relative;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.lt-modal-close {
	position: absolute;
	top: 0.5em;
	right: 0.75em;
	background: none;
	border: none;
	font-size: 1.5em;
	line-height: 1;
	cursor: pointer;
	color: #666;
}
.lt-modal-address {
	margin: 0 0 0.3em;
	padding-right: 1.5em;
}
.lt-modal-dates {
	color: #666;
	font-size: 0.9em;
	margin: 0 0 0.75em;
}
.lt-modal-notes {
	margin: 0;
	white-space: pre-wrap;
}
.lt-modal-schedule {
	color: #444;
	font-size: 0.9em;
	margin: 0 0 0.5em;
}
.lt-modal-social {
	margin: 0.5em 0 1em;
}
.lt-modal-open-maps {
	margin-top: 0.25em;
}
.lt-social-link {
	font-weight: 600;
	text-decoration: none;
	color: #1a5fb4;
}
.lt-social-link:hover {
	text-decoration: underline;
}

/* Set Specific Dates toggle + repeater */
.lt-specific-dates-toggle-field {
	background: #f6f9f6;
	border: 1px solid #e0ece0;
	border-radius: 4px;
	padding: 0.75em 1em;
}
.lt-specific-dates-toggle-field label {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	font-weight: 600;
	margin-bottom: 0;
}
.lt-specific-dates-toggle-field .lt-field-hint {
	margin-top: 0.35em;
}
.lt-specific-dates-section {
	border: 1px solid #ddd;
	border-radius: 4px;
	padding: 1em;
	margin: 0 0 1em;
}
.lt-specific-date-row {
	display: flex;
	align-items: flex-end;
	gap: 0.75em;
	flex-wrap: wrap;
	padding: 0.6em 0;
	border-bottom: 1px solid #f0f0f0;
}
.lt-specific-date-row:last-child {
	border-bottom: none;
}
.lt-specific-date-field {
	display: flex;
	flex-direction: column;
	gap: 0.25em;
}
.lt-specific-date-label {
	font-size: 0.8em;
	font-weight: 700;
	color: #555;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}
.lt-remove-specific-date {
	margin-left: auto;
	padding: 0.3em 0.7em;
	font-size: 1.1em;
	line-height: 1;
}
.lt-add-specific-date {
	margin-top: 0.5em;
}

.lt-map-canvas {
	width: 100%;
	border-radius: 4px;
}
.lt-map-infowindow {
	max-width: 220px;
}
.lt-map-infowindow-address {
	font-weight: 700;
	margin: 0 0 0.4em;
}
.lt-map-infowindow-notes,
.lt-map-infowindow-dates,
.lt-map-infowindow-schedule,
.lt-social-links {
	font-size: 0.9em;
	margin: 0 0 0.5em;
}

.lt-btn-danger {
	background: #b32d2e;
	color: #fff;
}

.lt-submission-row {
	border: 1px solid #e5e5e5;
	border-radius: 6px;
	padding: 1em;
	margin-bottom: 1em;
}
.lt-submission-summary-main {
	display: flex;
	align-items: center;
	gap: 0.75em;
	flex-wrap: wrap;
}
.lt-submission-address {
	font-weight: 700;
}
.lt-submission-status-badge {
	display: inline-block;
	padding: 0.15em 0.6em;
	border-radius: 999px;
	font-size: 0.8em;
	font-weight: 700;
}
.lt-status-approved {
	background: #e3f4e8;
	color: #1a7a3c;
}
.lt-status-pending {
	background: #fff3d6;
	color: #966400;
}
.lt-status-rejected {
	background: #fbeaea;
	color: #b32d2e;
}
.lt-submission-summary-dates {
	color: #666;
	font-size: 0.9em;
	margin: 0.3em 0;
}
.lt-submission-actions {
	margin-top: 0.5em;
	display: flex;
	gap: 0.5em;
}
.lt-edit-submission-form {
	margin-top: 1em;
	padding-top: 1em;
	border-top: 1px solid #eee;
}
.lt-edit-form-actions {
	display: flex;
	gap: 0.5em;
}

.lt-notice {
	padding: 1em;
	border-radius: 4px;
	background: #f6f6f6;
}
.lt-notice-error {
	background: #fbeaea;
	color: #b32d2e;
}
