@charset "utf-8";

/* CONTAINER 2 COLONNES */
.faq_container{
  display: flex;
  gap: 25px;
  align-items: flex-start;
}

/* MENU VERTICAL */
.nav_1 {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 260px;
  display: flex;
  flex-direction: column; /* 🔥 vertical */
  gap: 10px;
}

/* BUTTON STYLE */
.nav_1 li a {
  display: block;
  padding: 12px 15px;
  text-decoration: none;
  background: #f1f1f1;
  border-radius: 2px;
  color: #333;
  font-weight: 200;
  transition: 0.3s;
}

/* HOVER */
.nav_1 li a:hover {
  background: #ddd;
}

/* ACTIVE BUTTON */
.nav_1 li.active a {
  background: #007bff;
  color: white;
}

/* CONTENT BOX */
.tab-content {
  flex: 1;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 2px;
  background: #fff;
}

/* PAGES */
.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

.form-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.form-container form {
    background: #ffffff;
    padding: 20px;
    width: 320px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    box-sizing: border-box;
}

/* Champs */
.form-container input,
.form-container select {
    width: 100%;
    padding: 10px;
    margin-bottom: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    box-sizing: border-box;
}

/* Focus */
.form-container input:focus,
.form-container select:focus {
    border-color: #007bff;
    outline: none;
}

/* Bouton */
.form-container button {
    width: 100%;
    padding: 10px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 15px;
    cursor: pointer;
}

/* Hover */
.form-container button:hover {
    background: #0056b3;
}				  
				

/*UPLOAD-INFORMATION-CSS*/

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #eef2f7;
}

/* Center container */
.container {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Form styling */
form {
    background: #fff;
    padding: 25px;
    border-radius: 2px;
    width: 320px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

form h2 {
    text-align: center;
    margin-bottom: 15px;
}

/* Inputs */
form input,
form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 12px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 14px;
}

/* Button */
form button {
    width: 100%;
    padding: 10px;
    background: #226AC0;
    border: none;
    color: #fff;
    font-size: 15px;
    border-radius: 5px;
    cursor: pointer;
}

form button:hover {
    background: #9C1C1C;
}

/*table-administrationcss*/

.table-container {
    width: 100%;
    overflow-x: auto;
    margin-top: 30px;
}

.table-container table {
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.table-container th {
    background: #235897;
    color: white;
    padding: 12px;
    text-align: left;
}

.table-container td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.table-container tr:nth-child(even) {
    background: #f9f9f9;
}

.table-container tr:hover {
    background: #EFEFEF;
}

.table-container img {
    border-radius: 5px;
}
		

/*Autre..table*/

.table-container {
    width: 100%;
    overflow-x: auto; /* permet scroll horizontal */
	color:#000000;
	text-align: justify;
	
				
}

.table-container th {
    background: #235897;
    color: white;
    padding: 12px;
    text-align: left;
	text-align: justify;
}


.partner-table {
    min-width: 500px; /* force largeur horizontale */
    border-collapse: collapse;
    width: 100%;
    background: #fff;
}

/* Colonnes */
.partner-table th,
.partner-table td {
    padding: 12px;
    text-align: left;
    vertical-align: top;
}

/* IMPORTANT: élargir Details */
.partner-table td:nth-child(5),
.partner-table th:nth-child(5) {
    min-width: 400px;
    white-space: normal; /* texte normal */
}

/* Empêcher les autres colonnes de rétrécir */
.partner-table td:nth-child(1) { min-width: 50px; }
.partner-table td:nth-child(2) { min-width: 150px; }
.partner-table td:nth-child(3) { min-width: 200px; }
.partner-table td:nth-child(4) { min-width: 200px; }
.partner-table td:nth-child(6) { min-width: 180px; }


/*CSS-FOR-TESTIMONY*/

.testimony {
    margin: 20px auto;
    padding: 15px;
    max-width: 800px;
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* FLEX: image gauche, texte droite */
.testimony-container {
    display: flex;
    align-items: flex-start;
    gap: 20px;
	
}

/* IMAGE */
.testimony-image img {
    width: 200px;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
	
	
}

/* TEXTE */
.testimony-content {
    flex: 1;
}


/*image-right-editing*/
.testimonyP {
    margin: 20px auto;
    padding: 15px;
    max-width: 800px;
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* FLEX: image gauche, texte droite */
.testimony-containerP {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    flex-direction: row-reverse; /* image à droite */
}

/* IMAGE */
.testimony-imageP img {
    width: 200px;
    height: auto;
    border-radius: 5px;
 
	
	
}

/* TEXTE */
.testimony-contentP {
    flex: 1;
	
}





/*End-of-image-editing*/
.testimony-content h2 {
    margin: 0 0 10px;
    color: #333;
}

.testimony-content p {
    color: #555;
    line-height: 1.5;
}

.testimony-content small {
    display: block;
    margin-top: 10px;
    color: #888;
}

/* BOUTON DELETE */
.delete-btn {
    margin-top: 15px;
    padding: 8px 15px;
    background-color: #e74c3c;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.readmore-btn {
    margin-top: 15px;
    padding: 8px 15px;
    background-color: #065393;
    color: white;
    border: none;
    border-radius: 1px;
    cursor: pointer;
}

.delete-btn:hover {
    background-color: #c0392b;
}

.readmore-btn:hover {
    background-color: #065393;
}

/* RESPONSIVE (mobile) */
@media (max-width: 600px) {
    .testimony-container {
        flex-direction: column;
        align-items: center;
    }

    .testimony-image img {
        width: 100%;
    }
}