body {
    /* background-color: skyblue; */
    background: #faf7f6;
    padding-bottom: 90px;
}

label.required::after {
    content: " *";
    color: red;
    font-weight: bold;
}

/* HEADER TOP */
.logo-menu {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    /* background-color: gold; */
    background-color: #F5F0E6;
    margin-left: 1.5em !important;
}

/* HEADER BOTTOM */
/********************************/
/* BARRE UTILISATEUR EN HAUT */
/********************************/

.mobile-user-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    position: relative;
    gap: 10px;
}

.mobile-logo-container {
    width: 90px;
    height: 90px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border-radius: 50%;
    background: #fffdf9;
    /* box-shadow:
        0 4px 12px rgba(0,0,0,.08),
        0 0 0 2px rgba(214,175,95,.25); */
    background: radial-gradient(circle,
            rgba(214, 175, 95, 0.15) 0%,
            transparent 70%);
}

.mobile-logo {
    width: 90px;
    transform: scale(1.5);
    filter:
        drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15)) drop-shadow(0 0 8px rgba(214, 175, 95, 0.25));
}

.mobile-user-info {
    font-size: 14px;
    color: #7b1e2b;
    font-weight: 600;
    flex: 1;
    text-align: center;
}

.admin-menu {
    position: static;
}

.admin-menu-toggle {
    background: transparent;
    border: none;
    font-size: 1.4rem;
    color: #8B0000;
    cursor: pointer;
}

.admin-menu-dropdown {
    display: none;
    position: fixed;
    /* top: 85px; */
    right: 0;
    width: 200px;
    background: white;
    border-radius: 12px 0 0 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .15);
    z-index: 2000;
    overflow: hidden;
}

.admin-menu-dropdown a {
    display: block;
    padding: 12px 15px;
    text-decoration: none;
    color: #333;
}

.admin-menu-dropdown a:hover {
    background: #f5f5f5;
}

.admin-menu.open .admin-menu-dropdown {
    display: block;
}

/********************************/
/* MENU BAS */
/********************************/

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;

    height: 80px;

    background: white;

    display: flex;
    justify-content: space-around;
    align-items: center;

    box-shadow: 0 -5px 25px rgba(0, 0, 0, .08);

    /* border-radius: 25px 25px 0 0; */

    z-index: 9999;
}

.bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;

    text-decoration: none;
    color: #8d8d8d;

    font-size: 12px;
}

.bottom-nav a i {
    font-size: 22px;
    margin-bottom: 5px;
}

.bottom-nav a.active {
    color: #7b1e2b;
}

.bottom-nav a.active i {
    transform: scale(1.15);
}

.btn-photo {
    background: #f7dddd;
    color: #7b1e2b !important;
    border-radius: 50%;
    /* display: flex; */
    /* align-items: center; */
    justify-content: center;
    width: 64px;
    height: 64px;
    /* margin: 0 auto 12px; */
}

.btn-photo i {
    font-size: 30px !important;
}

/* HOME image */
img.home-image {
    width: 100%;
    /* height: auto; */
    object-fit: fill !important;
}

/* HOME */
.home-page {
    padding: 20px;
    /* padding-bottom: 110px; */
}

.home-hero {
    /* text-align: center; */
    /* margin-top:20px; */
    /* padding: 30px 10px 10px; */

    min-height: 360px;
    margin: -20px -20px 25px;
    /* padding: 45px 20px 70px; */
    padding: 100px 20px 50px;

    background:
        linear-gradient(rgba(255, 248, 245, 0.5),
            rgba(255, 248, 245, 0.85)),
        var(--hero-bg);
    /* url('/images/home/home-hero-q72C56J.png'); */

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    border-bottom-left-radius: 50% 10%;
    border-bottom-right-radius: 50% 10%;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.home-hero-overlay {
    width: 100%;
}

.hero-subtitle {
    color: #8a5a5a;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 13px;
}

.hero h5 {
    color: #b28d8d;
}

.home-hero h1 {
    font-family: "Playfair Display", serif;
    color: #7b1e2b;
    font-size: 42px;
    line-height: 1.1;
    margin: 10px 0;
}

.home-hero h1 span {
    display: block;
    /* color: #d89a9a; */
    /* color: #f99e9e; */
    /* color: #f7d89d; */
    color: #ffbbbb;
    text-shadow: 0 2px 0px rgba(255, 255, 255, .7);
}

.hero-ornement {
    width: 216px;
    margin: 8px auto;
}


.hero span {
    color: #d8a0a0;

}

.hero-date {
    /* color: #666; */
    color: #7b1e2b;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-size: 14px;
}

.countdown-card,
.welcome-card,
.home-card {
    background: white;
    border-radius: 25px;
    padding: 20px;
    /* margin-top: 25px; */
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .05);
}

.countdown-card {
    padding: 20px;
    text-align: center;
    margin: 20px 0;
}

.countdown-card h2 {
    color: #d88989;
    font-size: 20px;
    font-family: "Playfair Display", serif;
}

#countdown {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-top: 15px;
}

#countdown span {
    display: block;
    font-size: 28px;
    color: #7b1e2b;
    font-weight: bold;
}

#countdown small {
    color: #999;
    font-size: 11px;
    text-transform: uppercase;
}

.welcome-card {
    /* margin-top: 20px; */
    /* margin-bottom: 22px; */
    margin: 20px 0;
    background: white;
    border-radius: 25px;
    padding: 20px;
    display: flex;
    /* gap: 16px; */
    flex-direction: column;
}

.welcome-icon,
.home-card-icon {
    background: #f7dddd;
    color: #7b1e2b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.welcome-icon {
    min-width: 58px;
    /* height: 58px; */
    font-size: 24px;
    width: 64px;
    height: 64px;
    margin: auto;
}

.welcome-card h2,
.home-card h3 {
    color: #7b1e2b;
}

.welcome-card p,
.home-card p {
    color: #555;
    margin-bottom: 0;
}

.home-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.home-card {
    text-decoration: none;
    padding: 22px 14px;
    text-align: center;
}

.home-card-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 12px;
    font-size: 26px;
}

.home-card h3 {
    font-size: 18px;
    margin-bottom: 4px;
}

.home-card p {
    font-size: 13px;
}

.wedding-day-message {
    /* margin-top: 20px; */
    text-align: center;
    animation: fadeIn 1.2s ease;
    position: relative;
    overflow: hidden;
    padding: 12px 0 4px;
}

.wedding-day-message h2 {
    color: #7b1e2b;
    font-family: "Playfair Display", serif;
    font-size: 26px;
    margin: 10px 0;
}

.wedding-day-message p {
    color: #a84d5d;
    font-size: 20px;
    font-style: italic;
}

.jour-j-ornement {
    width: 210px;
    display: block;
    margin: 10px auto;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#countdown-finished-message {
    position: relative;
}

.confetti-wrapper {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 10;
    top: -18px;
    left: 0;
    width: 100%;
    height: 95px;
}

.confetti-wrapper span {
    position: absolute;
    top: 0;
    font-size: 22px;
    animation: confettiFall 2.8s ease-out forwards;
}

.wedding-day-message h2,
.wedding-day-message p,
.jour-j-ornement {
    position: relative;
    z-index: 2;
}

/* .confetti-wrapper span:nth-child(1) { left: 8%; animation-delay: 0s; }
.confetti-wrapper span:nth-child(2) { left: 20%; animation-delay: .2s; }
.confetti-wrapper span:nth-child(3) { left: 34%; animation-delay: .1s; }
.confetti-wrapper span:nth-child(4) { left: 48%; animation-delay: .3s; }
.confetti-wrapper span:nth-child(5) { left: 60%; animation-delay: .15s; }
.confetti-wrapper span:nth-child(6) { left: 72%; animation-delay: .35s; }
.confetti-wrapper span:nth-child(7) { left: 84%; animation-delay: .05s; }
.confetti-wrapper span:nth-child(8) { left: 92%; animation-delay: .25s; } */

@keyframes confettiFall {
    0% {
        transform: translateY(-20px) rotate(0deg) scale(0.8);
        opacity: 0;
    }

    15% {
        opacity: 1;
    }

    100% {
        transform: translateY(80px) rotate(360deg) scale(1);
        opacity: 0;
    }
}

.wedding-day-zoom {
    animation: weddingZoom 1s ease-out forwards;
}

@keyframes weddingZoom {
    0% {
        transform: scale(0.6);
        opacity: 0;
    }

    70% {
        transform: scale(1.08);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* .quick-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 20px;
}

.quick-links a {
    background: white;
    border-radius: 20px;
    text-align: center;
    padding: 25px;
    text-decoration: none;
    color: #7b1e2b;
    font-size: 24px;
}

.quick-links span {
    display: block;
    margin-top: 10px;
    font-size: 14px;
} */

/* LOGIN */
/* .auth-page {
    min-height: calc(100vh - 74px);
    background: #f6f9ff;
    padding-bottom: 90px;
} */

.auth-header {
    height: 280px;
    background: linear-gradient(135deg, #56CCF2, #2F80ED);
    text-align: center;
    padding-top: 40px;
    color: #1f3b73;
}

.auth-icon {
    width: 82px;
    height: 82px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: #2F80ED;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
}

.auth-card {
    background: white;
    margin: -20px 24px 0;
    padding: 22px;
    border-radius: 26px;
    box-shadow: 0 14px 25px rgba(0, 0, 0, 0.08);
}

.auth-input {
    height: 48px;
    border-radius: 12px;
}

.auth-btn {
    width: 100%;
    height: 54px;
    border-radius: 14px;
    font-weight: bold;
    border: none;
    background: #2F80ED;
    color: white;
    box-shadow: 0 6px 12px rgba(47, 128, 237, 0.35);
}

.auth-google-btn {
    width: 100%;
    height: 54px;
    border-radius: 14px;
    font-weight: bold;
    border: none;
    background: #EA4335;
    color: white;
    box-shadow: 0 6px 12px rgba(234, 67, 53, 0.35);
}

.auth-link {
    color: #6f42c1;
    font-weight: 600;
    text-decoration: none;
}

.profile-avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    /* background: #eaf2ff; */
    background: #F5F0E6;
    color: #2F80ED;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    margin: 0 auto 18px;
    overflow: hidden;
}

.profile-avatar i {
    font-size: 50px;
    color: #2F80ED;
}

.profile-avatar-img {
    /* width: 100%;
    height: 100%; */
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 50%;
}

.password-criteria {
    font-size: 0.9rem;
}

.criteria-item {
    margin-bottom: 5px;
    font-weight: 600;
    color: #dc3545;
}

.criteria-item.text-success {
    color: #198754 !important;
}

.criteria-item.text-danger {
    color: #dc3545 !important;
}

/* PHOTO & GALERIE */
.photo-wedding-page,
.gallery-wedding-page {
    min-height: 100vh;
    padding-bottom: 100px;
    background: linear-gradient(180deg, #fff7f8 0%, #ffffff 100%);
}

.photo-info-card,
.photo-upload-card {
    border: 1px solid rgba(192, 39, 54, 0.12);
}

.photo-preview {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 22px;
}

.gallery-wedding-page .card {
    border-radius: 18px !important;
    overflow: hidden;
}

.gallery-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    /* display: block; */
}

.gallery-wedding-page .card-body {
    padding: 8px;
    font-size: 12px;
}

.btn-danger {
    background-color: #c02736;
    border-color: #c02736;
}

.gallery-img-button {
    border: 0;
    padding: 0;
    background: transparent;
    width: 100%;
    display: block;
}

.gallery-modal-img {
    width: 100%;
    max-height: 80vh;
    object-fit: contain;
    background: #111;
}

/* INFOS */
/*.infos-page {
    padding-bottom: 100px;
}

.infos-page h1,
.infos-content h2 {
    color: #7b1e2b;
}

.info-menu-card {
    width: 100%;
    min-height: 120px;
    border: none;
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .07);
    color: #7b1e2b;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.info-menu-card i {
    font-size: 28px;
    margin-bottom: 10px;
}

.info-menu-card span {
    font-weight: 600;
}

.info-menu-card.active {
    background: #7b1e2b;
    color: #fff;
}

.info-card {
    background: #fff;
    border-radius: 22px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
}

.info-card h3 {
    color: #7b1e2b;
    font-size: 18px;
}*/
.infos-page {
    max-width: 720px;
}

.infos-hero {
    background: linear-gradient(135deg, #fff7f7, #fff);
    border-radius: 28px;
    padding: 28px 20px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);
}

.infos-kicker {
    display: inline-block;
    margin-bottom: 8px;
    color: #b23a48;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.infos-hero h1 {
    font-weight: 800;
    color: #2d2d2d;
}

.infos-hero p {
    margin: 0;
    color: #777;
}

.info-menu-card {
    width: 100%;
    border: 0;
    border-radius: 22px;
    padding: 20px 12px;
    background: #fff;
    color: #333;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    transition: 0.25s ease;
}

.info-menu-card i {
    font-size: 1.5rem;
    color: #b23a48;
}

.info-menu-card.active,
.info-menu-card:hover {
    background: #b23a48;
    color: #fff;
    transform: translateY(-3px);
}

.info-menu-card.active i,
.info-menu-card:hover i {
    color: #fff;
}

.info-section {
    display: none;
    animation: fadeInfo 0.25s ease;
}

.info-section.active {
    display: block;
}

.info-section h2 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: #2d2d2d;
}

.info-card {
    background: #fff;
    border-radius: 24px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    display: flex;
    gap: 15px;
}

.info-card-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    background: #fff1f2;
    color: #b23a48;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-card h3 {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.info-card p {
    margin-bottom: 8px;
    color: #666;
}

.info-card p i,
.info-date i {
    color: #b23a48;
    margin-right: 6px;
}

.info-list-card {
    display: block;
}

.info-line {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #f1f1f1;
}

.info-line:last-child {
    border-bottom: 0;
}

.info-line>i {
    color: #b23a48;
    font-size: 1.2rem;
    margin-top: 4px;
    width: 24px;
}

.empty-info-card {
    background: #fff;
    border-radius: 22px;
    padding: 22px;
    color: #777;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

@keyframes fadeInfo {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.programme-day-title {
    margin: 30px 0 15px;
    padding: 10px 16px;
    background: linear-gradient(135deg, #b23a48, #d66b78);
    color: white;
    font-weight: 800;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 6px 18px rgba(178, 58, 72, 0.25);
    text-transform: capitalize;
}

/*DEFIS PHOTO*/
.challenge-photo-preview {
    width: 100%;
    max-height: 220px;
    object-fit: cover;
    border-radius: 18px;
}
.custom-file-upload {
    width: 70%;
}

.selected-file-name {
    text-align: center;
    font-style: italic;
}

.custom-file-upload .btn {
    font-weight: 600;
}

.btn-add {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 1.3rem;
    flex-shrink: 0;
}