/* ============================================================================
 * Odavadriided Core — fallback styles.
 *
 * The Odavadriided child theme provides the full visual styling. This file
 * exists so the plugin's shortcodes still look passable when used with a
 * different theme. Variables here mirror the child theme defaults.
 * ========================================================================== */

:root {
	--odav-bg: #ffffff;
	--odav-bg-soft: #f7f6f3;
	--odav-text: #111111;
	--odav-text-muted: #6b6b6b;
	--odav-border: #e7e5e0;
	--odav-accent: #111111;
	--odav-accent-hover: #444444;
	--odav-danger: #b91c1c;
	--odav-success: #166534;
	--odav-radius: 0px;
}

.odav-form { display: flex; flex-direction: column; gap: 16px; max-width: 560px; }
.odav-field { display: flex; flex-direction: column; gap: 6px; }
.odav-field label { font-size: 13px; font-weight: 500; color: var(--odav-text); }
.odav-field .odav-help { font-size: 12px; color: var(--odav-text-muted); }
.odav-field input[type="text"],
.odav-field input[type="email"],
.odav-field input[type="number"],
.odav-field input[type="password"],
.odav-field input[type="file"],
.odav-field textarea,
.odav-field select {
	width: 100%;
	padding: 11px 14px;
	border: 1px solid var(--odav-border);
	background: #fff;
	font-size: 15px;
	color: var(--odav-text);
	border-radius: var(--odav-radius);
}
.odav-field textarea { min-height: 140px; resize: vertical; }
.odav-field input:focus, .odav-field textarea:focus, .odav-field select:focus {
	outline: none; border-color: var(--odav-text);
}

.odav-btn {
	display: inline-flex; align-items: center; justify-content: center;
	gap: 8px; padding: 11px 20px;
	font-size: 14px; font-weight: 500;
	background: var(--odav-accent); color: #fff;
	border: 1px solid var(--odav-accent);
	border-radius: var(--odav-radius);
	cursor: pointer; text-decoration: none; line-height: 1;
}
.odav-btn:hover { background: var(--odav-accent-hover); border-color: var(--odav-accent-hover); color: #fff; }
.odav-btn--ghost { background: transparent; color: var(--odav-text); border-color: var(--odav-border); }
.odav-btn--ghost:hover { background: var(--odav-bg-soft); color: var(--odav-text); }
.odav-btn--small { padding: 8px 14px; font-size: 13px; }
.odav-btn--block { width: 100%; }

.odav-notice {
	padding: 12px 14px; border-left: 3px solid var(--odav-accent);
	background: var(--odav-bg-soft); font-size: 14px; margin-bottom: 20px;
}
.odav-notice--success { border-left-color: var(--odav-success); }
.odav-notice--error { border-left-color: var(--odav-danger); color: var(--odav-danger); }

.odav-text-muted { color: var(--odav-text-muted); }
.odav-mt-1 { margin-top: 8px; } .odav-mt-2 { margin-top: 16px; }
.odav-mt-3 { margin-top: 24px; } .odav-mt-4 { margin-top: 32px; }

.odav-listings { border-top: 1px solid var(--odav-border); }
.odav-listing-row {
	display: grid; grid-template-columns: 80px 1fr auto; gap: 16px;
	align-items: center; padding: 14px 0;
	border-bottom: 1px solid var(--odav-border);
}
.odav-listing-row__media { width: 80px; height: 100px; background: var(--odav-bg-soft); overflow: hidden; }
.odav-listing-row__media img { width: 100%; height: 100%; object-fit: cover; }
.odav-listing-row__title { font-weight: 500; font-size: 15px; }
.odav-listing-row__meta { color: var(--odav-text-muted); font-size: 13px; }
.odav-listing-row__actions { display: flex; gap: 8px; }
@media (max-width: 600px) {
	.odav-listing-row { grid-template-columns: 64px 1fr; row-gap: 8px; }
	.odav-listing-row__media { width: 64px; height: 80px; }
	.odav-listing-row__actions { grid-column: 1 / -1; }
}

.odav-status {
	display: inline-block; font-size: 11px; letter-spacing: .05em;
	text-transform: uppercase; padding: 2px 8px;
	background: var(--odav-bg-soft); border: 1px solid var(--odav-border);
	color: var(--odav-text-muted);
}
.odav-status--publish { background: #e8f3ec; color: var(--odav-success); border-color: #cfe6d6; }
.odav-status--draft   { background: #fff7ed; color: #9a3412;          border-color: #fde4cc; }
.odav-status--pending { background: #eff6ff; color: #1e40af;          border-color: #dbe7fe; }

.odav-image-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.odav-image-thumb {
	position: relative; width: 80px; height: 100px;
	background: var(--odav-bg-soft); overflow: hidden;
}
.odav-image-thumb img { width: 100%; height: 100%; object-fit: cover; }

.odav-contact-box {
	border: 1px solid var(--odav-border); padding: 20px;
	background: var(--odav-bg-soft);
}
.odav-contact-box h3 { font-size: 16px; margin-bottom: 12px; }

.odav-dashboard { padding: 40px 0 80px; max-width: 760px; margin-left: auto; margin-right: auto; }
.odav-dashboard__head {
	display: flex; align-items: center; justify-content: space-between;
	gap: 16px; flex-wrap: wrap; margin-bottom: 28px;
}
.odav-dashboard__head h1 { font-size: 26px; }


.odav-back-link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: var(--odav-text-muted);
	font-size: 13px;
	text-decoration: none;
	margin-bottom: 8px;
	transition: color .15s ease;
}
.odav-back-link:hover { color: var(--odav-text); }
