.esp-club-profile-form {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	max-width: 640px;
}

.esp-form-field label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.35rem;
}

.esp-form-field input[type="text"],
.esp-form-field input[type="url"],
.esp-form-field textarea {
	width: 100%;
	padding: 0.5rem 0.75rem;
	border: 1px solid #ccc;
	border-radius: 6px;
}

.esp-profile-success {
	background: #e6f4ea;
	color: #1e7e34;
	padding: 0.75rem 1rem;
	border-radius: 6px;
}

.esp-gallery-editor {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-bottom: 0.5rem;
}

.esp-gallery-item {
	position: relative;
	cursor: grab;
}

.esp-gallery-item.esp-dragging {
	opacity: 0.4;
}

.esp-gallery-remove {
	position: absolute;
	top: -8px;
	right: -8px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	border: none;
	background: #c0392b;
	color: #fff;
	cursor: pointer;
	line-height: 1;
}

.esp-help-text {
	font-size: 0.85rem;
	color: #666;
}

.esp-btn-primary {
	align-self: flex-start;
	padding: 0.6rem 1.5rem;
	background: #1d4ed8;
	color: #fff;
	border: none;
	border-radius: 6px;
	cursor: pointer;
}

.esp-club-map {
	width: 100%;
	height: 520px;
	border-radius: 8px;
}

.esp-map-popup {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.4rem;
	text-align: center;
}

.esp-map-popup img {
	width: 48px;
	height: 48px;
	object-fit: cover;
	border-radius: 50%;
}

/* ==================================================
   Página de login del portal — calcada de
   eurokayakexperience.com/club-login/ (mismos valores de CSS)
================================================== */

.esp-club-login-page {
	position: relative;
	width: 100%;
	min-height: calc(100vh - 120px);
	background-image: var(--esp-login-bg);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	display: flex;
}

.esp-club-login-overlay {
	position: absolute;
	inset: 0;
}

.esp-club-login-inner {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 60px 24px;
	display: flex;
	justify-content: flex-end;
	align-items: center;
}

.esp-club-login-card {
	background: #ffffff;
	width: 100%;
	max-width: 420px;
	padding: 40px 32px;
	border-radius: 18px;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.esp-club-login-logo {
	display: block;
	max-width: 140px;
	margin: 0 auto 24px;
}

.esp-club-login-title {
	font-size: 26px;
	font-weight: 600;
	text-align: center;
	margin-bottom: 10px;
	color: #0d2e42;
}

.esp-club-login-text {
	font-size: 14px;
	text-align: center;
	color: #555;
	margin-bottom: 24px;
}

.esp-club-login-card form {
	margin: 0;
}

.esp-club-login-card label {
	font-size: 13px;
	color: #333;
}

.esp-club-login-card input[type="text"],
.esp-club-login-card input[type="password"] {
	width: 100%;
	padding: 10px 12px;
	border-radius: 8px;
	border: 1px solid #ddd;
	margin-top: 4px;
}

.esp-club-login-card input[type="submit"] {
	width: 100%;
	margin-top: 16px;
	padding: 12px;
	border-radius: 24px;
	border: none;
	background: #f9b233;
	color: #0d2e42;
	font-weight: 600;
	cursor: pointer;
}

.esp-club-login-card input[type="submit"]:hover {
	background: #e8a61f;
}

@media (max-width: 768px) {
	.esp-club-login-inner {
		justify-content: center;
	}

	.esp-club-login-card {
		max-width: 100%;
	}
}

.esp-documents-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 1.5rem;
}

.esp-doc-block {
	border: 1px solid #e2e2e2;
	border-radius: 10px;
	padding: 1.25rem;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.esp-doc-block h3 {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	margin: 0;
}

.esp-doc-status {
	font-size: 0.75rem;
	padding: 0.2rem 0.6rem;
	border-radius: 999px;
	text-transform: uppercase;
}

.esp-doc-status--pendiente {
	background: #fef3c7;
	color: #92400e;
}

.esp-doc-status--subido {
	background: #dbeafe;
	color: #1e40af;
}

.esp-doc-status--verificado {
	background: #d1fae5;
	color: #065f46;
}

.esp-doc-status--rechazado {
	background: #fee2e2;
	color: #991b1b;
}

.esp-doc-notes {
	color: #991b1b;
	font-size: 0.9rem;
}

/* ==================================================
   Barra de portal (sticky, bajo el menú del sitio)
================================================== */

.esp-portal-bar {
	position: sticky;
	top: 0;
	z-index: 999;
	background: #0d2e42;
	color: #fff;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.esp-portal-bar__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 10px 24px;
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
}

.esp-portal-bar__left {
	justify-self: start;
}

.esp-portal-bar__brand {
	justify-self: center;
}

.esp-portal-bar__logo {
	height: 28px;
	width: auto;
	display: block;
}

.esp-portal-bar__right {
	justify-self: end;
	display: flex;
	gap: 16px;
}

.esp-portal-bar__link {
	font-size: 0.9rem;
	font-weight: 600;
	color: #f9b233;
	text-decoration: none;
	white-space: nowrap;
}

.esp-portal-bar__link:hover {
	text-decoration: underline;
}

/* ==================================================
   Dashboard del portal
================================================== */

.esp-dashboard {
	max-width: 1100px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 2.5rem;
}

.esp-dashboard-hero h1 {
	margin-bottom: 0.25rem;
}

.esp-dashboard-section h2 {
	margin-bottom: 1rem;
}

.esp-dashboard-map-reset {
	margin-bottom: 0.75rem;
}

.esp-dashboard-map-reset a {
	font-weight: 600;
	color: #1d4ed8;
	text-decoration: none;
}

.esp-exchange-card {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	min-height: 220px;
	padding: 1.5rem;
	border-radius: 12px;
	background-color: #0d2e42;
	background-size: cover;
	background-position: center;
	color: #fff;
}

.esp-exchange-card__main {
	background: #fff;
	color: #0d2e42;
	padding: 1.25rem 1.5rem;
	border-radius: 10px;
	max-width: 320px;
	text-decoration: none;
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}

.esp-exchange-card__main h3 {
	margin: 0;
}

.esp-exchange-card__cta {
	font-weight: 600;
	color: #1d4ed8;
}

.esp-exchange-card__clubs {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.esp-exchange-card__club {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	background: rgba(255, 255, 255, 0.92);
	color: #0d2e42;
	padding: 0.5rem 1rem;
	border-radius: 999px;
	text-decoration: none;
	font-weight: 600;
}

.esp-exchange-card__club-logo img {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	object-fit: cover;
	display: block;
}
