/* =========================================================
   Espace client — Réservation Domaine des Cèdres
   Style aligné sur la maquette Figma (Noto Sans).
   ========================================================= */
.rdc-dash-wrap {
	--sable: #CA9E67;
	--dark: #343A40;
	--ink: #0F172A;
	--muted: #706F6F;
	--slate: #64748B;
	--slate-light: #94A3B8;
	--grey: #B7B7B7;
	--light-grey: #EDEDED;
	--line: #E2E8F0;
	--search-bg: #F1F5F9;
	--bg: #F8FAFC;
	--green: #2E7D32;
	--orange: #D98A1F;
	--red: #C0392B;
	--blue: #2F6FB0;
	--purple: #8E44AD;
	--teal: #1F9E8A;
	color: var(--dark);
	font-family: 'Noto Sans', 'Helvetica Neue', Arial, sans-serif;
	font-size: 14px;
}

.rdc-dash-wrap * {
	box-sizing: border-box;
}

.rdc-is-hidden {
	display: none !important;
}

.rdc-dash-wrap a {
	color: var(--sable);
}

/* ---------- Champs / boutons ---------- */
.rdc-field {
	margin-bottom: 16px;
}

.rdc-label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 6px;
	color: var(--muted);
}

.rdc-input {
	width: 100%;
	padding: 11px 14px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: #fff;
	font-size: 15px;
	color: var(--dark);
	font-family: inherit;
}

.rdc-input:focus {
	outline: none;
	border-color: var(--sable);
	box-shadow: 0 0 0 3px rgba(202, 158, 103, .15);
}

.rdc-input:disabled {
	background: #f3f5f8;
	color: var(--slate);
}

.rdc-db-form__row {
	display: flex;
	gap: 24px;
}

.rdc-db-form__row .rdc-field {
	flex: 1;
	min-width: 0;
}

.rdc-form-actions {
	display: flex;
	gap: 12px;
	justify-content: flex-end;
	margin-top: 4px;
}

.rdc-db-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	justify-content: center;
	padding: 10px 20px;
	border: 1px solid transparent;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
	font-family: inherit;
	line-height: 1.2;
	transition: opacity .15s ease, background .15s ease;
}

.rdc-db-btn:hover {
	opacity: .92;
}

.rdc-db-btn .dashicons {
	font-size: 16px;
	width: 16px;
	height: 16px;
}

.rdc-db-btn--dark {
	background: var(--dark);
	color: #fff;
}

.rdc-db-btn--primary {
	background: var(--sable);
	color: #fff;
}

.rdc-db-btn--outline {
	background: #fff;
	color: var(--dark);
	border-color: var(--dark);
}

.rdc-db-btn--outline:hover {
	background: #f6f7f8;
	opacity: 1;
}

.rdc-db-btn--ghost {
	background: #fff;
	color: var(--dark);
	border-color: var(--line);
}

.rdc-db-btn--ghost:hover {
	background: #f6f7f8;
	opacity: 1;
}

.rdc-db-btn--danger {
	background: #fff;
	color: var(--red);
	border-color: var(--red);
}

.rdc-db-btn--danger:hover {
	background: #fdecea;
	opacity: 1;
}

.rdc-db-btn--block {
	width: 100%;
}

.rdc-db-btn--sm {
	padding: 8px 16px;
	font-size: 13px;
}

/* =========================================================
   CONNEXION
   ========================================================= */
.rdc-auth {
	background: var(--sable);
	padding: 48px 20px;
	display: flex;
	justify-content: center;
}

.rdc-auth__card {
	display: flex;
	width: 100%;
	max-width: 940px;
	background: #fff;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 18px 50px rgba(0, 0, 0, .18);
}

.rdc-auth__form {
	flex: 1;
	padding: 44px 44px;
	min-width: 0;
}

.rdc-auth__logo {
	margin-bottom: 22px;
}

.rdc-auth__logo img {
	max-width: 170px;
	height: auto;
}

.rdc-auth__title {
	font-size: 28px;
	font-weight: 700;
	margin: 0 0 22px;
	color: var(--dark);
}

.rdc-auth__error {
	background: #fdecea;
	border-left: 4px solid var(--red);
	color: #922b21;
	padding: 10px 14px;
	border-radius: 8px;
	margin-bottom: 16px;
}

.rdc-auth__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 4px 0 20px;
	font-size: 13px;
}

.rdc-auth__remember {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.rdc-auth__row a {
	font-size: 13px;
}

.rdc-auth__signup {
	text-align: center;
	margin: 18px 0 0;
	font-size: 13px;
	color: var(--muted);
}

.rdc-auth__img {
	flex: 1;
	background-size: cover;
	background-position: center;
	min-height: 380px;
	background-color: var(--light-grey);
}

/* =========================================================
   LAYOUT
   ========================================================= */
/* Pleine largeur : on s'affranchit du conteneur (étroit) du thème, comme la maquette. */
.rdc-dash {
	display: grid;
	grid-template-columns: 260px 1fr;
	align-items: stretch;
	background: var(--bg);
	min-height: 80vh;
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

.rdc-dash__side {
	background: #fff;
	border-right: 1px solid var(--line);
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 28px;
}

.rdc-dash__brand {
	padding-bottom: 4px;
}

.rdc-dash__brand img,
.rdc-dash__brand .custom-logo {
	max-width: 180px;
	height: auto;
}

.rdc-dash__brand-text {
	font-weight: 700;
	font-size: 16px;
}

.rdc-dash__user {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding-top: 4px;
	border-bottom: 1px solid var(--line);
	padding-bottom: 24px;
}

.rdc-dash__avatar {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	overflow: hidden;
	margin-bottom: 10px;
	background: var(--light-grey);
}

.rdc-dash__avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: 50%;
}

.rdc-dash__welcome {
	font-size: 13px;
	color: var(--slate);
}

.rdc-dash__user-name {
	font-weight: 700;
	font-size: 16px;
	color: var(--ink);
	word-break: break-word;
}

.rdc-dash__nav {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.rdc-dash__logout {
	margin: 0;
}

.rdc-dash__nav-link {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 16px;
	border-radius: 8px;
	color: var(--dark);
	text-decoration: none;
	font-size: 14px;
	font-weight: 700;
	background: none;
	border: none;
	width: 100%;
	text-align: left;
	cursor: pointer;
	font-family: inherit;
}

.rdc-dash__nav-link:hover {
	background: #f5f6f8;
}

.rdc-dash__nav-link.is-active {
	background: var(--light-grey);
}

.rdc-dash__nav-link .dashicons {
	font-size: 18px;
	width: 18px;
	height: 18px;
	color: var(--dark);
}

.rdc-dash__nav-link--logout {
	color: var(--dark);
}

/* ---------- Contenu / en-tête ---------- */
.rdc-dash__content {
	min-width: 0;
	padding: 40px clamp(20px, 4vw, 56px) 56px;
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.rdc-dash__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 18px;
	padding-bottom: 24px;
	border-bottom: 1px solid var(--line);
	flex-wrap: wrap;
}

.rdc-dash__title {
	font-size: 28px;
	font-weight: 700;
	margin: 0 0 4px;
	color: var(--dark);
}

.rdc-dash__subtitle {
	color: var(--muted);
	margin: 0;
	font-size: 14px;
	line-height: 22px;
}

.rdc-dash__search {
	position: relative;
}

.rdc-dash__search .dashicons {
	position: absolute;
	left: 14px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--slate-light);
	font-size: 16px;
	width: 16px;
	height: 16px;
}

.rdc-dash__search input {
	width: 240px;
	max-width: 100%;
	padding: 10px 16px 10px 38px;
	border: none;
	border-radius: 8px;
	background: var(--search-bg);
	font-size: 14px;
	color: var(--dark);
	font-family: inherit;
}

.rdc-dash__search input::placeholder {
	color: var(--slate-light);
}

.rdc-dash__search input:focus {
	outline: none;
	box-shadow: 0 0 0 2px rgba(202, 158, 103, .3);
}

.rdc-dash__section {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

/* ---------- Cartes ---------- */
.rdc-card {
	background: #fff;
	border: 1px solid var(--grey);
	border-radius: 16px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, .03);
}

.rdc-card--flush {
	overflow: hidden;
}

.rdc-card__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 32px 32px 0;
}

.rdc-card__head--pad {
	padding: 24px 28px;
	border-bottom: 1px solid var(--line);
}

.rdc-card__heading {
	font-size: 18px;
	font-weight: 700;
	margin: 0;
	display: flex;
	align-items: center;
	gap: 12px;
	color: var(--dark);
}

.rdc-card__icon {
	width: 40px;
	height: 40px;
	border-radius: 8px;
	background: rgba(27, 43, 65, .06);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
}

.rdc-card__icon .dashicons {
	font-size: 20px;
	width: 20px;
	height: 20px;
	color: var(--dark);
}

.rdc-card__body {
	padding: 28px 32px;
}

.rdc-card__foot-note {
	margin: 0;
	padding: 24px 32px;
	border-top: 1px solid var(--grey);
	font-size: 13px;
	color: var(--grey);
}

.rdc-card__sep {
	border: none;
	border-top: 1px solid var(--grey);
	opacity: .6;
	margin: 0;
}

.rdc-db-empty {
	color: var(--muted);
	padding: 28px 32px;
}

.rdc-db-muted {
	color: var(--muted);
}

/* ---------- Infos profil ---------- */
.rdc-info-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 28px 48px;
}

.rdc-info-grid__full {
	grid-column: 1 / -1;
}

.rdc-info-label {
	display: block;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: .4px;
	color: var(--muted);
	font-weight: 600;
	margin-bottom: 6px;
}

.rdc-info-value {
	display: block;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.5;
	color: var(--dark);
}

.rdc-security-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	flex-wrap: wrap;
}

.rdc-security-row+.rdc-security-row {
	margin-top: 24px;
}

.rdc-security-row .rdc-info-label {
	margin-bottom: 4px;
}

/* ---------- Notices ---------- */
.rdc-db-notice {
	padding: 12px 16px;
	border-radius: 8px;
	margin-bottom: 18px;
	font-size: 14px;
}

.rdc-db-notice--success {
	background: #eef6e2;
	border-left: 4px solid #7cb342;
}

.rdc-db-notice--error {
	background: #fdecea;
	border-left: 4px solid var(--red);
}

/* ---------- Stats ---------- */
.rdc-db-stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}

.rdc-db-stat {
	background: #fff;
	border: 1px solid var(--grey);
	border-radius: 16px;
	padding: 22px;
	text-align: center;
	text-decoration: none;
	color: var(--dark);
	display: flex;
	flex-direction: column;
	gap: 4px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, .03);
}

.rdc-db-stat__num {
	font-size: 30px;
	font-weight: 700;
	line-height: 1;
}

.rdc-db-stat__label {
	font-size: 13px;
	color: var(--muted);
}

.rdc-db-stat--pending {
	border-top: 3px solid var(--orange);
}

.rdc-db-stat--accepted {
	border-top: 3px solid #7cb342;
}

.rdc-db-stat--docs {
	border-top: 3px solid var(--dark);
}

.rdc-db-latest {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}

.rdc-db-latest>div {
	flex: 1;
	min-width: 200px;
}

.rdc-db-latest p {
	margin: 0 0 4px;
}

/* ---------- Tableaux ---------- */
.rdc-db-table-wrap {
	overflow-x: auto;
}

.rdc-db-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.rdc-db-table th {
	text-align: left;
	padding: 14px 18px;
	background: #f8fafc;
	border-bottom: 1px solid var(--line);
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: .4px;
	color: var(--muted);
	font-weight: 700;
}

.rdc-db-table--dark th {
	background: var(--dark);
	color: #fff;
	border-bottom: none;
}

.rdc-db-table td {
	padding: 16px 18px;
	border-bottom: 1px solid var(--line);
	color: var(--dark);
}

.rdc-db-table tbody tr:last-child td {
	border-bottom: none;
}

.rdc-db-table tbody tr:hover {
	background: #fafbfc;
}

.rdc-db-table td .dashicons {
	color: var(--muted);
	font-size: 18px;
	width: 18px;
	height: 18px;
	vertical-align: middle;
}

.rdc-db-table__action {
	text-align: right;
	white-space: nowrap;
}

.rdc-db-eye {
	color: var(--slate);
	text-decoration: none;
	display: inline-flex;
	padding: 6px;
	border-radius: 6px;
}

.rdc-db-eye .dashicons {
	color: var(--slate);
	font-size: 20px;
	width: 20px;
	height: 20px;
}

.rdc-db-eye:hover {
	background: var(--light-grey);
}

.rdc-doc-act {
	display: inline-flex;
	padding: 6px;
	border-radius: 6px;
	text-decoration: none;
}

.rdc-doc-act .dashicons {
	color: var(--slate);
	font-size: 18px;
	width: 18px;
	height: 18px;
}

.rdc-doc-act:hover {
	background: var(--light-grey);
}

.rdc-doc-act--sign .dashicons {
	color: var(--sable);
}

/* ---------- Statuts & lieux (texte coloré) ---------- */
.rdc-status {
	font-weight: 700;
	font-size: 13px;
}

.rdc-status--pending {
	color: var(--orange);
}

.rdc-status--accepted {
	color: var(--green);
}

.rdc-status--refused {
	color: var(--red);
}

.rdc-lieu {
	font-weight: 600;
}

.rdc-lieu--chateau {
	color: var(--blue);
}

.rdc-lieu--pressoir {
	color: var(--purple);
}

.rdc-lieu--totalite {
	color: var(--teal);
}

/* ---------- Single ---------- */
.rdc-single {
	display: grid;
	grid-template-columns: 1fr 330px;
	gap: 24px;
	align-items: start;
}

.rdc-single .rdc-card {
	padding: 32px;
}

.rdc-single__head {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 24px;
}

.rdc-single__ref {
	font-size: 24px;
	font-weight: 700;
	margin: 0;
}

.rdc-single__subtitle {
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: .5px;
	color: var(--muted);
	font-weight: 700;
	margin: 24px 0 14px;
}

.rdc-single__subtitle:first-of-type {
	margin-top: 0;
}

.rdc-single__desc {
	font-size: 14px;
	line-height: 1.6;
	margin: 0;
	color: var(--dark);
}

.rdc-db-back {
	margin: 0 0 16px;
}

.rdc-db-back a {
	text-decoration: none;
	font-size: 14px;
	color: var(--muted);
}

.rdc-cancel {
	margin-top: 28px;
}

.rdc-cancel__note {
	text-align: center;
	font-size: 12px;
	color: var(--muted);
	margin: 10px 0 0;
}

.rdc-equip-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.rdc-equip {
	background: var(--search-bg);
	color: var(--dark);
	font-size: 13px;
	padding: 6px 12px;
	border-radius: 6px;
	border: 1px solid var(--line);
}

.rdc-equip::before {
	display: none;
}

.rdc-venue__img {
	height: 180px;
	background: var(--light-grey);
	border-radius: 10px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 16px;
}

.rdc-venue__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.rdc-venue__img .dashicons {
	font-size: 54px;
	width: 54px;
	height: 54px;
	color: var(--grey);
}

.rdc-venue__name {
	margin: 0 0 6px;
	font-size: 16px;
}

.rdc-venue__addr {
	font-size: 13px;
	color: var(--muted);
	margin: 0;
	display: flex;
	align-items: flex-start;
	gap: 6px;
}

.rdc-venue__addr .dashicons {
	font-size: 16px;
	width: 16px;
	height: 16px;
	color: var(--sable);
}

/* ---------- Partenaires (maquette exacte) ---------- */
.rdc-partners-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, 304px);
	gap: 24px;
	justify-content: start;
}

.rdc-partner-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 16px;
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, .03);
}

.rdc-partner-card__meta {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
}

.rdc-partner-card__name {
	font-size: 16px;
	font-weight: 700;
	color: var(--ink);
	margin: 0;
	line-height: 1.3;
}

.rdc-partner-card__cat {
	display: inline-flex;
	font-size: 12px;
	font-weight: 600;
	color: #f97316;
	background: rgba(249, 115, 22, .06);
	padding: 4px 10px;
	border-radius: 999px;
}

.rdc-partner-card__desc {
	font-size: 13px;
	color: var(--ink);
	margin: 0;
	line-height: 1.5;
}

.rdc-partner-card__divider {
	height: 1px;
	background: var(--line);
	width: 100%;
}

.rdc-partner-card__contact {
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 13px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}



.rdc-partner-card__contact li {
	display: flex;
	align-items: center;
	gap: 8px;
	padding-left: 0 !important;
}

.rdc-partner-card__contact li::before {
	display: none;
}

.rdc-partner-card__contact .dashicons {
	font-size: 16px;
	width: 16px;
	height: 16px;
	color: var(--slate);
	flex: 0 0 auto;
}

.rdc-partner-card__contact a {
	color: var(--ink);
	text-decoration: none;
	word-break: break-word;
}

.rdc-partner-card__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 40px;
	width: 100%;
	margin-top: auto;
	background: #fff;
	border: 1px solid #1b2b41;
	border-radius: 10px;
	color: #1b2b41;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	font-family: inherit;
	transition: background .15s ease;
}

.rdc-partner-card__btn:hover {
	background: #f6f7f8;
}

@media screen and (max-width: 700px) {
	.rdc-partners-grid {
		grid-template-columns: 1fr;
	}
}

/* ---------- Responsive ---------- */
@media screen and (max-width: 1000px) {
	.rdc-single {
		grid-template-columns: 1fr;
	}
}

@media screen and (max-width: 880px) {
	.rdc-dash {
		grid-template-columns: 1fr;
	}

	.rdc-dash__side {
		border-right: none;
		border-bottom: 1px solid var(--line);
	}

	.rdc-dash__nav {
		flex-direction: row;
		flex-wrap: wrap;
	}

	.rdc-dash__nav-link {
		width: auto;
	}

	.rdc-db-stats {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media screen and (max-width: 600px) {
	.rdc-dash__header {
		flex-direction: column;
	}

	.rdc-dash__search input {
		width: 100%;
	}

	.rdc-auth__img {
		display: none;
	}

	.rdc-db-form__row {
		flex-direction: column;
		gap: 0;
	}

	.rdc-info-grid {
		grid-template-columns: 1fr;
	}

	.rdc-card__head,
	.rdc-card__body,
	.rdc-card__foot-note {
		padding-left: 20px;
		padding-right: 20px;
	}

	.rdc-db-table thead {
		display: none;
	}

	.rdc-db-table,
	.rdc-db-table tbody,
	.rdc-db-table tr,
	.rdc-db-table td {
		display: block;
		width: 100%;
	}

	.rdc-db-table tr {
		border: 1px solid var(--line);
		border-radius: 10px;
		margin: 12px;
		padding: 6px 10px;
	}

	.rdc-db-table td {
		border: none;
		padding: 7px 2px;
		display: flex;
		justify-content: space-between;
		gap: 12px;
	}

	.rdc-db-table td::before {
		content: attr(data-label);
		font-weight: 700;
		color: var(--muted);
	}

	.rdc-db-table--dark th {
		display: none;
	}
}