/* Styles pour la page de succès */
.success-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    text-align: center;
    background-color: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.success-icon {
    margin: 1.5rem 0;
    animation: bounce 1s;
}

.success-message {
    margin: 1.5rem 0;
    line-height: 1.6;
}

.download-section {
    margin: 2rem 0;
    padding: 1.5rem;
    background-color: #e9f7ef;
    border-radius: 8px;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background-color: #28a745;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.download-btn:hover {
    background-color: #218838;
}

.file-info {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #6c757d;
}

.additional-actions {
}

.secondary-btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    color: #007bff;
    text-decoration: none;
    border: 1px solid #007bff;
    border-radius: 4px;
    transition: all 0.3s;
}

.secondary-btn:hover {
    background-color: #007bff;
    color: white;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-20px);}
    60% {transform: translateY(-10px);}
}
#consentement {
	display:flex;
	align-items: center;
	gap: 1rem;
}
.radio-group-sexe {
    display: flex;
    align-items: center;
    gap: 1rem; /* espace entre les boutons */

}
.radio-group label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 0.5rem;
}
.form-group input[type="number"] {
    width:100%;
}
.radio-group input[type="radio"] {
    margin-top: 0.2rem;
}
#dark-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    font-size: 0.9em;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-width: 100%;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    table-layout: fixed; /* Pour une répartition égale des colonnes */
    border-spacing:20px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

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

}

.btn-link {
      text-decoration:none;
      color:white;
}
.texte-div {
  padding-top:5px;
}
.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom:3px;
}

.radio-group-sexe {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.lienNonTrouve {
	background-color:pink;
}
.pagination-nav {
	width:50%;
}
#divPassword {
	display:ruby;
}
#warning {
	color:red;
}
#coupon_mairie {
	width:100%;
}
#coupon_mairie_comb {
	width:100%;
}
td {
	text-align:center;
}
.table th {
	text-align:center;
	background-color: black !important;
	color: white !important;
}
#camembertChart {
	max-width: 100%;
	width: 100%;
	height: auto;
}
.chart-container {
	max-width: 500px; /* ou 50%, ou ce que tu veux */
	margin: auto;
}

@media 
only screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 1024px)  {

	/* Force table to not be like tables anymore */
	#my_documents table,#my_documents  thead,#my_documents  tbody,#my_documents  th,#my_documents  td,#my_documents  tr { 
		display: block; 
	}
	
	/* Hide table headers (but not display: none;, for accessibility) */
	#my_documents thead tr { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
	
	#my_documents tr { border: 1px solid #ccc; }
	
	#my_documents td { 
		/* Behave  like a "row" */
		border: none;
		border-bottom: 1px solid #eee; 
		position: relative;
		padding-left: 50%; 
	}
	
	#my_documents td:before { 
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		top: 6px;
		left: 6px;
		width: 55%; 
		padding-right: 10px; 
		white-space: nowrap;
		text-align:left;
	}
	
	/*
	Label the data
	*/
	#my_documents td:nth-of-type(1):before { content: "Nom"; }
	#my_documents td:nth-of-type(2):before { content: "Prénom"; }
	#my_documents td:nth-of-type(3):before { content: "Status"; }
	#my_documents td:nth-of-type(4):before { content: "Photo d'identité"; }
	#my_documents td:nth-of-type(5):before { content: "Carte d'identité"; }
	#my_documents td:nth-of-type(6):before { content: "Autor. parentale"; }
	#my_documents td:nth-of-type(7):before { content: "Certificat médical"; }
	#my_documents td:nth-of-type(8):before { content: "Tarif"; }
	#my_documents td:nth-of-type(9):before { content: "Montant restant"; }
	#my_documents td:nth-of-type(10):before { content: "Paiement"; }
	#my_documents td:nth-of-type(11):before { content: "Supprimer"; }
}

