:root {
 --primary-color: #0073aa; /* Valeur par défaut */
 --secondary-color: #005177; /* Valeur par défaut */
 --third-color: #000000; /* Valeur par défaut */
}
/* Utilisation des variables dans le reste du CSS */
.button-primary {
	background-color: var(--primary-color);
}
.button-primary:hover {
	background-color: var(--secondary-color);
}
/* Autres styles utilisant les variables */
h1 {
	color: var(--primary-color);
}
.abstract-submission-wrapper {
	max-width: 800px;
	margin: 0 auto;
}
.progress-bar {
	display: flex;
	justify-content: space-between;
	margin-bottom: 65px;
}
.progress-step {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	/*background: #eee;
	display: flex;*/
	align-items: center;
	justify-content: center;
	font-weight: bold;
	cursor: pointer;
}
.progress-step.active {
	/*background: #0073aa;*/
	color: white;
}
.step {
	display: none;
	padding: 20px;
	border: 1px solid #ddd;
	border-radius: 5px;
}
.step.active {
	display: block;
}
.form-group {
	margin-bottom: 15px;
}
label {
	display: block;
	margin-bottom: 5px;
	font-weight: bold;
}
input[type="text"], input[type="email"], textarea, select {
	width: 100%;
	padding: 8px;
	border: 1px solid #ddd;
	border-radius: 4px;
}
.navigation-buttons {
	margin-top: 20px;
	display: flex;
	justify-content: space-between;
}
button {
	padding: 10px 20px;
	background: #0073aa;
	color: white;
	border: none;
	border-radius: 4px;
	cursor: pointer;
}
button:hover {
	background: #005177;
}
.error {
	border-color: #ff0000 !important;
}
.author-group {
	margin-bottom: 20px;
	padding-bottom: 20px;
	border-bottom: 1px solid #eee;
}
/* ===== Ã‰TAPE BIENVENUE ===== */
.welcome-step {
	max-width: 800px;
	margin: 0 auto;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	color: #333;
	background: #fff;
	padding: 40px;
	border-radius: 8px;
	box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
	text-align: center;
}
.welcome-header h1 {
	color: var(--primary-color);
	font-size: 32px;
	margin-bottom: 30px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
}
.rules-list {
	text-align: left;
	max-width: 600px;
	margin: 0 auto 30px;
}
.rules-list ul {
	list-style-type: none;
	padding: 0;
	margin: 0;
}
.rules-list li {
	position: relative;
	padding-left: 30px;
	margin-bottom: 15px;
	font-size: 18px;
	line-height: 1.6;
}
.rules-list li:before {
	content: "â€”";
	position: absolute;
	left: 0;
	color: var(--primary-color);
	font-weight: bold;
}
.separator {
	height: 1px;
	background: #ddd;
	margin: 40px 0;
}
/* Bouton Suivant */
.single-button {
	display: flex;
	justify-content: center;
}
.next-step {
	padding: 15px 50px;
	font-size: 18px;
	font-weight: 600;
	border-radius: 5px;
	cursor: pointer;
	transition: all 0.3s;
	background: var(--primary-color);
	border: 1px solid var(--primary-color);
	color: white;
}
.next-step:hover {
	background: var(--secondary-color);
	border: 1px solid var(--secondary-color);
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
/* ===== Ã‰TAPE 2 - INFORMATIONS AUTEUR ===== */
.step-content {
	max-width: 800px;
	margin: 0 auto;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	color: #333;
	background: #fff;
	padding: 30px;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.step-header {
	border-bottom: 2px solid var(--secondary-color);
	padding-bottom: 15px;
	margin-bottom: 25px;
}
.step-header h2 {
	color: var(--secondary-color);
	font-size: 24px;
	margin: 0;
	font-weight: 600;
}
.add-author-button {
	background: var(--secondary-color) !important;
}
/* ===== STRUCTURE FORMULAIRE ===== */
.form-section {
	margin-bottom: 25px;
	padding-bottom: 20px;
	border-bottom: 1px solid #eee;
}
.form-row {
	display: flex;
	flex-wrap: wrap;
	margin: 0 -10px;
}
.form-column {
	flex: 1;
	min-width: 250px;
	padding: 0 10px;
	margin-bottom: 15px;
}
/* ===== CHAMPS FORMULAIRE ===== */
label {
	display: block;
	margin-bottom: 6px;
	font-size: 14px;
	font-weight: 600;
	color: #444;
}
input[type="text"], input[type="email"], input[type="tel"], select {
	width: 100%;
	padding: 12px 15px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 14px !important;
	transition: border-color 0.3s;
}
 input::placeholder, textarea::placeholder {
 color: #999;
 font-size: 12px;
 font-weight: 300;
}
select {
	background-color: #fff;
	appearance: none;
	background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8"><path fill="%23333" d="M6 8L0 0h12L6 8z"/></svg>');
	background-repeat: no-repeat;
	background-position: right 15px center;
	padding-right: 40px;
}
/* ===== BOUTONS NAVIGATION ===== */
.navigation-buttons {
	display: flex;
	justify-content: space-between;
	margin-top: 25px;
	padding-top: 20px;
	border-top: 1px solid #eee;
}
.navigation-buttons button {
	padding: 12px 30px;
	font-size: 16px;
	font-weight: 600;
	border-radius: 5px;
	cursor: pointer;
	transition: all 0.3s;
}
.prev-step {
	background: #f8f9fa;
	border: 1px solid #ddd;
	color: #555;
}
.prev-step:hover {
	background: #e9ecef;
}
.next-step {
	background: var(--primary-color);
	border: 1px solid var(--primary-color);
	color: white;
}
.next-step:hover {
	background: var(--secondary-color);
}
/* ===== EFFETS FOCUS ===== */
input[type="text"]:focus, input[type="email"]:focus, input[type="tel"]:focus, select:focus {
	border-color: #0073aa;
	outline: none;
	box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.2);
}
/* Styles pour les erreurs */
.error {
	border-color: #ff3860 !important;
}
.error-message {
	color: #ff3860;
	font-size: 12px;
	margin-top: 5px;
}
/* AmÃ©lioration de l'apparence des champs en erreur */
input.error, select.error {
	background-color: #fff5f5;
}
/* ===== Ã‰TAPE 3 - AJOUT D'AUTEURS ===== */
.author-section {
	background: #f9f9f9;
	border-radius: 8px;
	padding: 20px;
	margin-bottom: 25px;
	border: 1px solid #eee;
	position: relative;
}
.author-is-chief {
	margin-top: -4px;
}
.main-author {
	background: #f0f8ff;
	border: 1px solid #cce5ff;
}
.author-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 15px;
	border-bottom: 1px solid #ddd;
	padding-bottom: 10px;
}
.author-header h3 {
	color: #0073aa;
	font-size: 18px;
	margin: 0;
}
.remove-author {
	background: #ff3860;
	color: white;
	border: none;
	padding: 8px 15px;
	border-radius: 4px;
	cursor: pointer;
	font-size: 14px;
}
.remove-author:hover {
	background: #ff1d49;
}
.chief-label {
	display: flex;
	align-items: center;
	margin-top: 25px;
}
.chief-label input {
	margin-right: 10px;
}
/* Style pour les champs en lecture seule */
.author-field[readonly] {
	background-color: #f5f5f5;
	color: #666;
	border-color: #ddd;
}

/* Responsive */
@media (max-width: 768px) {
.author-header {
	flex-direction: column;
	align-items: flex-start;
}
.remove-author {
	margin-top: 10px;
}
}
/* ===== Ã‰TAPE 4 - ORDRE DES AUTEURS ===== */
#authors-order-container {
	margin: 20px 0;
}
.author-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px;
	margin-bottom: 10px;
	background: #f9f9f9;
	border: 1px solid #eee;
	border-radius: 8px;
}
.author-details {
	flex-grow: 1;
}
.author-name {
	font-weight: bold;
	margin-bottom: 5px;
}
.author-email, .author-affiliation {
	font-size: 14px;
	color: #666;
}
.author-actions {
	display: flex;
	flex-direction: column;
}
.author-actions button {
	background: none;
	border: none;
	font-size: 20px;
	cursor: pointer;
	padding: 5px;
	color: #0073aa;
}
.author-actions button:disabled {
	color: #ccc;
	cursor: not-allowed;
}
.author-actions button:not(:disabled):hover {
	color: #005177;
}
/* === STYLES SPÃ‰CIFIQUES Ã€ L'Ã‰TAPE 5 === */
.submission-types {
	display: flex !important;
	flex-direction: column;
	gap: 20px;
	margin: 25px 0;
}
.submission-type {
	border: 2px solid #e0e0e0;
	border-radius: 8px;
	padding: 20px;
	cursor: pointer;
	transition: all 0.3s ease;
	background: #f9f9f9;
	position: relative;
}
.submission-type:hover {
	transform: translateY(-3px);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	border-color: var(--third-color);
}
h3 {
	color: var(--third-color) !important;
}
.submission-type.selected {
	border-color: #0073aa;
	background: #e6f2ff;
	box-shadow: 0 5px 15px rgba(0, 115, 170, 0.15);
}
.submission-type input[type="radio"] {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}
.submission-type label {
	display: block;
	cursor: pointer;
	padding-left: 35px;
	position: relative;
}
.submission-type label::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 24px;
	height: 24px;
	border: 2px solid var(--primary-color);
	border-radius: 50%;
	background: white;
}
.submission-type.selected label::before {
	background: var(--primary-color);
}
.submission-type.selected label::after {
	content: "";
	position: absolute;
	left: 9px;
	top: 5px;
	width: 6px;
	height: 12px;
	border: solid white;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}
.submission-type h2 {
	color: var(--primary-color);
	margin-bottom: 10px;
	font-size: 20px;
	font-weight: 600;
}
.type-description {
	padding-left: 35px;
}
.type-description p {
	line-height: 1.6;
	color: #555;
	margin: 0;
}
.recap-container {
	max-width: 700px;
	margin: auto;
	padding: 30px;
	border: 1px solid #ccc;
	background: #fff;
	font-family: Arial, sans-serif;
}
.recap-container h2 {
	font-size: 18px;
	margin-top: 20px;
	font-weight: bold;
	border-bottom: 1px solid #ddd;
	padding-bottom: 5px;
}
.recap-container ul {
	list-style: none;
	padding-left: 0;
}
.recap-container li {
	padding: 5px 0;
}
.recap-buttons {
	margin-top: 30px;
	text-align: right;
}
.recap-buttons button {
	padding: 8px 16px;
	margin-left: 10px;
}
/******* steps ***********/

.abstract-submission-wrapper {
	width: 100%;
}
.progress-bar {
	display: flex;
	justify-content: space-between;
	position: relative;
}
.progress-step {
	position: relative;
	text-align: center;
	flex: 1;
}
.progress-step.active {
	color: var(--primary-color); /* Active step color */
}
.progress-step::after {
	content: '';
	position: absolute;
	top: 14px; /* Position of the line */
	left: 100%;
	width: 100%;
	height: 2px; /* Line thickness */
	background-color: #007bff; /* Line color */
	z-index: -1; /* Behind the steps */
}
.progress-step:last-child::after {
	content: none; /* Remove line after the last step */
}
.step-text {
	font-size: 14px; /* Adjust font size */
	color: #666; /* Gray color for the text */
	margin-top: 20px; /* Space between number and text */
}
/* Circle styles */
.progress-step::before {
	content: attr(data-step);
	display: inline-block;
	width: 30px; /* Circle width */
	height: 30px; /* Circle height */
	line-height: 30px; /* Center text vertically */
	border-radius: 50%; /* Make it a circle */
	background-color: #e0e0e0; /* Default circle color */
	color: white; /* Text color */
	font-weight: bold; /* Bold text */
	position: relative;
	z-index: 1; /* Above the line */
}
.progress-step.active::before {
	background-color: var(--primary-color); /* Active circle color */
}
.progress-bar .active .step-text {
	color: var(--primary-color);
}

/* ====================== */
/*      RESPONSIVE BASE    */
/* ====================== */

/* Tablette (â‰¤ 992px) */
@media (max-width: 992px) {
.abstract-submission-wrapper {
	padding: 0 15px;
}
.progress-bar {
	flex-wrap: wrap;
	justify-content: center;
}
.progress-step {
	flex: initial;
	margin: 5px;
}
.form-row {
	flex-direction: column;
}
.form-column {
	min-width: 100%;
	padding: 0;
}
.step-content, .welcome-step {
	padding: 20px;
}
}

/* Mobile (â‰¤ 768px) */
@media (max-width: 768px) {
/* RÃ©duction de la taille des cercles */
.progress-step::before {
	width: 24px;
	height: 24px;
	line-height: 24px;
	font-size: 12px;
}
.step-text {
	font-size: 10px;
	margin-top: 10px;
}
/* On enlÃ¨ve la ligne horizontale pour Ã©viter le dÃ©bordement */
.progress-step::after {
	display: none;
}
/* Boutons de navigation en pile */
.navigation-buttons {
	flex-direction: column;
	gap: 10px;
}
.navigation-buttons button {
	width: 100%;
}
/* Champs plus grands pour le tactile */
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
	font-size: 14px;
	padding: 10px;
}
 input::placeholder {
 font-size: 12px;
}
/* Titre plus petit */
.welcome-header h1 {
	font-size: 24px;
}
}

/* TrÃ¨s petit mobile (â‰¤ 480px) */
@media (max-width: 480px) {
.step-header h2 {
	font-size: 18px;
}
.submission-type h2 {
	font-size: 16px;
}
.type-description p {
	font-size: 13px;
}
.remove-author {
	font-size: 12px;
	padding: 6px 10px;
}
.author-header h3 {
	font-size: 16px;
}
}

/* Responsive pour tablette et mobile */
@media (max-width: 768px) {
.progress-bar {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	gap: 20px;
	padding-bottom: 10px;
}
 .progress-bar::-webkit-scrollbar {
 height: 6px;
}
 .progress-bar::-webkit-scrollbar-thumb {
 background: #ccc;
 border-radius: 3px;
}
.progress-step {
	flex: 0 0 auto;
	min-width: 150px;
}
.progress-step::before {
	width: 24px;
	height: 24px;
	line-height: 24px;
	font-size: 12px;
}
.step-text {
	font-size: 12px;
	margin-top: 10px;
	white-space: nowrap;
}
.progress-step::after {
	top: 12px;
	height: 2px;
	width: calc(100% - 24px);
}
}
/*** file upload ****/
.file-upload {
	position: relative;
	display: inline-block;
	width: 100%;
}
.file-upload input[type="file"] {
	position: absolute;
	left: 0;
	top: 0;
	opacity: 0;
	width: 100%;
	height: 100%;
	cursor: pointer;
}
.file-upload-label {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	border: 2px dashed #4a90e2;
	border-radius: 12px;
	padding: 25px;
	transition: all 0.3s ease;
	background: #f9faff;
	color: #4a90e2;
	font-weight: 500;
}
.file-upload-label i {
	font-size: 40px;
	margin-bottom: 8px;
	transition: transform 0.3s ease;
}
.file-upload-label:hover {
	background: #eaf3ff;
	border-color: #357ab8;
}
.file-upload-label:hover i {
	transform: scale(1.1);
}
.file-name {
	margin-top: 10px;
	font-size: 14px;
	color: #666;
}
/***** Tag *******/

.tags-input {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	padding: 8px;
	border: 1px solid #ddd;
	border-radius: 4px;
	cursor: text;
}
.tags-input input {
	border: none;
	flex: 1;
	min-width: 120px;
	font-size: 14px;
	padding: 6px;
	outline: none;
}
.tag {
	background-color: #0073aa;
	color: white;
	padding: 5px 10px;
	border-radius: 20px;
	display: flex;
	align-items: center;
	font-size: 14px;
}
.tag .remove-tag {
	margin-left: 8px;
	cursor: pointer;
	font-weight: bold;
}
.keywords-info {
	font-size: 12px;
	color: #666;
	margin-top: 4px;
}
/* Card styles for Abstract Submission warning */
.as-card {
	max-width: 720px;
	margin: 24px auto;
	display: flex;
	gap: 18px;
	align-items: center;
	padding: 18px;
	border-radius: 14px;
	box-shadow: 0 6px 22px rgba(12,15,25,0.08);
	background: linear-gradient(90deg, #fff 0%, #fff 60%);
	border: 1px solid rgba(220,30,45,0.08);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}
.as-card--warning {
	border-color: rgba(220,30,45,0.18);
	background: linear-gradient(90deg, #fff6f6 0%, #fff 100%);
}
.as-card__icon {
	flex: 0 0 68px;
	height: 68px;
	border-radius: 12px;
	background: linear-gradient(135deg, rgba(220,30,45,0.12), rgba(220,30,45,0.04));
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 30px;
	box-shadow: 0 4px 14px rgba(220,30,45,0.06) inset;
}
.as-card__body {
	flex: 1;
	min-width: 0;
}
.as-card__title {
	margin: 0 0 6px 0;
	font-size: 18px;
	font-weight: 700;
	color: #b71c1c;
	letter-spacing: -0.2px;
}
.as-card__text {
	margin: 0 0 12px 0;
	color: #333;
	line-height: 1.45;
	font-size: 14px;
	opacity: 0.95;
}
.as-card__actions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}
.as-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 14px;
	border-radius: 10px;
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
	min-height: 36px;
	box-shadow: 0 2px 8px rgba(12,15,25,0.04);
}
.as-btn--primary {
	background: var(--primary-color);
	color: #fff;
	border: 1px solid rgba(0,0,0,0.04);
}
.as-btn--primary:hover {color:var(--secondary-color);}
.as-btn--ghost {
	background: transparent;
	border: 1px solid rgba(176, 0, 0, 0.12);
	color: var(--primary-color);
}
.as-btn--ghost:hover {color:var(--third-color) !important;}
.forms-wrapper-login-register .form button {background: var(--primary-color);}
.forms-wrapper-login-register .form button:hover {background: var(--secondary-color);}
.custom-abstracts-table a {color:var(--primary-color) !important;}
.custom-abstracts-table a:hover {color:var(--secondary-color) !important;}

/* Responsive */
@media (max-width: 520px) {
.as-card {
	padding: 14px;
	gap: 12px;
	border-radius: 12px;
}
.as-card__icon {
	width: 56px;
	height: 56px;
	font-size: 26px;
}
.as-card__title {
	font-size: 16px;
}
.as-btn {
	padding: 8px 12px;
	font-size: 13px;
}
}
.as-forms-container {
	display: flex;
	gap: 40px;
	flex-wrap: wrap;
	margin-bottom: 30px;
}
.as-forms-container form {
	flex: 1 1 300px;
	box-sizing: border-box;
	border: 1px solid #ddd;
	padding: 20px;
	border-radius: 6px;
	background: #f9f9f9;
}
 @media (max-width: 768px) {
.as-forms-container {
	flex-direction: column;
}
.as-forms-container form {
	flex: unset;
	width: 100%;
	margin-bottom: 20px;
}
}
.forms-wrapper-login-register {
	display: flex;
	gap: 40px;
	flex-wrap: wrap;
	margin-bottom: 30px;
	justify-content: center;
}
.forms-wrapper-login-register .form {
	flex: 1 1 320px;
	max-width: 450px;
	background: #f5f8fa;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	padding: 30px 25px;
	box-shadow: 0 4px 8px rgba(0,0,0,0.05);
	box-sizing: border-box;
	font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
	min-height: 385px;
}
.forms-wrapper-login-register .form h3 {
	margin-bottom: 20px;
	color: #334155;
	font-weight: 600;
	font-size: 1.6rem;
	text-align: center;
}
.forms-wrapper-login-register .form p {
	margin-bottom: 15px;
}
.forms-wrapper-login-register .form input[type="text"], .forms-wrapper-login-register .form input[type="email"], .forms-wrapper-login-register .form input[type="password"] {
	width: 100%;
	padding: 10px 14px;
	border: 1px solid #94a3b8;
	border-radius: 5px;
	font-size: 1rem;
	transition: border-color 0.3s ease;
}
.forms-wrapper-login-register .form input[type="text"]:focus, .forms-wrapper-login-register .form input[type="email"]:focus, .forms-wrapper-login-register .form input[type="password"]:focus {
	border-color: #2563eb;
	outline: none;
}
.forms-wrapper-login-register .form label {
	font-size: 0.9rem;
	color: #475569;
	user-select: none;
}
.forms-wrapper-login-register .form button {
	width: 100%;
	padding: 12px 0;
	border: none;
	border-radius: 6px;
	font-size: 1.1rem;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.3s ease;
	color: white;
	margin-top: 10px;
}
/* Styles spécifiques boutons */
.forms-wrapper-login-register .form .btn-login {
	background-color: #2563eb;
}
.forms-wrapper-login-register .form .btn-login:hover {
	background-color: #1e40af;
}
.forms-wrapper-login-register .form.register .btn-register {
	background-color: #16a34a;
}
.forms-wrapper-login-register .form.register .btn-register:hover {
	background-color: #166534;
}

/* Responsive : empile verticalement */
@media (max-width: 768px) {
.forms-wrapper-login-register {
	flex-direction: column;
	align-items: center;
}
.forms-wrapper-login-register .form {
	max-width: 100%;
}
}
.custom-user-menu h2 {
	font-size: 10px;
}
.custom-user-menu ul li a {
	font-size: 12px;
}
.custom-abstracts-table {
	width: 100%;
	border-collapse: collapse;
	margin: 20px 0;
}
.custom-abstracts-table th, .custom-abstracts-table td {
	padding: 12px;
	text-align: center;
	border: 1px solid #ddd;
}
.custom-abstracts-table th {
	background-color: #f2f2f2;
	color: #333;
}
.custom-abstracts-table tbody tr:hover {
	background-color: #f1f1f1;
}
.custom-abstracts-table .view-details {
	color: #0073aa;
	text-decoration: none;
}
.custom-abstracts-table .view-details:hover {
	text-decoration: underline;
}
.no-abstracts-message {
	font-size: 16px;
	color: #666;
	text-align: center;
	margin: 20px 0;
}
