/* =========================================================
   LiveGalerie - Compte (connexion / inscription)
   ========================================================= */

/* ===== Fond global ===== */
#corps.compte-page {
	background: #e9eff4;
	padding: 20px 0 30px 0;
}

/* ===== Conteneur principal ===== */
.compte-container {
	width: 96%;
	max-width: 1200px;
	margin: 0 auto;
}

/* ===== Hero ===== */
.compte-hero {
	background: linear-gradient(135deg, #f7fafc 0%, #dde7ee 100%);
	border: 1px solid #b8c9d4;
	padding: 20px 24px;
	margin-bottom: 20px;
	box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.compte-hero h1 {
	margin: 0 0 8px 0;
	font-size: 2em;
	color: #1d3a4d;
}

.compte-hero p {
	margin: 0;
	color: #405e70;
}

/* ===== Layout ===== */
.compte-layout {
	display: flex;
	gap: 24px;
	align-items: flex-start;
}

.compte-main {
	flex: 1;
}

.compte-side {
	width: 320px;
}

/* ===== Carte ===== */
.compte-card {
	background: #ffffff;
	border: 1px solid #c4d3dc;
	box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.compte-card-header {
	padding: 16px 18px;
	background: linear-gradient(180deg, #dce6ed 0%, #c8d6e0 100%);
	border-bottom: 1px solid #b4c4cf;
}

.compte-card-header h2 {
	margin: 0;
	font-size: 1.4em;
	color: #1d3a4d;
}

.compte-card-body {
	padding: 18px;
}

/* ===== Formulaire ===== */
.compte-form p {
	margin-bottom: 10px;
}

.compte-form label {
	display: block;
	font-weight: bold;
	margin-bottom: 4px;
	color: #2c4a5d;
}

.compte-form input[type="text"],
.compte-form input[type="password"],
.compte-form select {
	width: 100%;
	padding: 8px 10px;
	border: 1px solid #9fb3bf;
	background: #f9fcfe;
}

.compte-form input:focus {
	outline: none;
	border-color: #2e6a8c;
	box-shadow: 0 0 0 3px rgba(46,106,140,0.15);
}

/* ===== Bouton ===== */
.compte-btn {
	display: inline-block;
	padding: 10px 18px;
	background: #d6e2ea;
	border: 1px solid #90a6b3;
	color: #1d3a4d;
	cursor: pointer;
	font-weight: bold;
}

.compte-btn:hover {
	background: #c5d7e2;
}

/* ===== Messages ===== */
.compte-error {
	background: #fbe3e3;
	border: 1px solid #e3a1a1;
	padding: 10px;
	margin-bottom: 12px;
	color: #7a1f1f;
}

.compte-success {
	background: #e3f5ea;
	border: 1px solid #9fd0b2;
	padding: 14px;
}

/* ===== Sidebar ===== */
.compte-box {
	background: #ffffff;
	border: 1px solid #c4d3dc;
	padding: 14px;
	margin-bottom: 14px;
}

.compte-box h3 {
	margin-top: 0;
	font-size: 1.1em;
	color: #1d3a4d;
}

.compte-box ul {
	margin-left: 18px;
}

/* ===== Responsive ===== */
@media screen and (max-width: 900px) {
	.compte-layout {
		display: block;
	}
	.compte-side {
		width: auto;
		margin-top: 20px;
	}
}

.compte-step {
	text-align: center;
	margin-bottom: 20px;
}

.compte-choices {
	display: flex;
	gap: 20px;
	justify-content: center;
}

.compte-choice {
	cursor: pointer;
	padding: 20px;
	width: 180px;
	border: 1px solid #c4d3dc;
	background: #fff;
	transition: .2s;
}

.compte-choice:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.compte-choice .icon {
	font-size: 30px;
	margin-bottom: 8px;
}

.compte-page-modal {
	padding: 8px 0 10px 0 !important;
	background: #eef3f7;
}

.compte-page-modal .compte-container {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0 10px;
	box-sizing: border-box;
}

.compte-page-modal .compte-hero {
	margin-bottom: 10px;
	padding: 12px 14px;
	box-shadow: none;
}

.compte-page-modal .compte-hero h1 {
	font-size: 1.65em;
}

.compte-page-modal .compte-hero p {
	font-size: 0.92em;
}

.compte-page-modal .compte-layout {
	display: block;
}

.compte-page-modal .compte-main {
	width: 100% !important;
	float: none !important;
	margin: 0 !important;
}

.compte-page-modal #inscription_form {
	width: 100% !important;
	float: none !important;
	margin: 0 !important;
}

.compte-page-modal .compte-side {
	display: none !important;
}

.compte-page-modal .compte-card {
	box-shadow: none;
	border-color: #c7d6df;
}

.compte-page-modal .compte-card-header {
	padding: 12px 14px;
}

.compte-page-modal .compte-card-body {
	padding: 14px;
}

.compte-page-modal .cadre_gris {
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

.compte-page-modal fieldset {
	margin: 0;
	padding: 0;
	border: 0;
}

.compte-page-modal .compte-step {
	margin-bottom: 14px;
}

.compte-page-modal .compte-step h3 {
	margin: 0 0 12px 0;
	font-size: 1.15em;
}

.compte-page-modal .compte-choices {
	gap: 12px;
}

.compte-page-modal .compte-choice {
	width: calc(33.333% - 8px);
	padding: 14px 10px;
}

.compte-page-modal .compte-choice .icon {
	font-size: 28px;
	margin-bottom: 6px;
}

.compte-page-modal .compte-choice h4 {
	margin: 4px 0 4px 0;
	font-size: 1.05em;
}

.compte-page-modal .compte-choice p {
	margin: 0;
	font-size: 0.92em;
	line-height: 1.25;
}

.compte-page-modal .compte-form p {
	margin-bottom: 8px;
}

.compte-page-modal .compte-form label {
	margin-bottom: 3px;
}

.compte-page-modal .compte-form input[type="text"],
.compte-page-modal .compte-form input[type="password"],
.compte-page-modal .compte-form select {
	box-sizing: border-box;
}

.compte-page-modal .notice {
	font-size: 0.9em;
	line-height: 1.35;
}

@media screen and (max-width: 760px) {
	.compte-page-modal .compte-choices {
		display: block;
	}

	.compte-page-modal .compte-choice {
		width: auto;
		margin-bottom: 10px;
	}
}