*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Poppins', sans-serif;
    background:#f4f4f4;
}

/* HEADER */

header{
    width:100%;
    background:white;
    box-shadow:0 2px 10px rgba(0,0,0,0.08);
    position:fixed;
    top:0;
    left:0;
    z-index:999;
}

.top-header{
    width:95%;
    margin:auto;
    display:flex;
    align-items:center;
    justify-content:space-between;
    height:90px;
}

/* LOGO */

.logo a{
    display:flex;
    align-items:center;
    text-decoration:none;
}

.logo-box{
    width:55px;
    height:55px;
    background:#3da1ff;
    transform:rotate(45deg);
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:4px;
    box-shadow:0 5px 15px rgba(0,0,0,0.2);
}

.logo-box span{
    transform:rotate(-45deg);
    color:white;
    font-size:18px;
    font-weight:bold;
}

.logo h1{
    margin-left:20px;
    color:#222;
    font-size:28px;
}

/* MENU */

.menu{
    display:flex;
    list-style:none;
}

.menu li{
    position:relative;
}

.menu li a{
    display:block;
    padding:35px 22px;
    color:#222;
    text-decoration:none;
    font-size:15px;
    transition:0.3s;
}

.menu li a:hover{
    color:#3da1ff;
}

/* DROPDOWN */

.dropdown-menu{
    position:absolute;
    top:100%;
    left:0;
    width:260px;
    background:white;
    list-style:none;
    opacity:0;
    visibility:hidden;
    transform:translateY(15px);
    transition:0.3s;
    box-shadow:0 10px 25px rgba(0,0,0,0.15);
    border-radius:0 0 12px 12px;
    overflow:hidden;
}

.dropdown:hover .dropdown-menu{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}

.dropdown-menu li a{
    padding:16px 20px;
    border-bottom:1px solid #f1f1f1;
    font-size:14px;
    display:flex;
    align-items:center;
    gap:10px;
}

.dropdown-menu li a:hover{
    background:#3da1ff;
    color:white;
}

/* BOUTONS */

.header-buttons{
    display:flex;
    align-items:center;
    gap:15px;
}

.circle-btn{
    width:48px;
    height:48px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    color:white;
    transition:0.3s;
    font-size:18px;
}

.login-btn{
    background:#111;
}

.register-btn{
    background:#3da1ff;
}

.circle-btn:hover{
    transform:translateY(-3px) scale(1.05);
}

/* HERO */

.hero{
    height:100vh;
    background:url('https://images.unsplash.com/photo-1492691527719-9d1e07e534b4?q=80&w=1920') center/cover no-repeat;
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    padding:20px;
}

.overlay{
    position:absolute;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.55);
}

.hero-content{
    position:relative;
    z-index:2;
    color:white;
}

.hero-content h2{
    font-size:60px;
    margin-bottom:20px;
    font-weight:700;
}

.hero-content p{
    font-size:20px;
    margin-bottom:30px;
    opacity:0.9;
}

.hero-btn{
    display:inline-block;
    padding:15px 35px;
    background:#3da1ff;
    color:white;
    text-decoration:none;
    border-radius:40px;
    transition:0.3s;
    font-weight:600;
}

.hero-btn:hover{
    background:#1e88e5;
    transform:translateY(-2px);
}

/* RESPONSIVE */

@media(max-width:900px){

    .hero-content h2{
        font-size:38px;
    }

}

/* AJOUTER DANS style.css */

/* MENU MOBILE */

.mobile-toggle{
    display:none;
    font-size:26px;
    cursor:pointer;
    color:#222;
}

/* MENU OUTILS */

.dropdown-tools{
    position:relative;
}

/* RESPONSIVE */

@media(max-width:900px){

    .mobile-toggle{
        display:block;
    }

    nav{
        position:absolute;
        top:90px;
        left:0;
        width:100%;
        background:white;
        display:none;
        box-shadow:0 10px 20px rgba(0,0,0,0.1);
    }

    nav.active{
        display:block;
    }

    .menu{
        display:flex;
        flex-direction:column;
        width:100%;
    }

    .menu li{
        width:100%;
    }

    .menu li a{
        padding:18px 25px;
        border-bottom:1px solid #f1f1f1;
    }

    .dropdown-menu{
        position:relative;
        width:100%;
        opacity:1;
        visibility:visible;
        transform:none;
        display:none;
        box-shadow:none;
        border-radius:0;
    }

    .dropdown.active .dropdown-menu{
        display:block;
    }

    .dropdown-menu li a{
        padding-left:45px;
        background:#fafafa;
    }

}
/* AJOUTER DANS style.css */

/* PAGE REGISTER */

.register-page{
    min-height:100vh;
    background:url('https://images.unsplash.com/photo-1492691527719-9d1e07e534b4?q=80&w=1920') center/cover no-repeat;
    display:flex;
    align-items:center;
    justify-content:center;
    position:relative;
    overflow:hidden;
    font-family:'Poppins', sans-serif;
}

/* OVERLAY */

.register-overlay{
    position:absolute;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.75);
    backdrop-filter:blur(3px);
}

/* CONTAINER */

.register-container{
    position:relative;
    z-index:2;
    width:100%;
    padding:40px 20px;
    display:flex;
    justify-content:center;
}

/* BOX */

.register-box{
    width:100%;
    max-width:1100px;
    background:rgba(255,255,255,0.08);
    border:1px solid rgba(255,255,255,0.15);
    backdrop-filter:blur(15px);
    border-radius:35px;
    padding:60px;
    text-align:center;
    color:white;
    box-shadow:0 20px 60px rgba(0,0,0,0.4);
}

/* LOGO */

.register-logo{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:20px;
    margin-bottom:25px;
}

.logo-diamond{
    width:60px;
    height:60px;
    background:#3da1ff;
    transform:rotate(45deg);
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:6px;
}

.logo-diamond span{
    transform:rotate(-45deg);
    color:white;
    font-weight:bold;
}

.register-logo h1{
    font-size:42px;
}

/* BADGE */

.register-badge{
    display:inline-block;
    padding:10px 22px;
    background:#3da1ff;
    border-radius:50px;
    font-size:13px;
    font-weight:600;
    letter-spacing:1px;
    margin-bottom:20px;
}

/* TITLES */

.register-box h2{
    font-size:48px;
    margin-bottom:15px;
}

.register-box p{
    color:rgba(255,255,255,0.8);
    font-size:17px;
}

/* CHOICE */

.register-choice{
    margin-top:50px;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:35px;
}

/* CARD */

.choice-card{
    background:rgba(255,255,255,0.08);
    border:1px solid rgba(255,255,255,0.1);
    border-radius:30px;
    padding:45px 35px;
    text-decoration:none;
    color:white;
    transition:0.4s;
    position:relative;
    overflow:hidden;
}

.choice-card:hover{
    transform:translateY(-10px);
    background:rgba(255,255,255,0.12);
}

.choice-card::before{
    content:'';
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:5px;
    background:#3da1ff;
}

/* ICON */

.choice-icon{
    width:95px;
    height:95px;
    border-radius:30px;
    margin:auto;
    margin-bottom:30px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:40px;
    color:white;
}

.model-icon{
    background:linear-gradient(135deg,#ff4d6d,#ff758f);
}

.photo-icon{
    background:linear-gradient(135deg,#3da1ff,#0066ff);
}

/* TEXT */

.choice-card h3{
    font-size:32px;
    margin-bottom:20px;
}

.choice-card p{
    line-height:1.8;
    font-size:15px;
    margin-bottom:35px;
}

/* BUTTON */

.choice-btn{
    display:inline-block;
    padding:14px 35px;
    border-radius:50px;
    background:white;
    color:#111;
    font-weight:600;
    transition:0.3s;
}

.choice-card:hover .choice-btn{
    background:#3da1ff;
    color:white;
}

/* LOGIN */

.register-login{
    margin-top:45px;
    font-size:15px;
    color:rgba(255,255,255,0.8);
}

.register-login a{
    color:#3da1ff;
    text-decoration:none;
    font-weight:600;
}

/* RESPONSIVE */

@media(max-width:900px){

    .register-box{
        padding:40px 25px;
    }

    .register-box h2{
        font-size:36px;
    }

    .register-logo h1{
        font-size:32px;
    }

}
/* AJOUTER DANS style.css */

/* PAGE REGISTER MODEL */

.model-register-page{
    min-height:100vh;
    background:url('https://images.unsplash.com/photo-1515886657613-9f3515b0c78f?q=80&w=1920') center/cover no-repeat;
    background-attachment:fixed;
    position:relative;
    font-family:'Poppins', sans-serif;

    overflow-x:hidden;
    overflow-y:auto;
}

/* OVERLAY */

.model-overlay{
    position:absolute;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.78);
    backdrop-filter:blur(4px);
}

/* CONTAINER */

.model-register-container{
    position:relative;
    z-index:2;
    width:100%;
    padding:40px;
}

/* BOX */

.model-register-box{
    max-width:1300px;
    margin:auto;
    display:grid;
    grid-template-columns:1fr 1fr;
    background:rgba(255,255,255,0.08);
    border:1px solid rgba(255,255,255,0.1);
    border-radius:35px;
    overflow:hidden;
    backdrop-filter:blur(15px);
    box-shadow:0 20px 60px rgba(0,0,0,0.4);
}

/* LEFT */

.model-left{
    padding:70px;
    color:white;
    background:linear-gradient(135deg,rgba(61,161,255,0.3),rgba(0,0,0,0.1));
}

.model-badge{
    display:inline-block;
    padding:10px 20px;
    border-radius:50px;
    background:#ff4d6d;
    font-size:13px;
    font-weight:600;
    letter-spacing:1px;
    margin-bottom:25px;
}

.model-left h1{
    font-size:60px;
    line-height:1.1;
    margin-bottom:25px;
}

.model-left p{
    color:rgba(255,255,255,0.85);
    line-height:1.9;
    margin-bottom:45px;
    font-size:16px;
}

/* FEATURES */

.model-features{
    display:flex;
    flex-direction:column;
    gap:22px;
}

.feature-item{
    display:flex;
    align-items:center;
    gap:18px;
    font-size:16px;
}

.feature-item i{
    width:50px;
    height:50px;
    border-radius:15px;
    background:rgba(255,255,255,0.12);
    display:flex;
    align-items:center;
    justify-content:center;
    color:#3da1ff;
    font-size:20px;
}

/* RIGHT */

.model-right{
    padding:70px;
    background:white;
}

.model-right h2{
    font-size:38px;
    margin-bottom:35px;
    color:#111;
}

/* INPUT */

.input-box{
    margin-bottom:25px;
}

.input-box label{
    display:block;
    margin-bottom:12px;
    font-size:14px;
    font-weight:600;
    color:#222;
}

.input-icon{
    position:relative;
}

.input-icon i{
    position:absolute;
    left:18px;
    top:50%;
    transform:translateY(-50%);
    color:#999;
}

.input-icon input{
    width:100%;
    height:58px;
    border-radius:18px;
    border:1px solid #e4e4e4;
    padding-left:50px;
    font-size:15px;
    outline:none;
    transition:0.3s;
}

.input-icon input:focus{
    border-color:#3da1ff;
}

/* GENDER */

.gender-select{
    display:flex;
    gap:20px;
}

.gender-card{
    flex:1;
    cursor:pointer;
}

.gender-card input{
    display:none;
}

.gender-card span{
    height:60px;
    border:2px solid #e4e4e4;
    border-radius:18px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    font-weight:600;
    transition:0.3s;
}

.gender-card input:checked + span{
    background:#3da1ff;
    color:white;
    border-color:#3da1ff;
}

/* BUTTON */

.model-submit{
    width:100%;
    height:60px;
    border:none;
    border-radius:18px;
    background:linear-gradient(135deg,#3da1ff,#0066ff);
    color:white;
    font-size:16px;
    font-weight:600;
    cursor:pointer;
    transition:0.3s;
    margin-top:15px;
}

.model-submit:hover{
    transform:translateY(-3px);
}

/* LOGIN */

.model-login{
    margin-top:30px;
    text-align:center;
    color:#777;
    font-size:14px;
}

.model-login a{
    color:#3da1ff;
    text-decoration:none;
    font-weight:600;
}
/* AJOUTER DANS style.css */

/* SELECT */

.input-icon select{
    width:100%;
    height:58px;
    border-radius:18px;
    border:1px solid #e4e4e4;
    padding-left:50px;
    padding-right:20px;
    font-size:15px;
    outline:none;
    transition:0.3s;
    appearance:none;
    background:white;
    cursor:pointer;
    color:#222;
}

.input-icon select:focus{
    border-color:#3da1ff;
}

/* FLECHE CUSTOM */

.input-icon::after{
    content:'\f078';
    font-family:"Font Awesome 6 Free";
    font-weight:900;
    position:absolute;
    right:20px;
    top:50%;
    transform:translateY(-50%);
    color:#999;
    pointer-events:none;
}
.logout-btn{
    background:#ff4d6d;
}

.logout-btn:hover{
    background:#e63950;
}
.dashboard{
    display:flex;
    min-height:100vh;
    background:#f4f4f4;
    padding-top:100px;
}

/* LEFT */

.dash-left{
    width:45%;
    background:white;
    padding:30px;
    overflow:auto;
    border-right:1px solid #ddd;
}

/* RIGHT */

.dash-right{
    width:55%;
    background:#fafafa;
    padding:30px;
}

/* BOX */

.gallery-box{
    background:#fff;
    padding:15px;
    margin-top:15px;
    border-radius:10px;
    box-shadow:0 2px 10px rgba(0,0,0,0.05);
}

/* PROFILE PIC */

.profile-pic img{
    border-radius:50%;
    margin-bottom:10px;
}

/* INPUTS */

input, button{
    width:100%;
    padding:10px;
    margin-top:8px;
}

/* STATS */

.stats{
    background:#fff;
    padding:15px;
    border-radius:10px;
    margin-top:15px;
}
/* AVATAR HEADER */
.mini-avatar{
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #3da1ff;
    transition: 0.2s ease;
    display: block;
}

/* effet hover */
.circle-btn.profile-btn:hover .mini-avatar{
    transform: scale(1.1);
    border-color: #ff3d8d;
}

/* fallback icône user */
.circle-btn.profile-btn i{
    font-size: 18px;
    color: #333;
}

/* bouton profil plus propre */
.circle-btn.profile-btn{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    text-decoration: none;
}

/* hover global bouton */
.circle-btn.profile-btn:hover{
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transform: translateY(-1px);
}
/* RESPONSIVE */

@media(max-width:1000px){

    .model-register-box{
        grid-template-columns:1fr;
    }

    .model-left,
    .model-right{
        padding:45px 30px;
    }

    .model-left h1{
        font-size:42px;
    }

}

@media(max-width:600px){

    .gender-select{
        flex-direction:column;
    }

    .model-right h2{
        font-size:30px;
    }

}