/*
 Theme Name: Kadence Child (Script Lab)
 Template: kadence
 Text Domain: kadence-child-script-lab
 Version: 1.0.0
*/


.slc-events-admin { --gap: 14px; }

/* Flash messages */
.slc-events-admin .flash{
  display:none; margin-bottom:var(--gap);
  padding:10px 12px; border-radius:10px; font-weight:600;
}
.slc-events-admin .flash.success{
  display:block; background:#e9fbf2; color:#0d7a52; border:1px solid #bfe9d3;
}
.slc-events-admin .flash.error{
  display:block; background:#ffe9e9; color:#a40000; border:1px solid #ffc7c7;
}

/* ====== Conteneur & messages ====== */
.slc-events-admin { --gap:14px; }

.slc-events-admin .flash{
  display:none;
  margin-bottom:var(--gap);
  padding:10px 12px;
  border-radius:10px;
  font-weight:600;
}
.slc-events-admin .flash.success{
  display:block; background:#e9fbf2; color:#0d7a52; border:1px solid #bfe9d3;
}
.slc-events-admin .flash.error{
  display:block; background:#ffe9e9; color:#a40000; border:1px solid #ffc7c7;
}






.service {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(30, 41, 59, 0.9);
    border-radius: 10px;
    text-align: center;
    padding: 40px;
    min-height: 150px;
}


/* Login Block */
.login-block-header {
    background: rgba(30, 41, 59, 0.9);
    border-radius: 10px 10px 0 0;
    color: #e9e9e9;
    width: 50%;
}

.login-block-header-container {
    position: relative;
    z-index: 2; /* Met le texte AU-DESSUS de l'image */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.login-block-content{
    background: linear-gradient(180deg, #ffffff, #dddddd);
    border-radius: 0 0 10px 10px;
    margin-block-start: 0 !important;
    padding: 40px;
    color: #3d3d3d;
    width: 50%;
}

.service-header {
    background: rgba(30, 41, 59, 0.9);
    border-radius: 10px 10px 0 0;
    color: #e9e9e9;
}

.service-image{
    position: absolute;
    top: -10px; /* Fait sortir l’image du cadre */
    left: 80%;
    transform: translateX(-10%);
    width: 150px; /* Ajuste la taille selon le design */
    max-width: 150px; /* Évite qu'elle devienne trop grande */
    z-index: 1;
}

.service-image-events{
    position: absolute;
    top: 55px;
    left: 65.5%;
    transform: translateX(-10%);
    width: 400px;
    max-width: 400px;
    z-index: 1;
}

.content-header-container {
    position: relative;
    z-index: 2; /* Met le texte AU-DESSUS de l'image */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
    min-height: 150px;    
}

.service-content{
    background: linear-gradient(180deg, #ffffff, #dddddd);
    border-radius: 0 0 10px 10px;
    margin-block-start: 0 !important;
    padding: 40px;
    color: #3d3d3d;
}

.service-content h1, .service-content h2, .service-content h3{
    color: #3d3d3d;
}

.login-block-header-container h1, .login-block-header-container h2, .login-block-header-container h3{
    margin-bottom: 0 !important;
}

.service-arrow{
    display: flex;    
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 30px;
    width: 100%;
    padding: 20px 40px;
    margin-bottom: 20px;
}

.service-arrow img{
    width: 250px;
    height: 250px;    
    box-shadow: 10px 10px 10px rgb(170, 170, 170);    
    border-radius: 12px;
}

.service-arrow div.container{
    flex: 1; /* Prend toute la place restante */
    min-width: 200px; /* Pour éviter que ça devienne trop petit en responsive */
}


.service-arrow div.container h3{    
    color: #3d3d3d;
}

/* 🔹 Login Logo */
#login h1 a, .login h1 a {
    background-image: url(https://sl-script-lab.com/wp-content/themes/sl-script-lab/assets/images/logo-sl-script-lab.png);
    height:70px;
    width:331px;
    background-size: 331px 70px;
    background-repeat: no-repeat;
    padding-bottom: 10px;
}

.login-box {
    padding: 20px;
    max-width: 400px;
}

.login-box a{
    font-size: 14px;
    text-decoration: none;
    color: #FFFFFF;    
    transition: 0.1s;
    text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}

.login-box a:hover{
    text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    transform: scale(1.15);
}

/* 🔹 Login Form */
body.login div#login form#loginform, .login form, .login-box {
    text-align: center;  
    margin: 0 auto;
}

.filter-container {
    display: flex;
    gap: 10px;
    margin: 0 auto 20px auto;
    justify-content: center;
    align-items: center;
    justify-content: center;
}

.filter-container input, .filter-container select {
    margin: 8px 0;
    background: rgba(255, 255, 255, 1);
    color: #3d3d3d;
    font-size: 16px;
    border-radius: 10px;
    text-align: center;
    transition: 0.3s;
    overflow: hidden;   
    box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.2);
    border: none;  
}

.filter-container input:focus, .filter-container select:focus {
    margin: 8px 0;
    background: rgba(255, 255, 255, 1);
    color: #3d3d3d;
    font-size: 16px;
    border-radius: 10px;
    text-align: center;
    transition: 0.3s;
    overflow: hidden;   
    box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.2);
    border: none;  
}

/* Login Input */
#sl_login_form input, #sl_login_form select, #forgot_password_form input, #forgot_password_form select {
    margin: 0 0 20px 0;
    background: rgba(255, 255, 255, 1);
    color: #3d3d3d;
    font-size: 16px;
    border-radius: 10px;
    text-align: center;
    transition: 0.3s;
    overflow: hidden;   
    box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.2);
    border: none;  
}

/* 🔹 Input Focus */
#sl_login_form input:focus, #sl_login_form select:focus, #forgot_password_form input:focus, #forgot_password_form select:focus {
    outline: none;
    margin: 0 0 20px 0;
    background: rgba(255, 255, 255, 1);
    color: #3d3d3d;
    font-size: 16px;
    border-radius: 10px;
    text-align: center;
    transition: 0.3s;
    overflow: hidden;   
    box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.2);
    border: none; 
}

/* 🔹 Effet au survol du bouton Submit */
#wp-submit:hover, .btn_login:hover {
    background: linear-gradient(135deg, #0099ff, #007bff);
    transform: scale(1.05);
}

/* 🔹 Label */
body.login div#login form#loginform p label, .login label {
    margin-bottom: 6px;
}

/* 🔹 Remember me */
body.login div#login form#loginform p.forgetmenot {
    margin-top: 8px;
}

/* 🔹 Lien Back to Home etc */
body.login div#login p#backtoblog, body.login div#login p#backtoblog a, body.login div#login p#nav, body.login div#login p#nav a{
    font-size: 14px;
    text-decoration: none;
    color: #FFFFFF;    
    transition: 0.1s;
}

body.login div#login p#backtoblog a:hover, body.login div#login p#nav a:hover {
    text-shadow: 0px 0px 10px rgba(0, 255, 255, 0.9);
    transform: scale(1.15);
}

.login .button.wp-hide-pw:focus {
    background: 0 0;
    box-shadow: transparent !important;
    outline: 2px solid transparent;
    border: 0px solid transparent;
    text-decoration: none;
}

.login .message, .login .notice, .login .success {
    padding: 12px;
    margin-left: 0;
    margin-bottom: 20px;
    background: rgba(30, 41, 59, 0.9);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0px 0px 15px rgba(0, 153, 255, 0.8);
    border: 2px solid rgba(0, 153, 255, 0.5);
    font-size: 14px;
}

/* 🔹 HERO - Titre */
.service-header h1 {
    font-size: 36px;
    color: #ffffff;
    text-shadow: 0px 0px 15px rgba(0, 255, 255, 0.9);
}

/* 🔹 HERO - Texte */
.service-header p {
    font-size: 18px;
    margin: 15px 0 30px;
}

/* 🔹 HERO - Bouton */
.service-header .btn{
    background: linear-gradient(135deg, #007bff, #00bfff);
    color: white;
    padding: 12px 24px;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    text-transform: uppercase;
    font-weight: bold;
    transition: 0.3s;
    text-decoration: none;
}

.btn-right{
    text-align: right;
}

.btn-right a{
    margin: 5px 0 5px auto;
}

/* 🔹 Boutons */
.btn, .service-header .btn  {
    display: inline-block;
    padding: 5px 10px;
    background: linear-gradient(135deg, #007bff, #00bfff);
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    text-transform: uppercase;
    font-weight: bold;
    transition: 0.3s;
    text-decoration: none;
    font-size: 12px;
    margin-top: 20px;
}

.btn-logout-header{
    margin-top: 0 !important;
    font-size: 10px !important;
    margin-left: 8px !important;
}

.btn-login-header{
    margin-top: 30px !important;
    font-size: 10px !important;
    margin-left: 8px !important;
}

.btn:hover, .service-header .btn:hover {
    background: linear-gradient(135deg, #00bfff, #007bff);
    box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.5);
    transform: scale(1.05);
    color: white;
}

.btn.logout:hover {
    background: linear-gradient(135deg, #ff8080, #ff4b4b);
    box-shadow: 0px 0px 20px rgba(255, 77, 77, 1);
}

/* 🔹 Section Features */
.features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    width: 100%;
}

/* 🔹 Boîtes des Features */
.feature {
    background: rgba(20, 30, 50, 0.2);
    padding: 30px;
    border-radius: 10px;
    width: calc(33.33% - 20px);
    min-width: 280px;
    text-align: center;
    border: 2px solid rgba(0, 153, 255, 0.5);
    transition: all 0.3s ease-in-out;
}

/* 🔹 TITRE DES FEATURES (Blanc + Glow) */
.feature h2 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #ffffff !important;
    text-shadow: 0px 0px 10px rgba(0, 255, 255, 0.5);
}

/* 🔹 Texte des features */
.feature p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* 🔹 Ajout de l’icône étoile après le texte */
.feature h2::after {
    content: "★";
    font-size: 22px;
    display: block;
    margin: 10px auto 0 auto;
    color: rgba(0, 153, 255, 0.9);
    text-shadow: 0px 0px 15px rgba(0, 255, 255, 0.7);
}

/* 🔹 Effet au survol des Features */
.feature:hover {
    transform: scale(1.05);
    box-shadow: 0px 0px 20px rgba(0, 153, 255, 1);
}

.site-below-footer-wrap[data-section="section-below-footer-builder"] {
    border-style: none;
}

@media (min-width: 922px) {
    .ast-primary-header-bar {
        border-style: none;
    }
}

/* 🔹 Update Profile Box */
.update-profile-box {
    max-width: 400px;
    margin: 50px auto;
    padding: 30px;
    background: rgba(20, 30, 50, 0.9);
    border-radius: 12px;
    text-align: center;
    border: 2px solid rgba(0, 153, 255, 0.5);
}

/* 🔹 Input */
.update-profile-box input {
    width: 80%; /* Réduit la largeur à 80% du conteneur */
    max-width: 300px; /* Empêche l'input d'être trop large */
    padding: 10px;
    margin: 10px 0 20px 0; /* Ajoute une marge en bas */
    border: 2px solid rgba(0, 153, 255, 0.5);
    background: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    font-size: 16px;
    border-radius: 8px;
    text-align: center;
    transition: 0.3s;
}

.update-profile-box button{
	margin-left: 10px;
}

/* 🔹 Effet Glow */
.update-profile-box input:focus {
    border-color: rgba(0, 255, 255, 0.9);
    box-shadow: 0px 0px 15px rgba(0, 255, 255, 0.8);
    outline: none;
}

.login-container{
    width: 100%;
}

/* 🔹 Messages d'alerte */
.login-message{
    margin-top: 5px; /* Réduction de l'espace */
    font-size: 14px;
    max-width: 100%;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    display: block; /* Assure qu'il occupe toute la largeur */
    font-weight: bold;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.2);
    margin: 10px 0 10px auto; /* Ajoute une marge en bas */
}

.submit-message {
    margin: 10px auto 10px auto;
}

/* ✅ Message de succès (Vert) */
.login-message.success {
    display: block;
    background-color: #d4edda;
    border: 2px solid #28a745;
    color: #155724;
}

/* 🟡 Message d'information (Jaune - ex: Modifier Email) */
.login-message.info {
    display: block;
    background-color: #fff3cd;
    border: 2px solid #ffc107;
    color: #856404;
}

/* ❌ Message d'erreur (Rouge) */
.login-message.error{
    display: block;
    background-color: #f8d7da;
    border: 2px solid #dc3545;
    color: #721c24;
}

/* 🔹 Conteneur de My Services */
.dashboard-box {
    max-width: 600px;
    margin: 50px auto;
    padding: 30px;
    background: rgba(20, 30, 50, 0.9);
    border-radius: 12px;
    text-align: center;
    box-shadow: 0px 0px 30px rgba(0, 153, 255, 0.8);
    border: 2px solid rgba(0, 153, 255, 0.5);
}

/* 🔹 Liste des services */
.service-list {
    list-style: none;
    padding: 0;
}

.service-list li {
    background: rgba(0, 0, 0, 0.2);
    padding: 10px;
    margin: 5px 0;
    border-radius: 8px;
    text-align: left;
}

.service-list a {
    color: #00bfff;
    text-decoration: none;
    font-weight: bold;
}

.service-list a:hover {
    text-decoration: underline;
}

/* 🔹 Bouton de Déconnexion */
.dashboard-box .btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #007bff, #00bfff);
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    text-transform: uppercase;
    font-weight: bold;
    transition: 0.3s;
    text-decoration: none;
}

.dashboard-box .btn:hover {
    background: linear-gradient(135deg, #00bfff, #007bff);
    box-shadow: 0px 0px 20px rgba(0, 153, 255, 1);
    transform: scale(1.05);
}

/* 🔹 Conteneur général */
.services-box {
    max-width: 800px;
    margin: 50px auto;
    padding: 30px;
    background: rgba(20, 30, 50, 0.2);
    border-radius: 12px;
    text-align: center;
    box-shadow: 0px 0px 30px rgba(0, 153, 255, 0.8);
    border: 2px solid rgba(0, 153, 255, 0.5);
}

/* 🔹 Informations utilisateur */
.services-box p {
    font-size: 16px;
    color: #e0e0e0;
}

/* 🔹 Conteneur des services */
.services-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.service-card h4 {
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 10px;
}

.service-card:hover {
    transform: scale(1.05);
    box-shadow: 0px 0px 25px rgba(0, 153, 255, 0.5);
}


/* 🔹 Conteneur des boutons */
.buttons-container {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* 🔹 Message aucun service */
.no-services {
    font-size: 16px;
    color: #e0e0e0;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 8px;
}

/* 🔹 HERO BOX (Récapitulatif utilisateur) */
.hero-box {
    max-width: 100%;
    width: 90%;
    margin: 30px auto;
    padding: 40px;
    background: rgba(30, 41, 59, 0.9);
    border-radius: 12px;
    text-align: center;
    border: 2px solid rgba(0, 153, 255, 0.5);
}

.hero-box h2 {
    font-size: 28px;
    color: #ffffff;
    text-shadow: 0px 0px 15px rgba(0, 255, 255, 0.9);
}

.hero-box p {
    font-size: 18px;
    color: #e0e0e0;
    margin: 10px 0;
}

/* 🔹 TITRE DES SERVICES */
.services-title {
    text-align: center;
    font-size: 22px;
    margin-top: 30px;
    color: #ffffff;
    text-shadow: 0px 0px 10px rgba(0, 255, 255, 0.9);
}

/* 🔹 CONTAINER DES SERVICES */
.services-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

/* 🔹 CARTES DES SERVICES */
.service-card {
    background: rgba(30, 41, 59, 0.9);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    width: 250px;
    box-shadow: 0px 0px 15px rgba(0, 153, 255, 0.5);
    border: 2px solid rgba(0, 153, 255, 0.5);
    transition: 0.3s;
}

.service-card h4 {
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 10px;
}

.service-card:hover {
    transform: scale(1.05);
    box-shadow: 0px 0px 25px rgba(0, 153, 255, 1);
}

/* 🔹 Carte de Profil Utilisateur - LARGEUR MAX */
.profile-card {
    max-width: 60%;
    width: 100%;
    padding: 20px 20px 25px 30px;
    background: rgba(30, 41, 59, 0.9);
    border-radius: 12px;
    text-align: left;
    box-shadow: 0px 0px 30px rgba(0, 153, 255, 0.8);
    border: 2px solid rgba(0, 153, 255, 0.5);
}

/* 🔹 En-tête avec le titre et icône Dashboard */
.profile-header {
    display: flex;
	gap: 10px;	
    text-align: left;
    margin-bottom: 15px;
}

.profile-top{
    display: flex;
    gap: 10px;	
    text-align: left;
    width: 100%;
}

/* 🔹 Ajustement de la taille du titre */
.profile-header h2, .services-box h2 {
    font-size: 22px;
    color: #ffffff;
    text-shadow: 0px 0px 15px rgba(0, 255, 255, 0.9);
    margin: 0;
}

/* 🔹 Icône Dashboard (Emoji ou Image) */
.profile-icon {
    font-size: 22px; /* Taille plus grande pour l'emoji */
    color: #ffffff; /* Couleur blanche */
    text-decoration: none !important; /* Supprime le soulignement */
    transition: 0.2s;
    display: inline-block;
}

/* 🔹 Effet au survol */
.profile-icon:hover {
    transform: scale(1.1);
    color: #00bfff; /* Bleu clair au survol */
}

/* 🔹 Icône Dashboard (Si Image) */
.profile-icon img {
    width: 24px;
    height: 24px;
    transition: 0.2s;
    margin-right: 0 !important;
    display: inline-block;
}

/* 🔹 Effet au survol de l'image */
.profile-icon img:hover {
    transform: scale(1.1);
}

/* 🔹 Contenu principal du profil */
.profile-body {
    display: flex;
    align-items: center;
    gap: 10px; /* Réduction de l'espace */
}

.profile-card hr{
    margin-top: 15px;
}

/* 🔹 Infos utilisateur */
.profile-info {
    display: flex;
    flex-direction: column;
    width: calc(100% - 100px);
}

/* 🔹 UUID - Plus petit, atténué et réduit l’espace */
.profile-uuid, .profile-lang {
    font-size: 14px;
    margin-top: 0 !important;
}

.profile-api-key {
    margin-block-start: 0px !important;
    align-items:normal !important;    
    font-size: 14px;
    margin-bottom: 0 !important;
}

.profile-api-key hr {
    margin-block-start: 5px !important;
    margin-bottom: 5px !important;
}

.profile-api-key span {
    font-size: 14px;
    font-weight: bold;
}

.profile-lang{    
    font-size: 16px;
    margin-left: auto !important;
    align-self:flex-start !important;
    margin-top: 0 !important;
}

.profile-lang img {
    vertical-align: top;
}

/* 🔹 Suppression des marges héritées */
.profile-info p {
    margin-bottom: 0 !important;
    margin-top: 0;
}

/* 🔹 Encart des Services */
.services-box {
    max-width: 100%;
    width: 90%;
    margin: 30px auto;
    padding: 30px;
    background: rgba(20, 30, 50, 0.9);
    border-radius: 12px;
    text-align: left;
    box-shadow: 0px 0px 30px rgba(0, 153, 255, 0.8);
    border: 2px solid rgba(0, 153, 255, 0.5);
}

/* 🔹 Conteneur des services */
.services-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

/* 🔹 Cartes des services */
.service-card {
    background: rgba(30, 41, 59, 0.2);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    width: 250px;
    box-shadow: 0px 0px 15px rgba(0, 153, 255, 0.5);
    border: 2px solid rgba(0, 153, 255, 0.5);
    transition: 0.3s;
}

.service-card:hover {
    transform: scale(1.05);
    box-shadow: 0px 0px 25px rgba(0, 153, 255, 1);
}

/* 🔹 Page de modification du profil */
.profile-settings {
    max-width: 60%;
    width: 100%;
    padding: 20px;
    background: rgba(30, 41, 59, 0.9);
    border-radius: 12px;
    text-align: left;
    box-shadow: 0px 0px 30px rgba(0, 153, 255, 0.8);
    border: 2px solid rgba(0, 153, 255, 0.5);
}

/* 🔹 Avatar */
.profile-picture {
    margin-bottom: 20px;
}

/* 🔹 Avatar utilisateur */
.profile-avatar {
    border-radius: 50%;
    border: 1px solid rgba(0, 153, 255, 0.8);
    box-shadow: 0px 0px 10px rgba(0, 153, 255, 0.5);
    width: 100px;
    height: 90px;
    border-radius: 50%;
}

/* 🔹 Structure du formulaire */
.profile-settings form {
    display: flex;
    flex-direction: column;
    gap: 10px;    
    margin: 25px 0 0 0;
}

/* 🔹 Conteneur des champs du formulaire */
.profile-fields {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* 🔹 Labels (25% de la largeur) */
.profile-fields label {
    white-space:nowrap;
    flex: 0 0 50%;
    text-align: left;
    font-weight: bold;
	font-size: 16px;
    color: #fff;
	margin: 5px 10px 5px 0;
}

/* 🔹 Inputs (75% de la largeur) */
.profile-fields input{
    margin: 0 0 20px 0;
    background-color: var(--global-palette7, #ffffff);
    color: #fff;
    font-size: 16px;
    border-radius: 8px;
    text-align: center;
    transition: 0.3s;
    overflow: hidden;
    border: none;  
}

/* 🔹 Input Focus */
.profile-fields input:focus {
    outline: none;
    margin: 0 0 20px 0;
    background-color: var(--global-palette7, #ffffff);    
    color: #3d3d3d;
    font-size: 16px;
    border-radius: 8px;
    text-align: center;
    transition: 0.3s;
    overflow: hidden;
    border: none; 
}

.profile-fields input[type="text"],
.profile-fields input[type="number"],
.profile-fields input[type="date"],
.profile-fields input[type="time"],
.profile-fields input[type="datetime-local"],
.profile-fields input[type=email],
.profile-fields input[type=url],
.profile-fields input[type=password],
.profile-fields input[type=search],
.profile-fields input[type=tel],
.profile-fields input[type=range],
.profile-fields input[type=month],
.profile-fields input[type=week],
.profile-fields input[type=datetime],
.profile-fields input[type=color],
.profile-fields textarea,
.profile-fields option,
.profile-fields optgroup,
.profile-fields select{
  width:100%; padding:8px 10px; border-radius:8px; font-size:14px;
  background-color: var(--global-palette7, #ffffff); color: #ffffff;
}

/* 🔹 Conteneur des boutons (aligné à droite sous les champs) */
.profile-buttons {
    display: flex;
    justify-content: flex-end;
    margin: 0;
}

/* 🔹 Bouton Enregistrer */
.profile-buttons .btn {
    padding: 10px 20px;
}

/* 🔹 Boutons */
.profile-settings .btn {
    max-width: 50%;
    display: inline-block;
    background: linear-gradient(135deg, #007bff, #00bfff);
    color: white;
    border-radius: 8px;
    text-transform: uppercase;
    font-weight: bold;
    transition: 0.3s;
    text-decoration: none;
    display: block;
    text-align: center;
}

.profile-settings .btn:hover {
    background: linear-gradient(135deg, #00bfff, #007bff);
    box-shadow: 0px 0px 15px rgba(0, 153, 255, 1);
}

.mini-profile-card {
    display: flex;
    align-items: center;
    padding: 5px;
}

.mini-profile-left {
    flex-shrink: 0;
}

.mini-profile-right {
    flex-grow: 1;
    align-items: center;    
    margin-left: 10px;
}

.menu-navigation {
    display: flex;
    justify-content: left; /* Centrer ou aligner à gauche selon ton besoin */
    gap: 8px;
    padding-left: 40px;
}

.menu-btn {
    background: linear-gradient(135deg, #00bfff, #007bff);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 10px 10px 0 0; /* Arrondi en haut uniquement */
    cursor: pointer;
    margin-bottom: 0px;
}

.menu-btn.active, .menu-btn:hover {
    background: rgb(255, 255, 255) !important;
    color: rgb(114, 114, 114);
    box-shadow: none !important;
}

.section {
    display: none;
}

.section.active {
    display: block;
}

.encart-service-line{
    display: flex;
    gap: 30px;
    align-items:flex-start;
    justify-content: space-between;
}

/* 🔹 Formulaire de settings à gauche */
.encart-service-settings {
    width: 100%;
    color: #3d3d3d;
    padding: 20px;
    display: grid;    
    flex-wrap: wrap;
    align-items:center; 
    justify-content: space-between;
}

.encart-service h1, .encart-service h2, .encart-service h3, .encart-service p {
    color: #3d3d3d;
}

/* 🔹 Services */
.encart-service {
    max-width: 100%;
    margin: auto;
    padding: 20px;    
    margin-bottom: 20px;
}

.encart-service.tab {
    border-radius: 10px;
}

.encart-service hr{
    margin-top: 20px !important;
}

.encart-service form {    
    width: 100%;
}

/* 🔹 Conteneur des champs du formulaire */
.encart-service-fields {
    display: flex;    
    align-items:flex-start;
    gap: 10px;
}

.encart-service-fields p{    
    white-space: nowrap;    
    color: #888888; 
}

.encart-service-fields p.label {    
    flex: 0 0 18%;    
    margin: 0 10px 0 0 !important;
    text-align: left;
    font-weight: bold;
	font-size: 16px;
    color: #3d3d3d; 
    white-space: nowrap;
}

.submit-form-line {
    display: flex;
    width: 100%;
    align-items: center; /* Aligner les éléments verticalement */
    justify-content: space-between; /* Espace entre le message et le bouton */
}

.submit-space-line{
    flex: 0 0 25%;
}

.submit-message-line{
    flex-grow: 1; /* Permet au message de prendre l'espace disponible */
    text-align: center; /* Centre le texte du message */
    margin-left: auto;
}

.submit-button-line {
    margin-left: auto; /* Pousse le bouton à droite */
}

.settings_img{
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    width: 100%;
    justify-content: center;
    margin: 0 10px 14px 10px !important;
}

.settings_img img{
    width: 128px;
    height: 128px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.5);
    border-radius: 5px;
}

/* 🔹 Inputs */
.encart-service-fields input {
    margin: 8px 0;
    border: 1px solid rgba(0, 153, 255, 0.5);
    background: rgba(0, 0, 0, 0.5);
    color: #666;
    font-size: 16px;
    border-radius: 5px;
    text-align: left;
    transition: 0.1s;
    box-shadow: 0px 0px 10px rgba(0, 153, 255, 0.8);
}

/* 🔹 Input Focus */
.encart-service-fields input:focus {
    border-color: rgba(0, 162, 255, 0.9);
    box-shadow: 0px 0px 15px rgba(0, 183, 255, 0.8);
    outline: none;
    background: rgba(0, 0, 0, 0.5) !important;
    border: 2px solid rgba(0, 174, 255, 0.5) !important;
    color: #ffffff;
}

/* 🔹 Bouton Submit */
.encart-service form button, .pagination .btn, .submit-button-line button{
    padding: 10px 15px;
    margin:10px 0 4px 8px;
    background: linear-gradient(135deg, #007bff, #0099ff) !important;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 14px;
    transition: 0.1s;
    box-shadow: 0px 0px 15px rgba(0, 153, 255, 0.8);
    border: 1px solid rgba(0, 153, 255, 0.5);
}

/* Manager Card */
/* Conteneur global pour plusieurs cartes (optionnel) */
.manager-cards-container {
    display: flex;           /* ou grid, selon vos préférences */
    flex-wrap: wrap;
    gap: 16px;           /* espace entre les cartes */
    min-width: 45%;
    margin: 0 auto;
  }
  
  /* Carte */
  .manager-card {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    min-width: 100%;            /* largeur fixe ou max-width */
    margin: 0 auto;
    overflow: hidden;        /* au cas où on ait des débordements */
    font-family: Arial, sans-serif;
  }
  
  /* En-tête de la carte */
  .manager-card-header {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #eee;
  }
  
  /* Image du manager (texture) */
  .manager-card-image {
    background: #f5f5f5;
  }

  .manager-card-image img {
    width: 100px;
    height: 100px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    margin: 25px;
  }

  .manager-card-image img.rounded {
    border-radius: 50%;
  }
  
  /* Informations principales du manager */
  .manager-card-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff;
    padding:0 20px;    
    flex-grow: 1;
  }

  .manager-card-info h2{
    margin-bottom: 0;    
    color: #333;
    font-size: 24px;    
    margin-top: 10px;
  }

  .manager-card-info p{
    margin-bottom: 0;
  }
  
  /* Nom du manager */
  .manager-name {
    margin: 0;
    font-size: 1.2rem;
    color: #333;
  }
  
  /* Titre du manager */
  .manager-title {
    margin: 4px 0 0;
    font-size: 0.9rem;
    color: #888;
    white-space: nowrap;
  }
  
  /* Corps de la carte */
  .manager-card-body {
    padding: 8px 16px;
    background: linear-gradient(135deg, #e67e22, #d35400);
  }
  
  /* UUID du manager */
  .manager-uuid {
    margin: 0;
    font-size: 10px;    
    color: #888888 !important;
    white-space: nowrap;
  }

  
.pagination .btn {
    display: inline-block;
    padding: 5px 10px !important;
    text-decoration: none;
    margin-right: 5px !important;
}

/* 🔹 Effet au survol du bouton Submit */
.encart-service form button:hover, .pagination .btn.active, .submit-button-line button:hover {
    background: linear-gradient(135deg, #0099ff, #007bff);
    transform: scale(1.05);
}

.service-table-panels{
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 10px; /* arrondir les coins de la table */
    overflow: hidden;
    box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.25);
    border: 1px solid #d35400;
}

.service-table-panels th, .service-table-panels td {
    padding: 10px;    
    text-align: left;
    width: 1%;
    font-size: 14px;
}

.service-table-panels th {
    white-space: nowrap;
    text-align: left;
}

.service-table-panels th {
    background: linear-gradient(135deg, #e67e22, #d35400);
    font-weight: bold;    
    color: #ffffff;
}

.service-table-panels th:last-child, .service-table-panels td:last-child{
    border-right: none;
}

.pagination {
    margin-top: 15px;
    text-align: center;
}

.nowrap{
    white-space: nowrap;
}

.bold{
    font-weight: bold;
}

.small{
    font-size: 12px;
}

.service-table-panels th:last-child, .service-table-panels td:last-child,


.service-table-panels th:nth-child(2),
.service-table-panels td:nth-child(2),

.service-table-panels th:nth-child(3),
.service-table-panels td:nth-child(3),

.service-table-panels th:nth-child(4),
.service-table-panels td:nth-child(5),

.service-table-panels td:nth-child(4),

.service-table-panels th:nth-child(5),
.service-table-panels td:nth-child(6),
.service-table-panels th:nth-child(6){
    width: 1%;
    text-align: center;
}

.link-no-deco {
    text-decoration: none !important;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    color: #007bff; /* Vert */
}

.link-no-deco:hover {
    color: #00a2ff; 
}

/* 🔹 Style général pour les boutons d'actions */
.saveManagerBtn, .cancelManagerBtn, .editManagerBtn, .deleteManagerBtn, .saveEditManagerBtn, .cancelEditManagerBtn, .deletePanelBtn {
    border: none !important;
    background-color: transparent !important;
    font-size: 16px;
    cursor: pointer;
    padding: 4px !important;
    transition: transform 0.1s ease-in-out !important;
}

/* 🔹 Bouton "✔️" (ajout) */
.saveManagerBtn {
    color: #2ecc71; /* Vert */
}

.saveManagerBtn:hover {
    transform: scale(1.2);
}

/* 🔹 Bouton "❌" (annulation) */
.cancelManagerBtn {
    color: #e74c3c; /* Rouge */
}

.cancelManagerBtn:hover {
    transform: scale(1.2);
}

/* 🔹 Ajustement de l'espacement entre les boutons */
.saveManagerBtn + .cancelManagerBtn,
.cancelManagerBtn + .deleteManagerBtn,
.saveEditManagerBtn + .cancelEditManagerBtn,
.deletePanelBtn {
    margin-left: 5px !important;
}

.secondary{
    color: #666;
    font-size: 14px;
}

.grey{
    color: #666;
}

.white{
    color: #fff;
}

.success-message, .error-message{
    padding: 3px;
    margin-top: 8px;
    text-align: center;
    border-radius: 5px;
}

.success-message {
    color: #2ecc71;
    background-color: #e9f7ef;
    border: 1px solid #2ecc71;
    
}

.error-message {
    color: #e74c3c;
    background-color: #fbeaea;
    border: 1px solid #e74c3c;
}

.sim-rating {
    display: inline-block;
    width: 22px;
    height: 22px;
    line-height: 22px;
    text-align: center;
    font-weight: bold;
    font-size: 12px;
    color: white;
    border-radius: 4px;
    margin-right: 5px;
    font-family: Arial, sans-serif;
}

.pg {
    background-color: #3498db; /* Bleu */
}

.mature {
    background-color: #555; /* Gris foncé */
}

.adult {
    background-color: #e74c3c; /* Rouge */
}

.unknown {
    background-color: #aaa; /* Gris clair */
}

/* 🔹 Page Estate */
.panels-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    align-items: center;
    justify-self: center;
    margin: 0 auto;
}

.panel-card, .panel-card-top {
    background: rgba(30, 41, 59, 0.9);
    border-radius: 10px;
    box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
    padding: 15px;
    width: 220px;
    text-align: center;
}

.panel-card-top {
    margin-bottom: 8px !important;
}

.panel-card-title{
    margin: 0;
    font-size: 18px;
    color: #007bff;
    font-weight: bold;
}

.panel-card p {
    margin: 5px 0;
}

.panel-info-header {
    display:flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0 0 10px 0;
}

.panel-info-header h3 {
    color: #fff !important;
    margin: 0;
}

.panel-info-list {
    list-style: none;
    padding: 0 !important;
    margin: 0 !important;
}

.panel-info-list li {    
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    border-bottom: 1px solid #007bff; /* Ligne de séparation entre chaque item */
}

.panel-info-list .label {
    color: #e0e0e0;
}

.panel-info-list .value {
    color: #fff;
    font-weight: bold;
    margin-left: auto;
}

.view-link {
    display: inline-block;
    padding: 10px 15px;
    margin:10px 0 4px 8px;
    background: linear-gradient(135deg, #007bff, #0099ff) !important;
    color: white;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 12px;
    transition: 0.1s;
    box-shadow: 0px 0px 15px rgba(0, 153, 255, 0.8);
    border: 1px solid rgba(0, 153, 255, 0.5);
    text-decoration: none !important;;
    border-radius: 5px;
}

.view-link:hover {
    background: linear-gradient(135deg, #0099ff, #007bff);
    transform: scale(1.05);
    color: white;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 12px;
    text-decoration: none !important;
}

.map-container {
    position: relative;
    width: 190px; /* Ajustable */
    height: 190px;
    overflow: hidden;
}

.map-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-point {
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: red;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0px 0px 8px 2px rgb(0, 0, 0);
}

.panel-options {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 3 colonnes */
    gap: 5px;
    justify-items: center;
    margin-top: 8px;
}

.option {
    font-size: 15px; /* Taille des icônes */
    cursor: pointer;
    position: relative;
    padding: 4px;
}

.option:hover::after {
    content: attr(data-tooltip); /* Affiche le texte au survol */
    position: absolute;
    bottom: 100%; /* Place au-dessus */
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 5px 8px;
    border-radius: 5px;
    font-size: 12px;
    white-space: nowrap;
    visibility: visible;
    opacity: 1;
    transition: opacity 0.2s;
}

.option::after {
    visibility: hidden;
    opacity: 0;
}

/* Bouton "ADD" */
.add-event-btn {
    display: block;
    margin-right: 0 !important;
    padding: 8px;
    background: linear-gradient(135deg, #007bff, #0099ff);
    color: white;
    font-weight: bold;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    transition: 0.3s;
    box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.25);
}

.add-event-btn:hover {
    background: linear-gradient(135deg, #0099ff, #007bff);
    transform: scale(1.05);
}

.event-form button:hover {
    background: linear-gradient(135deg, #0099ff, #007bff);
    transform: scale(1.05);
}

/* Table des événements */
#events-list{
    margin-left: auto !important;
    margin-right: auto !important;
}


.event-container{
    margin-bottom: 10px;
}

.event-row, .add-event-row {
    display: flex;
    flex-wrap: nowrap; /* Empêche les champs de passer à la ligne */
    gap: 8px;
}

.event-form {
    margin: 0 0 15px 0;
}

.event-row input, .event-row select, .event-row button {
    flex-shrink: 0; /* Empêche les éléments de s'étirer */
    padding: 6px;
    border-radius: 5px;
    border: none;
    background: #e3e8ee;
    font-size: 16px;
    height: 30px;
}

.add-event-row input,
.add-event-row select,
.add-event-row button,
.event-row input:-webkit-autofill,
.event-row input:-webkit-autofill:hover,
.event-row input:-webkit-autofill:focus,
.event-row input:-webkit-autofill:active,
.event-row input:-webkit-autofill,
.add-event-row input:-webkit-autofill:hover,
.add-event-row input:-webkit-autofill:focus,
.add-event-row input:-webkit-autofill:active{
    flex-shrink: 0; /* Empêche les éléments de s'étirer */
    padding: 6px;
    border-radius: 5px;   
    font-size: 16px !important;
    height: 30px !important;
    background: rgba(255, 255, 255, 0.9) !important;
    outline: none !important; /* Supprime le contour par défaut */
    border: none !important;
    box-shadow: none !important;
}

.event-row input:focus, 
.event-row select:focus,
.add-event-row input:focus,
.add-event-row select:focus{    
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.25);
    outline: none; /* Supprime le contour par défaut */
    border: none;
}

.add-event-row button{
    background: none !important;
}

/* Spécifique pour limiter la largeur */
.input-24 {
    width: 24ch !important;
    max-width: 24ch !important;
}

.input-36 {
    width: 36ch !important;
    max-width: 36ch !important;
}

.input-16 {
    width: 16ch !important;
    max-width: 16ch !important;
}

.input-6 {
    width: 6ch !important; /* Ajusté pour que ça tienne */
    max-width: 6ch !important;
}

.input-8 {
    width: 8ch !important; /* Ajusté pour que ça tienne */
    max-width: 8ch !important;
}

.input-10 {
    width: 10ch !important; /* Ajusté pour que ça tienne */
    max-width: 10ch !important;
}

.event-recurrent {
    width: 18ch !important; /* Ajustement pour le dropdown */
    max-width: 18ch !important;
}

.event-header {
    font-weight: bold;
    color: #333;
    margin: 40px 0 5px;
}

.event-header span {
    display: inline-block;
    padding: 6px;
    font-size: 16px;
    border-radius: 5px;
    background: transparent;
    border: none;
}

.service-table-panels tbody tr:hover {
    background: rgba(0, 153, 255, 0.1);
}

/* Boutons d'action */
.action-btn {
    border: none !important;
    cursor: pointer;
    padding: 0px !important;
    margin: 0px !important;
    transition: 0.2s;
    box-shadow: none !important;
    background: none !important;
}

/* Bouton Save */
.save-btn {    
    border: none !important;
    cursor: pointer;
    padding: 0px !important;
    margin: 0px !important;
    transition: 0.2s;
    box-shadow: none !important;
    background: none !important;
    color: white;
}

.save-btn:hover {
    background: none !important;
    transform: scale(1.1);
}

.manage_event_message {
    padding: 4px;
    margin: 0;
    border-radius: 8px;
    font-weight: bold;
    font-size: 12px;
    text-align: center;
    transition: all 0.3s ease-in-out;
    max-width: 100%;
    width: auto;
    margin: 5px auto;
    overflow-wrap: break-word;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}

.manage_event_message.success {
    background-color: #e6f9e8;
    color: #28a745;
    border: 2px solid #28a745;
}

.manage_event_message.error {
    background-color: #fcebea;
    color: #dc3545;
    border: 2px solid #dc3545;
}

.manage_event_message.info {
    background-color: #e8f4fd;
    color: #007bff;
    border: 2px solid #007bff;
}

