/**
 * Public Styles
 *
 * Layout and structure only. The active theme provides visual styles for
 * buttons, form elements, headings, links, and general colours.
 * Plugin-specific overrides are limited to functional / semantic purposes:
 *   - Show/hide for tabs (functional)
 *   - Status indicator colours on card borders (semantic)
 *   - Error / success feedback states (semantic)
 *   - Loading spinner (functional)
 *
 * @package DillyDally
 */

/* ==========================================================================
   Variables -- structural only
   ========================================================================== */

:root {
	--dd-radius: 4px;
	--dd-gap: 1.25rem;

	/* Semantic status / feedback colours -- used only for accents & messages */
	--dd-color-success: #00753a;
	--dd-color-warning: #a16207;
	--dd-color-danger: #b91c1c;
}

/* ==========================================================================
   Application Form
   ========================================================================== */

/* Shortcode wrapper padding — prevents content from touching page edges.
   Max-widths keep long-form content readable. Theme provides no padding on
   page content area so we add our own. */
.dd-dashboard,
.dd-datenschutz,
.dd-newsletter-wrap {
	padding: 3rem 2rem;
}

.dd-application-form-wrapper {
	padding: 1rem 0 0;
}

@media (max-width: 640px) {
	.dd-dashboard,
	.dd-datenschutz,
	.dd-newsletter-wrap {
		padding: 1.5rem 1rem;
	}
}

.dd-application-form {
	max-width: 800px;
	margin: 0 auto;
}

.dd-form-header {
	margin-bottom: 2rem;
}

.dd-form-section {
	margin-bottom: 1.5rem;
}

.dd-form-section.dd-event-info {
	padding: 0.5rem 0 1rem;
	opacity: 0.85;
}

.dd-form-section.dd-event-info h3 {
	margin: 0 0 0.25rem;
	font-size: 1.5em;
}

.dd-form-section.dd-event-info .dd-event-date {
	margin: 0;
	font-size: 1.1em;
}

.dd-form-group {
	margin-bottom: 1.25rem;
}

/* Inputs: constrain width only; all visual styles come from the theme */
.dd-form-group input[type='text'],
.dd-form-group input[type='email'],
.dd-form-group input[type='url'],
.dd-form-group input[type='number'],
.dd-form-group select,
.dd-form-group textarea {
	width: 100%;
	box-sizing: border-box;
	font-family: inherit;
}

.dd-form-group textarea {
	min-height: 120px;
	resize: vertical;
}

.dd-field-description {
	display: block;
	margin-top: 0.375rem;
	font-size: 0.85em;
	opacity: 0.8;
}

/* Semantic: error colour must appear even if the theme does not define it */
.dd-field-error {
	display: block;
	margin-top: 0.375rem;
	color: var(--dd-color-danger);
	font-size: 0.85em;
}

.dd-required {
	color: var(--dd-color-danger);
	margin-left: 2px;
}

/* File upload -- dashed border is a functional affordance */
.dd-file-upload {
	border: 2px dashed currentColor;
	border-radius: var(--dd-radius);
	padding: 2rem;
	text-align: center;
	opacity: 0.7;
	transition: opacity 0.2s;
	cursor: pointer;
}

.dd-file-upload:hover {
	opacity: 1;
}

.dd-file-upload input[type='file'] {
	display: none;
}

/* Upload label acts as a button for the hidden file input */
.dd-upload-label {
	display: inline-block;
	cursor: pointer;
	padding: 0.5em 1em;
	border: 1px solid currentColor;
	border-radius: var(--dd-radius);
}

.dd-upload-info {
	display: block;
	margin-top: 0.75rem;
	font-size: 0.85em;
	opacity: 0.7;
}

/* Photo previews grid */
.dd-photo-previews {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
	gap: var(--dd-gap);
	margin-top: 1rem;
}

.dd-photo-preview {
	position: relative;
	aspect-ratio: 1;
	border-radius: var(--dd-radius);
	overflow: hidden;
}

.dd-photo-preview img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.dd-photo-remove,
.dd-stand-foto-remove {
	position: absolute;
	top: 4px;
	right: 4px;
	background: rgba(0, 0, 0, 0.6);
	color: white;
	border: none;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	cursor: pointer;
	font-size: 16px;
	line-height: 26px;
}

.dd-stand-foto-preview {
	position: relative;
	display: inline-block;
	margin-top: 1rem;
	max-width: 200px;
	border-radius: var(--dd-radius);
	overflow: hidden;
}

.dd-stand-foto-preview img {
	display: block;
	width: 100%;
	height: auto;
}

/* Privacy consent */
.dd-privacy-consent {
	padding: 1rem;
	margin-bottom: 1.25rem;
}

.dd-privacy-consent label {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	cursor: pointer;
}

.dd-privacy-consent input[type='checkbox'] {
	margin-top: 3px;
	flex-shrink: 0;
}

/* Form footer */
.dd-form-actions {
	margin-top: 1.5rem;
	padding-top: 1.25rem;
	text-align: right;
}

/* Profile form: sticky save portal (appended to <body> to escape ancestor transforms) */
.dd-save-portal {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 1rem 2rem;
	background: #fff;
	border-top: 1px solid #000;
	box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
	text-align: right;
	z-index: 999;
}

/* Reserve space so content doesn't disappear behind the fixed portal */
#dd-profile-form .dd-form-actions {
	margin-top: 2rem;
	padding: 1rem 0;
	text-align: right;
}

/* Feedback messages -- colours are functional, not decorative */
.dd-form-message {
	margin-top: 1.25rem;
	padding: 0.875rem 1.25rem;
	border-radius: var(--dd-radius);
	display: none;
}

.dd-form-message.dd-success {
	background: #e6f4ea;
	color: var(--dd-color-success);
	border: 1px solid var(--dd-color-success);
	display: block;
}

.dd-form-message.dd-error {
	background: #fce8e8;
	color: var(--dd-color-danger);
	border: 1px solid var(--dd-color-danger);
	display: block;
}

.dd-message-content {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.dd-message-content p {
	margin: 0;
	flex: 1;
}

.dd-message-dismiss {
	background: none;
	border: none;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
	padding: 0;
	color: inherit;
	opacity: 0.7;
}

.dd-message-dismiss:hover {
	opacity: 1;
}

/* ==========================================================================
   Loading spinner -- JS adds .dd-loading to a button in-flight
   ========================================================================== */

.dd-submit-btn.dd-loading,
.dd-button.dd-loading {
	position: relative;
	color: transparent !important;
	pointer-events: none;
}

.dd-submit-btn.dd-loading::after,
.dd-button.dd-loading::after {
	content: '';
	position: absolute;
	width: 1em;
	height: 1em;
	top: 50%;
	left: 50%;
	margin: -0.5em 0 0 -0.5em;
	border: 2px solid rgba(128, 128, 128, 0.35);
	border-top-color: currentColor;
	border-radius: 50%;
	animation: dd-spin 0.6s linear infinite;
}

@keyframes dd-spin {
	to {
		transform: rotate(360deg);
	}
}

/* ==========================================================================
   Dashboard
   ========================================================================== */

.dd-dashboard {
	max-width: 1200px;
	margin: 0 auto;
}

.dd-dashboard-header {
	margin-bottom: 1.5rem;
}

/* Tabs */
.dd-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem;
	margin-bottom: 1.5rem;
	border-bottom: 2px solid currentColor;
}

.dd-tab-button {
	display: inline-block;
	text-decoration: none;
	color: inherit;
	border-bottom: 3px solid transparent;
	margin-bottom: -2px;
	padding: 0.75rem 1.25rem;
}

.dd-tab-button.active {
	border-bottom-color: currentColor;
	font-weight: 600;
}

/* Show/hide -- functional */
.dd-tab-pane {
	display: none;
}
.dd-tab-pane.active {
	display: block;
}

/* Application cards */
.dd-applications-list {
	display: grid;
	gap: var(--dd-gap);
}

.dd-application-card {
	padding: 1.5rem;
	border-left: 4px solid transparent;
}

/* Semantic status accent -- left border colour only */
.dd-application-card.dd-status-a {
	border-left-color: var(--dd-color-success);
}
.dd-application-card.dd-status-b {
	border-left-color: var(--dd-color-warning);
}
.dd-application-card.dd-status-c {
	border-left-color: var(--dd-color-danger);
}

.dd-app-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-bottom: 1rem;
	padding-bottom: 0.75rem;
}

.dd-app-header h3 {
	margin: 0;
}

.dd-app-details {
	margin-bottom: 1rem;
}

.dd-app-row {
	display: grid;
	grid-template-columns: 13rem 1fr;
	gap: 1rem;
	padding: 0.5rem 0;
}

.dd-label {
	font-weight: 600;
	overflow-wrap: break-word;
	word-break: break-word;
	min-width: 0;
}

.dd-app-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1rem;
	padding-top: 0.75rem;
}

.dd-app-locked-notice {
	margin-top: 0.75rem;
	padding: 0.75rem;
	text-align: center;
	opacity: 0.75;
}

/* Status badge -- semantic colour */
.dd-app-status {
	display: inline-block;
	padding: 0.2em 0.6em;
	border-radius: 999px;
	font-size: 0.8em;
	font-weight: 600;
	border: 1px solid currentColor;
}

.dd-status-badge-a {
	color: var(--dd-color-success);
}
.dd-status-badge-b {
	color: var(--dd-color-warning);
}
.dd-status-badge-c {
	color: var(--dd-color-danger);
}

/* Available events */
.dd-events-list {
	display: grid;
	gap: var(--dd-gap);
}

.dd-event-card {
	padding: 1.5rem;
}

.dd-event-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-bottom: 1rem;
	padding-bottom: 0.75rem;
}

.dd-event-header h3 {
	margin: 0;
}

.dd-event-details {
	margin-bottom: 1rem;
}

.dd-event-row {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.5rem 0;
}

.dd-event-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1rem;
	padding-top: 0.75rem;
}

.dd-badge {
	display: inline-block;
	padding: 0.2em 0.75em;
	border-radius: 999px;
	font-size: 0.8em;
	font-weight: 600;
	border: 1px solid currentColor;
}

/* ==========================================================================
   Buttons -- structural only; theme provides colour, background, border-radius
   ========================================================================== */

.dd-button {
	display: inline-block;
	cursor: pointer;
	text-decoration: none;
}

/* ==========================================================================
   Notices & Utilities
   ========================================================================== */

.dd-notice {
	padding: 1.25rem;
	margin: 1.25rem 0;
	border-left: 4px solid currentColor;
}

.dd-notice.dd-notice-info {
	padding: 0.6rem 0.875rem;
	margin: 0 0 1rem;
	border-left: 3px solid #000;
	background: #f5f5f5;
}

.dd-notice.dd-error {
	color: var(--dd-color-danger);
}

.dd-pagination {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 2.5rem;
}

/* ==========================================================================
   Application Tabs shortcode [dd_application_tabs]
   ========================================================================== */

.dd-application-tabs {
	max-width: 1200px;
	margin: 0 auto;
	padding: 3rem 2rem;
}

@media (max-width: 640px) {
	.dd-application-tabs {
		padding: 1.5rem 1rem;
	}
}

.dd-tabs-nav {
	list-style: none;
	margin: 0 0 -1px;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem;
	border-bottom: 2px solid currentColor;
}

.dd-tabs-nav li {
	margin: 0;
}

.dd-tab-btn {
	display: inline-block;
	text-decoration: none;
	color: inherit;
	border: 1px solid transparent;
	border-bottom: none;
	border-radius: var(--dd-radius) var(--dd-radius) 0 0;
	padding: 0.625rem 1.25rem;
	position: relative;
	bottom: -2px;
}

.dd-tab-btn.dd-tab-active {
	border-color: currentColor;
	border-bottom-color: transparent;
	font-weight: 600;
	z-index: 1;
}

/* Show/hide -- functional */
.dd-tab-panel {
	display: none;
}
.dd-tab-panel.dd-tab-panel-active,
.dd-tab-panel:not([hidden]) {
	display: block;
}

/* ==========================================================================
   Dashboard – uploaded photos grid
   ========================================================================== */

.dd-photos-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.dd-photo-item {
	position: relative;
	width: 120px;
	height: 120px;
	border-radius: var(--dd-radius);
	overflow: hidden;
	flex-shrink: 0;
}

.dd-photo-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.dd-photo-delete {
	position: absolute;
	top: 4px;
	right: 4px;
	background: rgba(0, 0, 0, 0.55);
	color: #fff;
	border: none;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	cursor: pointer;
	font-size: 14px;
	line-height: 24px;
	text-align: center;
	padding: 0;
}

/* ==========================================================================
   Typography resets — plugin UI contexts
   Theme styles: h1=14vw/800, h2=100px/uppercase/600, p=23px/31px/500.
   These are deliberate editorial choices for full-page use but break forms
   and dashboard UIs. h3 (14px/uppercase/500) and h4 (16px/uppercase/500)
   from the theme are fine and used as-is.
   ========================================================================== */

.dd-dashboard h1 {
	font-size: 1.75rem;
	line-height: 1.2;
	font-weight: 700;
	text-transform: none;
	letter-spacing: 0;
}

/* Theme h2 at 100px uppercase is editor-only scale */
.dd-datenschutz h2 {
	font-size: 1.5rem;
	line-height: 1.3;
	font-weight: 600;
	text-transform: none;
	letter-spacing: 0;
	margin-bottom: 0.75rem;
}

/* h3 ::after draws a right-aligned decorative rule — clashes with UI layout */
.dd-dashboard h3::after,
.dd-application-form-wrapper h3::after,
.dd-datenschutz h3::after {
	display: none;
}

/* p: scale down from 23px/500 to normal readable UI body text.
   Theme's #standard p has ID specificity (1,0,1) so !important is required.
   Also reset width:90% and auto-margins which cause the left indent. */
.dd-dashboard p,
.dd-application-tabs p,
.dd-application-form-wrapper p,
.dd-datenschutz p,
.dd-notice p {
	font-size: 1.0625rem !important;
	line-height: 1.6 !important;
	font-weight: 400 !important;
	margin: 0 0 0.75rem !important;
	width: auto !important;
}

/* dd-field-description and dd-welcome are <p> elements — override 23px theme rule */
.dd-dashboard .dd-welcome,
.dd-dashboard .dd-field-description,
.dd-form .dd-field-description,
.dd-form-section .dd-field-description {
	font-size: 0.85rem !important;
	line-height: 1.5 !important;
	font-weight: 400 !important;
	margin-bottom: 0.75rem !important;
	opacity: 0.8;
}

/* ==========================================================================
   Form labels — uppercase small Poppins matching theme's h4 rhythm
   ========================================================================== */

.dd-form label,
.dd-form legend {
	display: block;
	font-size: 0.7rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin-bottom: 0.4rem;
	padding: 0;
}

/* Upload buttons are <label> elements — restore inline-block and padding
   despite .dd-form label's display:block and padding:0 */
.dd-form label.dd-button {
	display: inline-block;
	margin: 0;
	padding: 0.75rem 2rem;
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.12em;
}

.dd-form legend {
	font-size: 1rem;
	letter-spacing: 0.08em;
	margin-bottom: 0.8rem;
	width: 100%;
}

/* ==========================================================================
   Form inputs — dillydally vibe
   Flat/editorial (no radius), 1px solid black, pink focus ring
   ========================================================================== */

.dd-form input[type='text'],
.dd-form input[type='email'],
.dd-form input[type='url'],
.dd-form input[type='number'],
.dd-form input[type='tel'],
.dd-form input[type='password'],
.dd-form select,
.dd-form textarea {
	border: 1px solid #000;
	border-radius: 0;
	padding: 0.65rem 0.875rem;
	font-family: Poppins, sans-serif;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.4;
	color: #000;
	background: #fff;
	width: 100%;
	box-sizing: border-box;
	-webkit-appearance: none;
	appearance: none;
	outline: none;
	transition: box-shadow 0.15s;
}

.dd-form input:focus,
.dd-form select:focus,
.dd-form textarea:focus {
	box-shadow: 0 0 0 3px rgba(246, 180, 187, 0.55);
}

/* Custom chevron on select elements */
.dd-form select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23000'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.875rem center;
	padding-right: 2.5rem;
	/* WebKit adds ~1.1px UA inner padding top/bottom to text inputs but not selects — match it */
	padding-top: calc(0.65rem + 1.1px);
	padding-bottom: calc(0.65rem + 1.1px);
}

/* Readonly inputs (e.g. e-mail prefill for logged-in users) */
.dd-form input[readonly] {
	background: #f2f2f2;
	border-color: #888;
	cursor: not-allowed;
}

/* Textareas: height is driven by JS autogrow (public.js initTextareaAutogrow).
   overflow-y:hidden prevents scrollbar flash during resize. */
.dd-form textarea {
	min-height: 80px;
	resize: none;
	overflow-y: hidden;
}

/* ==========================================================================
   Application form two-column row layout
   (.dd-form-row is used in form-application.php, not in the dashboard form)
   ========================================================================== */

.dd-form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.75rem;
	margin-bottom: 1.5rem;
}

.dd-form-row-4col {
	grid-template-columns: repeat(4, 1fr);
}

.dd-form-row-3col {
	grid-template-columns: repeat(3, 1fr);
}

.dd-form-row-2col {
	grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 640px) {
	.dd-form-row {
		grid-template-columns: 1fr;
	}
}

.dd-form-field {
	margin-bottom: 0;
}

/* Fieldset that shares the .dd-form-row grid — strip browser chrome and
   force the legend + hint paragraph to span both columns. */
.dd-form-row-group {
	border: none;
	padding: 0;
	min-inline-size: 0; /* override browser default that prevents shrinking */
}

.dd-form-row-group > .dd-form-group-legend,
.dd-form-row-group > p {
	grid-column: 1 / -1;
}

/* Nested rows must span both columns and not add extra margin (parent gap handles spacing) */
.dd-form-row-group > .dd-form-row {
	grid-column: 1 / -1;
	margin-bottom: 0;
}

/* ==========================================================================
   Profile form (dashboard) — two-column grid, all fields share space
   ========================================================================== */

#dd-profile-form .dd-form-section {
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 1.5rem;
	align-items: start;
}

/* Section headings, legends and hint-text span full width */
#dd-profile-form .dd-form-section > h3,
#dd-profile-form .dd-form-section > legend,
#dd-profile-form .dd-form-section > p {
	grid-column: 1 / -1;
}

/* Row wrappers inside the section grid must also span full width */
#dd-profile-form .dd-form-section > .dd-form-row {
	grid-column: 1 / -1;
}

/* Strip browser fieldset chrome */
#dd-profile-form .dd-form-section {
	border: none;
	padding: 0;
	min-inline-size: 0;
}

#dd-profile-form .dd-form-section > legend {
	margin-bottom: 0.5rem;
}

@media (max-width: 640px) {
	#dd-profile-form .dd-form-section {
		grid-template-columns: 1fr;
	}
}

/* ===========================================================================
   Photo upload area — keep upload button at natural width (not block-stretch)
   =========================================================================== */

.dd-photo-upload-area {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-top: 0.75rem;
}

.dd-photo-upload-area .dd-button {
	white-space: nowrap;
	flex-shrink: 0;
}

.dd-photo-upload-area small {
	font-size: 0.8rem;
	opacity: 0.7;
	margin: 0;
}

/* ==========================================================================
   Buttons — visual styles
   Black-fill primary, outline secondary — flat/editorial dillydally style
   ========================================================================== */

.dd-button,
.dd-submit-btn {
	font-family: Poppins, sans-serif;
	font-size: 0.7rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	padding: 0.75rem 2rem;
	border: 1px solid #000;
	border-radius: 0;
	background: #000;
	color: #fff;
	cursor: pointer;
	display: inline-block;
	text-decoration: none;
	line-height: 1.4;
	transition:
		background 0.2s,
		color 0.2s;
}

.dd-button:hover,
.dd-submit-btn:hover {
	background: #fff;
	color: #000;
}

.dd-button.dd-button-secondary {
	background: #fff;
	color: #000;
}

.dd-button.dd-button-secondary:hover {
	background: #000;
	color: #fff;
}

/* ==========================================================================
   Cards — application cards and event cards
   ========================================================================== */

.dd-application-card,
.dd-event-card {
	border: 1px solid #000;
}

/* Divider below card header */
.dd-app-header,
.dd-event-header {
	border-bottom: 1px solid #000;
}
/* ==========================================================================
   Unsubscribe page
   ========================================================================== */

.dd-unsubscribe-page {
	max-width: 640px;
	margin: 3.75rem auto 2.5rem;
	padding: 0 1.25rem;
}

.dd-unsubscribe-box {
	padding: 1.75rem 2rem;
	border-left: 4px solid currentColor;
	border-radius: var(--dd-radius);
	margin-bottom: 1.25rem;
}

.dd-unsubscribe-box.dd-success {
	color: var(--dd-color-success);
}

.dd-unsubscribe-box.dd-error {
	color: var(--dd-color-danger);
}

.dd-unsubscribe-box h1 {
	margin-top: 0;
	font-size: 1.375rem;
	line-height: 1.2;
	font-weight: 700;
	color: inherit;
	text-transform: none;
	letter-spacing: 0;
}

.dd-unsubscribe-box p,
.dd-unsubscribe-page > p {
	font-size: 1.0625rem !important;
	line-height: 1.6 !important;
	font-weight: 400 !important;
	margin: 0 !important;
	width: auto !important;
	color: inherit;
}

/* ==========================================================================
   Dashboard — stand-foto upload widget
   ========================================================================== */

.dd-stand-foto-img {
	display: block;
	max-width: 200px;
	margin-bottom: 0.5rem;
}

/* Existing photo previews in re-application form */
.dd-existing-photo,
.dd-existing-photos {
	margin-bottom: 0.75rem;
}

.dd-existing-photo-thumb {
	display: block;
	max-width: 160px;
	max-height: 120px;
	object-fit: cover;
	border: 1px solid #ccc;
	border-radius: 3px;
}

.dd-existing-photos-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 0.25rem;
}

.dd-existing-photo-item {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.dd-existing-photo-item .dd-existing-photo-thumb {
	max-width: 80px;
	max-height: 80px;
}

.dd-existing-photo-info {
	margin: 0.25rem 0 0;
	color: #666;
}

/* Upload status text (success / error feedback) */
.dd-upload-status {
	margin-top: 0.375rem;
	font-size: 0.85em;
}

.dd-upload-status.dd-success {
	color: var(--dd-color-success);
}

.dd-upload-status.dd-error {
	color: var(--dd-color-danger);
}

/* ==========================================================================
   Lightbox overlay
   ========================================================================== */

.dd-lightbox-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.9);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 9999;
	cursor: pointer;
}

.dd-lightbox-overlay img {
	max-width: 90%;
	max-height: 90%;
	border-radius: var(--dd-radius);
}
