/* ---- RESET & BASE ---- */
html, body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
    background: #fbeaf3;
    color: #222;
    min-height: 100vh;
}

h1, h2, h4 {
    color: #ff4fa2;
    font-weight: 700;
    letter-spacing: 1px;
    margin-top: 0;
}

h3{
    color: #000;
}

.alert-success {
    background: green;
    color: #155724;
    border-radius: 8px;
    padding: 1rem 1.2rem;
    margin-bottom: 1.5rem;
    border: 1px solid #c3e6cb;
    font-size: 1.1rem;
}


.btn btn-outline-danger{
    justify-content:right;
}

.minitext{
    text-align:left;
}

.sub1{
    margin-top: -30px;
}

.sub2{
    margin-top: -70px;
}
.sub3{
    margin-top: 20px;
}

h1 { font-size: 2.3rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.25rem; }

a {
    color: #ff4fa2;
    text-decoration: none;
    transition: color 0.2s;
}

.prestataires-list {
    margin: 15px 0;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    padding: 10px;
}

.prestataires-row {
    display: flex;
    flex-wrap: wrap;
    gap: 32px; /* espace horizontal entre les prestataires */
    justify-content: flex-start;
}

.prestataire-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 110px;
    position: relative;
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
    background: none;
    box-shadow: none;
}


.prestataire-item {
    cursor: pointer;
    position: relative;
    margin-bottom: 10px;
}
.prestataire-item .description {
    box-shadow: 0 2px 8px;
    color: #000;
    font-size: 0.95em;
}

.circle-image {
    display: inline-block;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    vertical-align: middle;
    background: #fff;
    margin-bottom: 8px;
}
.circle-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}


.poi{
    float: right;
}

/*a:hover {
    color: #000;
    text-decoration: underline;
}*/

/* ---- CONTAINERS ---- */
.container {
    max-width: 1800px;
    margin: 40px auto 0 auto;
    padding: 30px 20px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 16px rgba(255,79,162,0.08);
}

.text-center { text-align: center; }
.text-end { text-align: right; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.py-5 { padding-top: 2rem; padding-bottom: 2rem; }

/* ---- BUTTONS ---- */
button, .btn {
    display: inline-block;
    background: #f8bbd0; /* rose vif uni */
    color: #fff;
    border: none;
    border-radius: 25px;
    font-weight: 500;
    font-size: 1rem;
    padding: 10px 28px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    margin: 0.2rem 0;
}
/*supprimer*/
button.btn-danger, .btn-danger {
    background: #d72670; /* rose foncé uni */
}
/*ajouter*/
button.btn-success, .btn-success {
    background: #ffb6e6; /* rose pastel clair uni */
    color: #b02a37;
}
button.btn-secondary, .btn-secondary {
    background: #f8bbd0;
    color: #222;
}
button:hover, .btn:hover {
    filter: brightness(0.9);
}


/* ---- FORMS ---- */
form {
    margin: 0 0 2rem 0;
    max-width: 400px;
    background: #fff0fa;
    border-radius: 14px;
    padding: 24px 20px;
    box-shadow: 0 2px 8px rgba(255,79,162,0.04);
}
input, select, textarea {
    width: 93%;
    padding: 10px 12px;
    margin-bottom: 1rem;
    border: 1px solid #ffb6e6;
    border-radius: 8px;
    font-size: 1rem;
    background: #fff;
    transition: border 0.2s;
}
input:focus, select:focus, textarea:focus {
    border: 1.5px solid #ff4fa2;
    outline: none;
}

/* ---- CARDS ---- */
.card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 8px rgba(255,79,162,0.07);
    margin-bottom: 1.5rem;
    padding: 1.5rem 1rem;
}
.card-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: #ff4fa2;
    margin-bottom: 1rem;
}

.card_mb-4 {
    margin-left : 40px;
}

.services-row {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: flex-start;
    align-items: stretch;
    overflow-x: auto;
}

.service-card {
    flex: 1 1 20vw;
    min-width: 220px;
    max-width: 360px;
    background: #fff0fa;
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 1px 5px rgba(255,79,162,0.07);
    margin-top: 1.2rem;
    margin-left: 0;
    display: flex;
    flex-direction: column;
    height: 100%; 
}


.card-footer {
    background: none;
    border-top: none;
    text-align: center;
    padding-top: 0;
}

/* ---- TABLES ---- */
table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 2rem;
}
th, td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #ffd1ea;
    text-align: left;
}
th {
    background: #ff4fa2;
    color: #fff;
    font-weight: 600;
}
tr:last-child td {
    border-bottom: none;
}
tr:hover {
    background: #ffe3f3;
}

/* ---- ALERTS ---- */
.alert {
    border-radius: 12px;
    font-size: 1.05rem;
    padding: 0.8rem 1rem;
    margin-bottom: 1rem;
}
.alert-danger { background: #ffd1ea; color: #b02a37; }
.alert-success { background: #fce4ec; color: #ad1457; }
.alert-warning { background: #fff3cd; color: #856404; }

/* ---- NAVBAR ---- */
.navbar {
    width: 100%;
    background: #000;
    color: #fff;
    padding: 0;
    margin: 0 0 2rem 0;
    border-radius: 0 0 18px 18px;
    box-shadow: 0 2px 8px rgba(255,79,162,0.06);
    display: flex;
    justify-content: left;
    align-items: center;
    min-height: 60px;
}
.navbar-menu {
    display: flex;
    width: 100%;
    max-width: 1100px;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0 2vw;
}
.navbar-menu li {
    text-align: center;
    flex: none;
    margin: 0 1.5vw;
}
.navbar-menu .nav-left {
    margin-right: auto;
}
.navbar-menu .nav-right {
    margin-left: auto;
}
.navbar-menu a {
    color: #fff;
    font-weight: 500;
    text-decoration: none;
    font-size: 1.08rem;
    padding: 0.7rem 1.2rem;
    border-radius: 20px;
    transition: background 0.2s, color 0.2s;
    display: inline-block;
}
.navbar-menu a:hover {
    background: #000;
    color: #ff4fa2;
}
@media (max-width: 900px) {
    .navbar-menu { flex-direction: column; }
    .navbar-menu .nav-left,
    .navbar-menu .nav-right {
        margin: 0;
    }
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
    .container { padding: 10px 2vw; }
    form { padding: 18px 8px; }
    .card { padding: 1rem 0.5rem; }
    th, td { padding: 0.5rem 0.4rem; }
}
