html, body {
    /*height: 100%;*/
    margin: 0;
   /* display: flex;*/
   /* flex-direction: column;*/
}
body {
    font-family: 'Arial', sans-serif;
    background-color: #fef5ed;
    color: #333;
    /*display: flex;*/
    overflow-x: hidden;
}

.sidebar {
    width: 250px;
    background-color: #E6B0AA;
    color: white;
    padding: 20px;
    height: 100vh;
    position: fixed;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    transition: width 0.3s;
	z-index: 1000; /* important */

}

.sidebar .user-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    border: 2px solid #D9880;
    border-radius: 10px;
    margin-bottom: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s, border-color 0.3s;
    text-align: center;
}

.sidebar .user-profile:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: #fff3e0;
}

.sidebar .user-profile .avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 10px;
    border: 3px solid #E6B0AA; /* Contour rose */
    box-shadow: 0 0 0 3px #fff3e0; /* Optionnel : halo clair autour */
}

.sidebar .user-profile .username {
    font-size: 1rem;
    font-weight: bold;
}

.sidebar .user-profile .btn-logout {
    background-color: #D9880;
    border: none;
    color: white;
    padding: 8px 12px;
    border-radius: 5px;
    transition: background-color 0.3s;
    font-size: 0.9rem;
    margin-top: 10px;
}

.sidebar .user-profile .btn-logout:hover {
    background-color: #fff3e0;
    color: #D9880;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar ul li {
    margin-bottom: 1.5rem;
}

.sidebar ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    position: relative;
    padding-left: 15px;
    transition: color 0.3s, padding-left 0.3s;
}

.sidebar ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    position: relative;
    padding-left: 15px;
    transition: color 0.3s, padding-left 0.3s;
}

.sidebar ul li a::before {
    content: '\f004'; /* Code Unicode pour l'icône cœur de Font Awesome */
    font-family: "Font Awesome 5 Free"; /* Utilise la police Font Awesome */
    font-weight: 900; /* Assure que l'icône est en gras */
    position: absolute;
    left: -25px; /* Déplace l'icône vers la gauche pour créer de l'espace */
    opacity: 0;
    transition: opacity 0.3s, left 0.3s;
}

.sidebar ul li a:hover::before {
    opacity: 1;
    left: 5px; /* Ajuste la position finale de l'icône pour éviter le chevauchement */
}

.sidebar ul li a:hover {
    color: #D9880 !important; /* Force l'application de la couleur au survol */
    padding-left: 35px; /* Ajuste le padding pour éviter le chevauchement */
}

.section .btn-primary,
.btn-primary {
    background-color: #E6B0AA;
    border-color: #E6B0AA;
    color: white;
    transition: background-color 0.3s, border-color 0.3s;
}

.section .btn-primary:hover,
.btn-primary:hover {
    background-color: #CD6155 !important; /* Force l'application de la couleur de fond au survol */
    color: white;
    transform: scale(1.05); /* Agrandit légèrement le bouton au survol */
}





   .main-content {
        margin-left: 250px;
        padding: 20px;
        width: calc(100% - 250px);
        flex: 1;
    }

.main-content h1 {
    margin-bottom: 2rem;
    color: #E6B0AA;
}

.section.card {
    background: white;
    padding: 25x;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease-in-out;
    border-left: 5px solid #E6B0AA;
    margin-top: 30px;
  
    
}

.section:hover {
    transform: translateY(-5px);
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.section-header i {
    font-size: 2rem;
    color: #E6B0AA;
    margin-right: 10px;
}

.section h2 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
}

.section p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 15px;
}

.btn-primary {
    background: #E6B0AA;
    border: none;
    padding: 10px 15px;
    font-size: 1rem;
    font-weight: bold;
    color: white;
    border-radius: 5px;
    transition: background 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.btn-primary i {
    margin-right: 5px;
}

.section .btn-primary:hover,
.btn-primary:hover {
    background: #CD6155 !important; /* Change la couleur de fond au survol */
    color: white;
    transform: scale(1.05); /* Agrandit légèrement le bouton au survol */
}

.section .btn-primary {
    background-color: #E6B0AA;
    border-color: #E6B0AA;
    color: white;
    transition: background-color 0.3s, border-color 0.3s;
}


.section .btn-primary:hover {
    background-color: #D9880;
    border-color: #D9880;
}

.tile {
    text-align: center;
    padding: 20px;
    border-radius: 15px;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 30px; /* Ajoute une marge en bas pour espacer les tuiles */
}

.tile:hover {
    transform: translateY(-5px);
}

.tile h2 {
    font-size: 2.2rem; /* ou 2rem, ajuste selon ton design */
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 0; /* Ajoute cette ligne pour éviter l'espace en bas */
}

.tile small {
    font-size: 0.85em;
    margin-top: 0;
}
.tile h5 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.tile i {
    font-size: 5rem;
    opacity: 0.2;
    position: absolute;
    bottom: 10px;
    right: 10px;
}

#weddingTile {
    background: linear-gradient(135deg, #ff7eb3, #ff758c);
}

#inviteTile {
    background: linear-gradient(135deg, #110352, #1b025f);
}

#taskTile {
    background: linear-gradient(135deg, #42e695, #3bb2b8);
}

#budgetTile {
    background: linear-gradient(135deg, #ffcc67, #ff8c42);
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: -15px; /* Ajoute une marge négative pour compenser les marges internes */
}

.col-md-4 {
    flex: 0 0 33.333%;
    max-width: 33.333%;
    padding: 15px; /* Ajoute un padding pour créer de l'espace entre les tuiles */
}

.footer {
display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #343a40;
}

.footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer .social-icons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.btn-account {
    background-color: #D9880; /* Couleur de fond pour le bouton "Mon Compte" */
    border: none;
    color: white;
    padding: 8px 12px;
    border-radius: 5px;
    transition: background-color 0.3s;
    font-size: 0.9rem;
    margin-top: 10px;
    display: flex;
    align-items: center;
}

.btn-account i {
    margin-right: 5px;
}

.btn-account:hover {
    background-color: #fff3e0;
    color: #D9880;
}

.calendar-container {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
	flex-grow: 1;
}

/* Style du modal girly - version plus visible */
.girly-modal {
    background: linear-gradient(135deg, #fff 0%, #E6B0AA 100%);
    border-radius: 20px;
    border: 3px solid #CD6155;
    /* Ombre douce rose, sans noir */
    box-shadow: 0 8px 32px rgb(255, 255, 255), 0 0 0 8px #fff0f6;
}

.girly-modal .modal-header {
    background: linear-gradient(90deg, #E6B0AA 0%, #CD6155 100%);
    border-bottom: 3px solid #CD6155;
    border-radius: 18px 18px 0 0;
    color: #fff;
}

.girly-modal .modal-title {
    color: #fff;
    font-weight: bold;
    font-size: 1.5em;
    letter-spacing: 1px;
    text-shadow: 1px 1px 4px #CD6155;
}

.girly-modal .close-btn {
    color: #fff;
    opacity: 1;
    font-size: 2em;
    text-shadow: 1px 1px 4px #CD6155;
}

.girly-modal .modal-body {
    padding: 2rem 2.5rem 2rem 2.5rem;
}

.girly-input {
    border-radius: 14px !important;
    border: 2px solid #CD6155 !important;
    background: #fff !important;
    color: #CD6155 !important;
    font-weight: 600;
    font-size: 1.1em;
    box-shadow: 0 2px 8px #E6B0AA33;
    margin-bottom: 1.2em;
}

.girly-input:focus {
    border-color: #E6B0AA !important;
    box-shadow: 0 0 0 0.2rem #E6B0AA88;
    background: #fff0f6;
    color: #CD6155;
}

.girly-btn {
    background: linear-gradient(90deg, #CD6155 0%, #E6B0AA 100%);
    color: #fff;
    border: none;
    border-radius: 14px;
    font-weight: bold;
    font-size: 1.1em;
    padding: 0.7em 2.2em;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 16px #CD615555;
    letter-spacing: 1px;
}

.girly-btn:hover, .girly-btn:focus {
    background: linear-gradient(90deg, #E6B0AA 0%, #CD6155 100%);
    color: #fff;
    box-shadow: 0 6px 24px #CD615577;
}

.girly-modal label {
    color: #CD6155;
    font-weight: bold;
    font-size: 1.08em;
    margin-bottom: 0.3em;
    letter-spacing: 0.5px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
.container-flex {
    display: flex;
    align-items: flex-start; /* Alignement en haut */
    gap: 20px; /* Espacement entre les éléments */
}

.reminder-btn {
    font-size: 0.8rem;
    padding: 5px 10px;
}
/* Timeline debut */
* {
  box-sizing: border-box;
}

.timeline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  position: relative;
  margin: 0 auto;
  padding: 40px 60px;
  overflow: auto;
}

.timeline:after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  top: 50%;
  height: 8px;
  background: #CD6155;
  border-radius: 3px;
  z-index: 1;
  transform: translateY(-50%);
}

.timeline article {
  display: inline-block;
  position: relative;
  background: #CD6155;
  color: #ffffff;
  width: 200px;
  height: 100px;
  padding: 20px;
  margin: 0 0 50px 0;
  vertical-align: top;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline article:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.timeline article:not(:first-child) {
  margin-left: -20px;
}

.timeline article:not(:last-child) {
  margin-right: -20px;
}

.timeline article:before {
  content: "\f004"; /* FontAwesome heart icon */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: calc(100% + 26px);
  left: 50%;
  background: #E6B0AA;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.timeline article:after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  width: 0;
  height: 0;
  border-left: 16px solid transparent;
  border-right: 16px solid transparent;
  border-top: 20px solid #eeeeee;
  transform: translateX(-50%);
}

.timeline article:nth-child(even) {
  margin-top: 140px;
  margin-bottom: 0;
}

.timeline article:nth-child(even):before {
  top: auto;
  bottom: calc(100% + 26px);
}

.timeline article:nth-child(even):after {
  top: auto;
  bottom: 100%;
  border-left: 16px solid transparent;
  border-right: 16px solid transparent;
  border-bottom: 20px solid #eeeeee;
  border-top: none;
}

.timeline article h2 {
  font-size: 22px;
  margin: 0;
  color: #ffffff;
}

/* Onglets profil personnalisés */
.nav-tabs {
    border-bottom: 2px solid #E6B0AA;
}
.nav-tabs .nav-link {
    color: #E6B0AA;
    font-weight: bold;
    border: none;
    background: none;
    border-radius: 0;
    transition: background 0.2s, color 0.2s;
}
.nav-tabs .nav-link.active,
.nav-tabs .nav-link:focus,
.nav-tabs .nav-link:hover {
    color: #fff !important;
    background-color: #E6B0AA !important;
    border: none;
}
.nav-tabs .nav-link:not(.active):hover {
    background-color: #fbeee6 !important;
    color: #CD6155 !important;
}

/* Style pour la photo de couverture */
.cover-photo {
    position: relative;
    width: 100%;
    height: auto;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}

.cover-photo img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Style pour la photo des mariés */
.event-photo {
    position: absolute;
    bottom: 10%; /* Ajustez cette valeur pour positionner la photo comme souhaité */
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    padding: 5px;
    border-radius: 50%;
}

.event-photo img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
}

/* Effet de survol pour la photo de couverture */
.cover-photo:hover img {
    opacity: 0.7;
    cursor: pointer;
}

/* Effet de survol pour la photo des mariés */
.event-photo:hover img {
    opacity: 0.6;
    cursor: pointer;
}


.card.tile {
    min-height: 170px;
    max-height: 170px;
    height: 170px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

 .login-container {
            background: #fff;
            border-radius: 16px;
            box-shadow: 0 4px 24px rgba(230, 176, 170, 0.15);
            padding: 2.5rem 2rem 2rem 2rem;
            max-width: 370px;
            width: 100%;
            margin: auto;
        }
        .login-title {
            color: #E6B0AA;
            font-weight: bold;
            text-align: center;
            margin-bottom: 1.5rem;
            font-size: 2rem;
        }
        .login-icon {
            font-size: 2.5rem;
            color: #E6B0AA;
            display: block;
            text-align: center;
            margin-bottom: 1rem;
        }
        .form-control {
            border-radius: 8px;
            border: 1.5px solid #E6B0AA;
        }
        .form-control:focus {
            border-color: #CD6155;
            box-shadow: 0 0 0 0.2rem rgba(230,176,170,.15);
        }
        .btn-login {
            background: #E6B0AA;
            color: #fff;
            border: none;
            border-radius: 8px;
            font-weight: bold;
            width: 100%;
            margin-top: 10px;
            transition: background 0.3s;
        }
        .btn-login:hover {
            background: #CD6155;
            color: #fff;
        }
        .login-error {
            color: #c0392b;
            text-align: center;
            margin-top: 1rem;
            font-size: 1rem;
        }
        .login-label {
            color: #CD6155;
            font-weight: bold;
        }
.login-bg {
    min-height: 100vh;
    width: 100vw;
    position: fixed;
    top: 0; left: 0;
    z-index: -1;
    background: linear-gradient(135deg, #fef5ed 0%, #E6B0AA 100%);
    /* Tu peux remplacer par une image si tu veux : background-image: url('img/tonimage.jpg'); */
}
.menu-icon { display: none; /* ... */ }



.text-rose {
    color: #E6B0AA !important;
}

.badge-custom-date {
    background: linear-gradient(90deg, #ffb6c1 0%, #E6B0AA 100%);
    color: #ffffff;
    font-weight: bold;
}

.main-flex {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  width: 100%;
  overflow-x: auto;
}
.plan-zone {
  flex: 1 1 0;
  min-width: 400px;
  max-width: 100%;
}
#table-container {
  position: relative;
  width: 100%;
  max-width: 900px; /* ou 100% si tu veux que ça prenne toute la place */
  min-width: 400px;
  background: #ffffff;
  border: 1px solid #eee;
  border-radius: 10px;
  margin-bottom: 30px;
  overflow: hidden;
  box-shadow: 0 2px 12px #0001;
  max-width: 1200px;
}
.side-zone {
  width: 340px;
  min-width: 280px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.table-item {
  position: absolute;
  cursor: move;
  text-align: center;
  user-select: none;
}
.table-shape {
  position: relative;
  width: 100px;
  height: 100px;
  border: 2px solid #555;
  background: #f9f9f9;
  box-shadow: 1px 1px 5px rgba(0,0,0,0.1);
  border-radius: 0;
  /* PAS de display: flex ici ! */
  padding: 0; /* Important : pas de padding sinon le centre est décalé */
  margin: 0;
}

.table-shape.ronde {
  border-radius: 50%;
}

.table-shape.rectangle {
  width: 140px;
  height: 70px;
  border-radius: 10px;
}

.table-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-weight: bold;
  pointer-events: auto;
  background: rgba(255,255,255,0.8);
  padding: 2px 10px;
  border-radius: 5px;
  cursor: pointer;
  user-select: text;
  max-width: 90%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 1.1em;
  color: #CD6155;
  box-shadow: 0 2px 8px #E6B0AA22;
  z-index: 2;
}
.chair {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 36px;
  padding: 0 18px;
  background: #f7f7f7;
  border: 1px solid #bbb;
  border-radius: 999px; /* pilule parfaite */
  text-align: center;
  font-size: 1em;
  cursor: pointer;
  white-space: nowrap;
  box-sizing: border-box;
  height: auto;      /* <-- important : pas de hauteur fixe */
  width: auto;       /* <-- important : pas de largeur fixe */
  /* PAS de max-width, PAS de overflow */
}
.badge-chair-num {
  display: inline-block;
  background: #007bff;
  color: #fff;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  text-align: center;
  line-height: 20px;
  font-size: 0.85em;
  font-weight: bold;
  margin: 0 auto;
  margin-top: 2px;
}
.chair:hover {
  background-color: #444;
}
.chair.selected {
  border: 2px solid #007bff;
  box-shadow: 0 0 6px #007bff;
}
#invites-list, #guest-summary {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px #0001;
  padding: 16px 14px;
  margin-bottom: 0;
  border: 1px solid #e3e3e3;
}
#invites-list {
  max-height: 350px;
  overflow-y: auto;
}
#invites-list .invite-item {
  cursor: pointer;
  padding: 7px 10px;
  border-radius: 6px;
  margin-bottom: 4px;
  font-size: 1.05em;
  transition: background 0.15s;
}
#invites-list .invite-item:hover {
  background: #e3f2fd;
}
#guest-summary {
  position: sticky;
  top: 20px;
  width: 300px;
  max-height: 80vh;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #ccc;
  padding: 15px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  border-radius: 5px;
  font-size: 14px;
}
#guest-summary h5 {
  margin-top: 0;
  margin-bottom: 10px;
}
#guest-summary ul {
  padding-left: 20px;
  margin-top: 5px;
  margin-bottom: 15px;
}
#guest-summary ul li {
  list-style-type: disc;
}
#export-btns { margin-bottom: 15px; }

.card-img-top, video {
  border-radius: 0.25rem 0.25rem 0 0;
}

.btn-danger {
  background-color: #c0392b;
  border-color: #a93226;
  transition: background-color 0.3s ease;
}

.btn-danger:hover {
  background-color: #922b21;
  border-color: #78261a;
}

/* Responsive Design */
@media (max-width: 768px) {
      .sidebar {
        position: relative; /* pour qu'elle ne soit plus fixe */
        width: 100%;
        height: auto;
        padding: 15px;
        box-shadow: none;
    }

    .main-content {
        margin-left: 0;
        width: 100%;
    }

    .sidebar .user-profile {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }

    .sidebar .user-profile .avatar {
        width: 50px;
        height: 50px;
        margin: 0 10px 0 0;
    }

    .sidebar ul li {
        margin-bottom: 1rem;
    }

    .row {
        flex-direction: column;
    }

    .col-md-4 {
        max-width: 100%;
        flex: 0 0 100%;
    }
    .event-photo {
        bottom: 5%;
    }

    .event-photo img {
        width: 80px;
        height: 80px;
    }

    .timeline {
        display: none;
    }

    .sidebar {
        display: none;
        width: 100%;
        height: auto;
        position: relative;
    }

    .sidebar.active {
        display: block;
        position: absolute;
        top: 60px; /* Adjust based on header height */
        z-index: 1000;
    }

     .main-content,
    .footer {
        margin-left: 0;
        width: 100%;
        padding: 10px;
    }

    .section, .tile {
        padding: 15px;
    }

    .section-header i {
        font-size: 1.5rem;
    }

    .tile h2 {
        font-size: 2rem;
    }

    .tile h5 {
        font-size: 1rem;
    }

    .menu-icon {
        display: block;
        cursor: pointer;
        padding: 15px;
        background-color: #E6B0AA;
        color: white;
        text-align: center;
    }

    .menu-icon:hover {
        background-color: #D98880;
    }

    .d-flex {
        flex-direction: column;
    }
    .sidebar { transform: translateX(-100%); /* ... */ }
    .sidebar.active { transform: translateX(0); }
    .menu-icon { display: block; }
      #main-plan-container {
    flex-direction: column;
  }
  #guest-summary {
    width: 100%;
    position: static; /* ne reste pas sticky sur mobile */
    max-height: none;
    margin-top: 20px;
  }
}


