/* Styles des champs de saisie */
input[type="text"], input[type="password"] {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    border: none;
    border-radius: 5px;
    font-size: 16px; /* Taille de police minimale pour éviter le zoom */
    box-sizing: border-box;
}

/* Login page */
.login-container {
    text-align: center;
    background-color: #F0FDFA;
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 360px;
}
input[type="text"], input[type="password"] {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    border: none;
    border-radius: 5px;
    box-sizing: border-box
}
.login-container input[type="text"], .login-container input[type="password"] {
    text-align: center
}
.button {
    background-color: #F8D4AE;
    color: #FFFFFF;
    padding: 10px;
    width: 100%;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
}
.message {
    color: #FF0000;
    margin-bottom: 15px;
}

/* Styles généraux */
body, html {
    font-size: 100%;
    margin: 0 auto;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #8CAF9F;
    /* background-color: #E3E7E0; */
    width: 100vw;
    max-width: 460px;
    position: relative;

}
body * {
    box-sizing: border-box
}

/* Fond dégradé */
.gradient-background {
    background: linear-gradient(to bottom, #E3E7E0, #F8D4AE);
    width: 100vh;
    min-height: 100vh;
}

/* Conteneur principal */
.container {
    width: 90%;
    max-width: 360px;
    margin: 0 auto;
    padding: 30px 0;

}

/* En-tête */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center
}

.header .logo {
    max-width: 50px;
    max-height: 50px;
    margin: -5px 10px 0
}

.header .menu {
    position: absolute;
    right: 0;
    top: 0;
    padding: 25px;
    border-radius: 0 0 0 15px
}

.header .icons a {
    margin-left: 15px;
}
.header .icons a:first-of-type {
    margin: unset
}

.header .icons img {
    width: 32px;
    height: 32px;
    color: #F0FDFA;
}

/* Titre principal */
.title {
    text-align: center;
    color: #8CAF9F;
    font-size: 25px;
    font-weight: 600;
    margin-top: 40px;
}

/* Notification Label */
.notification-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    margin: 20px 0;
    background-color: #8CAF9F;
    color: #F0FDFA;
    border-radius: 10px;
    opacity: 0.7;
}

.notification-label .title {
    font-size: 22px;
    font-weight: 600;
}

.notification-label .notification-count {
    font-size: 32px;
}

/* Composant pleine largeur */
.full-width {
    margin: 20px 0;
    padding: 10px 20px 30px 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #8CAF9F;
    border-radius: 10px;
    color: #F0FDFA;

}

.full-width h2 {
    font-size: 22px;
    font-weight: 600;
}

.full-width p {
    font-size: 19px;
    margin-top: 10px;
}

.full-width .image {
    width: 100%;
    max-height: 240px;
    border-radius: 10px;
    margin-top: 15px;
}

/* Composant deux colonnes */
.two-columns {
    display: flex;
    flex-direction: column;
}

.row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.column {
    width: 48%;
    padding: 0 15px;
    border-radius: 10px;
    color: #F0FDFA;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.column h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.column p {
    font-size: 18px;
    line-height: 1.4;
}

.column .image {
    width: 100%;
    border-radius: 10px;
    margin-top: 15px;
}

/* Composant étiquette */
.label {
    padding: 15px;
    margin: 20px 0;
    background-color: #8CAF9F;
    color: #F0FDFA;
    border-radius: 10px;
    font-size: 19px;
    line-height: 30px;
    font-weight: 600;
    opacity: 0.7;
    text-decoration: none;
    display: flex;
    justify-content: space-between
}

/* Liens sociaux */
.social-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #FEB97F;
    padding: 20px;
    border-radius: 10px;
    color: #FFFFFF;
    margin-top: 40px;
    opacity: 0.7;
}

.social-links a {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    margin: 5px 0;
}

.social-links a:hover {
    text-decoration: underline;
}

/* Bouton de retour */
.return-button {
    color: #F0FDFA;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
}


/* Page Par le MOI */
.chapter-title {
    text-align: center;
    font-size: 18px;
    color: #8CAF9F;
    margin-bottom: 15px;
}

.item {
    margin-bottom: 25px;
}

.item.current img {
    width: 100%;
    border-radius: 5px;
}

.item .info-text {
    text-align: center;
    font-size: 18px;
    color: #8CAF9F;
}

.item.unlocked, .item.locked {
    display: flex;
    align-items: center;
    padding: 15px;
    background-color: #FEB97F;
    border-radius: 5px;
    color: #FFFFFF;
}

.item.unlocked .video-title, .item.locked .video-title {
    margin-left: 10px;
    font-size: 18px;
}

.play-icon {
    font-size: 36px;
    color: #FEB97F;
}

.lock-icon {
    font-size: 24px;
    color: #FFFFFF;
}


/* Conteneur vidéo plein écran */
.video-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background-color: #000000;
    position: relative;
    overflow: hidden;
}

/* Vidéo */
.video-player {
    width: 100%;
    max-height: 80vh;
    background-color: #000000;
    border-radius: 10px;
    outline: none;
}

/* Bouton de fermeture */
.close-button {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 10px 20px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
}

.close-button:hover {
    background-color: rgba(255, 255, 255, 0.2);
}


/* Conteneur principal */
.vlog-container {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
    margin-top: 40px;
}

/* Item vidéo */
.vlog-item {
    width: 100%;
    max-width: 360px;
    text-align: center;
    background-color: #F8D4AE;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.vlog-item:hover {
    transform: translateY(-5px);
}

.vlog-image {
    width: 100%;
    border-radius: 10px;
    margin-bottom: -5px
}


.audio-player {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-color: #F8D4AE;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 50px auto;
    width: 90%;
    max-width: 400px;
}

.audio-image {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
}

.audio-title {
    font-size: 22px;
    color: #FFFFFF;
    text-align: center;
    margin-bottom: 20px;
}

.audio-item {
    text-decoration: none;
    padding-bottom: 13px !important
}

.audio-item .custom-icon {
    height: 20px;
    width: 20px;
    margin-right: 5px
}

.audio-item .item-heading .audio-title {
    line-height: 26px
}

.play-pause-button {
    background-color: #8CAF9F;
    color: #FFFFFF;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 18px;
    cursor: pointer;
    margin-bottom: 20px;
}

.play-pause-button:hover {
    background-color: #76A08F;
}

.audio-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.audio-slider {
    flex: 1;
    margin: 0 10px;
    height: 5px;
    cursor: pointer;
}
.audio-player-container .header .menu {
    position: relative
}
.audio-player-container .header {
    margin-bottom: 100px;
    width: 95vw
}
.container.audio-player-container {
    padding: 0;
    height: 100vh;
    width: 100%
}
.container.audio-player-container .header .logo {
    opacity: 0
}

/* Inspiration slider */
#slide_container {

}
#slide {
    background-size: cover !important;
    height: 400px;
    border-radius: 10px;
    margin: 30px 10px 30px;
    overflow: hidden
}
#slide .slide-overlay {
    background: rgba(150,150,150, .3);
    height: 400px;
    display: flex;
    flex-direction: column-reverse;
    padding: 8px 15px;
    color: #FFF;
    text-shadow: 0 0 10px rgba(0,0,0,.3)
}
#author {
    font-size: 19px;
    font-weight: 900
}
#quote {
    margin: 5px 0;
    font-size: 18px
}
.button-container {
    display: flex;
    justify-content: space-around;
    padding: 0 50px
}
#pdf.button {
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    background: #FFF;
    color: #F8D4AE
}
#slide_nav {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 50px;
    margin-bottom: 25px
}
#slide_nav .custom-icon {
    cursor: pointer
}

/* Infos utiles -  Numéros d'urgence */
.phone-buttons {
    display: flex;
    flex-direction: column;
    padding: 20px 50px
}
.phone-button {
    color: #8CAF9F;
    background: #FFFFFF;
    border-radius: 5px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 10px 0;
    margin: 10px 0;
    font-size: 20px
}
.phone-button .number-description {}
.phone-button .number {}

/* Icons style */
.custom-icon {
    display: inline-block;
    width: 32px;
    height: 32px;
    background-size: contain !important;
}
.play-icon {
    background: url('https://renaitre.app/images/ms/play-arrow.filled.svg') no-repeat center center;
}
.previous-alt-icon {
    background: url('https://renaitre.app/images/ms/arrow-left-alt.svg') no-repeat center center;
}
.next-alt-icon {
    background: url('https://renaitre.app/images/ms/arrow-right-alt.svg') no-repeat center center;
}
.like-icon {
    background: url('https://renaitre.app/images/ms/favorite.svg') no-repeat center center;
}
.dislike-icon {
    background: url('https://renaitre.app/images/ms/favorite.filled.svg') no-repeat center center;
}
.info-icon {
    background: url('https://renaitre.app/images/ms/info.filled.svg') no-repeat center center;
}
.book-icon {
    background: url('https://renaitre.app/images/ms/book.filled.svg') no-repeat center center;
}
.account-icon {
    background: url('https://renaitre.app/images/ms/account.filled.svg') no-repeat center center;
}
.subscription-icon {
    background: url('https://renaitre.app/images/ms/subscription.filled.svg') no-repeat center center;
}