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

/* ================== BASE ================== */
body {
    font-family:'Cairo','Poppins', Arial, sans-serif;

    
}



button {
    padding:15px 30px;
    font-family:'Cairo','Poppins', Arial, sans-serif;
    font-size:16px;
    border:none;
    border-radius:10px;
    cursor:pointer;
}

/* ================== HEADER ================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: #000000;

    z-index: 1000;
    transition: background 0.3s;
}

.navbar {
    
    margin: auto;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding: 0 20px;
}

/* ================== LOGO ================== */
.logo {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    text-decoration: none;
}

.logo span {
    color: #00e676;
}

/* ================== NAVIGATION ================== */
nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
    height: 100%;
    align-items: center;
}

nav ul li a {
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    text-align: center;
    text-decoration: none;
    position: relative;
}

nav ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 2px;
    background: orange;
    transition: 0.3s;
}

nav ul li a:hover::after {
    width: 100%;
}

nav ul li a:hover {
    color: #00c82b;
}

.menu-toggle {
    display: none;
    font-size: 28px;
    color: #fff;
    cursor: pointer;
    z-index: 1001;
}

/* ================== SLIDER ================== */
.slider {
    margin-top: 80px;
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s;
}

.slide.active {
    opacity: 1;
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.25);
}

/* ================== HERO ================== */
.hero-content {
    position: absolute;
    top:45%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    width: 90%;
    z-index: 0;
}

.static-text {
    font-size: 48px;
    font-weight: 800;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeSlideUp 1.5s ease forwards;
}

#animated-text {
    font-size: 28px;
    font-weight: 600;
    color: #e3f307;
    margin-top: 10px;
    margin-bottom: 10px;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeSlideUp 1.5s ease forwards;
    text-shadow: 0 2px 5px rgb(0, 0, 0);
    
}

.hero-image {
    width: 300px;
    max-width: 60%;
    margin-bottom: 0px;
    animation: float 4s ease-in-out infinite;
}

/* ================== ANIMATIONS ================== */
@keyframes fadeSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeSlide {
    0% { opacity: 0; transform: translateY(20px); }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { opacity: 0; transform: translateY(-20px); }
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

@keyframes zoomIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ================== BOUTONS ================== */
a, a:hover, a:focus {
    text-decoration: none;
}


.login-button {
    padding: 12px 25px;
    background: #ff7a00;
    color: white;
    border-radius: 8px;
    
text-align: center;
    text-decoration: none;
}
.login-button:hover {

  background-color: #e66a00;

}


.register-button {
    padding: 12px 25px;
    background: #eee9e9;
    color: #000000;
    border-radius: 8px;

    text-align: center;
}
.register-button:hover {
    
    background: #bbb9b9;
    
}

.logout-button {
    padding: 12px 25px;
    background: #ff1100;
    color: #fff;
    border-radius: 8px;
}



.btn {
    display: inline-block;
   
    padding: 9px 35px;
    
    color: #fff;
   
    text-decoration: none;
    transition: 0.3s;
}

.btn:hover {
    background: #00a81f;
    color: #fff;
}

button.btn {
   
    width: 200px;
  height: 50px
}

.login {
    background: #00a81f;
    color: rgb(0, 0, 0);
}

.register {
    
    color: rgb(0, 0, 0);
}

.dashboard {
    background: #333;
    color: white;
}

.logout {
    background: red;
    color: white;
}

.joueur {
    background:#0f9f31;
    color:white;
}

.recruteur {
    background:#007bff;
    color:white;
}

/* ================== LANGUE ================== */
.lang-switch {
    position: absolute;
    top: 20px;
    right: 20px;
}

[dir="rtl"] .lang-switch {
    left: 20px;
    right: auto;
}

.lang-btn {
    padding: 8px 16px;
    color: #ff7a00;
    font-weight: 600;
    border-radius: 30px;
    text-decoration: none;
    
    
}

.lang-btn:hover {
  
    color: #3cff00;
    font-weight: 700;
 
    
    
}


/* form-experience */
.form-experience {
    position: relative; /* ou rien du tout */
    
     
    border-radius: 15px;
    width: 80%;
    text-align: center;
    background: #d1d6db75;
    display: initial;
     margin: 0 auto;
     margin-top: -182px;
}/* ================== FORMULAIRE ================== */






/* ================== FORMULAIRE ================== */
.form-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 40px;
    border-radius: 15px;
    width: 360px;
    text-align: center;
    background: #d1d6db75;
}

.form-container h2 {
    margin-bottom: 25px;
    color: #000000;
}

.form-container input {
    width: 100%;
    
    margin: 10px 0;
}

.form-container button {
    width: 100%;
    padding: 12px;
   
    
}

.form-links {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}

.remember-me {
    display: flex;
    align-items: center;
}



/* ================== SOCIAL ================== */
.social-icons {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-top: 22px;
}

.social-icons a {
    opacity: 0;
    transform: scale(0.5);
    animation: zoomIn 0.5s ease forwards;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fff;
    font-size: 18px;
    transition: 0.3s;
}

.social-btn:hover {
    transform: scale(1.1);
}

/* ================== PROFILE ================== */
.container {
    width:90%;
    max-width:1100px;
    margin:auto;
    padding:20px;
}

.profile-card {
    background: linear-gradient(135deg,#0fef35a6,#0f172a);
    border-radius:20px;
    padding:20px;
    margin-top :120px;
    
}

.profile-header {
    display:flex;
    align-items:center;
    gap:20px;
}

.profile-header img {
    width:120px;
    height:120px;
    border-radius:50%;
}

.stats {
    display:flex;
    gap:20px;
    margin-top:10px;
}

.section {
    margin-top:30px;
}

.card {
    padding:15px;
    border-radius:15px;
}

/* ================== RTL ================== */
[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

@media(min-width:769px){
    [dir="rtl"] nav ul {
        flex-direction: row-reverse;
        
    }
}

/* ================== RESPONSIVE ================== */
@media(max-width:768px){
    .menu-toggle { 
        display: block;
        font-size: 28px;
        cursor: pointer;
        z-index: 1001;
    }
    .lang-btn {
        order:3;
        margin-right: 0px;
        text-align: center;
    }


    

   

    nav ul {
        flex-direction: column;
        padding: 10px 0;
        margin: 0;
        width: 100%;
        text-align: center;
        margin: 5px 0;   /* 🔥 réduit espace (important) */
        gap: 0px;
    }

    nav li {
      height: 60px;
    }
    
    .static-text,
    #animated-text {
        font-size: 24px;
    }

    .hero-image {
        max-width: 212px;
        margin-top:40px;
    }

    .form-container {
        max-width: 90%;
        margin-top: 40px;
    }


    .form-container-profile{
        width: 90%;
        margin-top: 40px;

    }
}
.user-info a {
    color: #00e676;
    font-weight: bold;
}

.user-menu{
    position:relative;
    display: block;
}

.user-toggle{
    cursor:pointer;
    display:flex;
    align-items:center;
    gap:5px;
    color: #ffffff;;
}

.dropdown{
    display:none;
    position:absolute;
    right:0;
    top:120%;
    background:#fff;
    min-width:160px;
    border-radius:8px;
    box-shadow:0 5px 15px rgba(0,0,0,0.2);
    overflow:hidden;
    z-index:1000;
}

.dropdown a{
    display:block;
    padding:10px;
    color:#333;
    text-decoration:none;
}

.dropdown a:hover{
    background:#f0f0f0;
}
/* NAVBAR */
.navbar{
    width: 100%;
    padding:10px 20px;
}

.navbar ul{
    list-style:none;
    display:flex;
    align-items:center;
    gap:20px;
}

.navbar a{
    color:#fff;
    text-decoration:none;
}

/* USER MENU */
.user-menu{
    position:relative;
   
}

.user-toggle{
    display:flex;
    align-items:center;
    gap:6px;
    cursor:pointer;

    margin-left: 12px;
}

.user-toggle:hover{
    color:rgb(9, 255, 0);
}

/* DROPDOWN */
.dropdown{
    display:none;
    position:absolute;
    right:0;
    top:120%;
    background:#fff;
    min-width:180px;
    border-radius:8px;
    box-shadow:0 5px 15px rgba(0,0,0,0.2);
    overflow:hidden;
    z-index:1000;
}

.dropdown.show{
    display:block;
    opacity:1;
    transform:translateY(0);
    pointer-events:auto;
}

.dropdown a{
    display:block;
    padding:10px;
    color:#000;
    text-decoration:none;
    text-align: center;
}

.dropdown a:hover{
    background:#f0f0f0;
}

/* LOGIN BUTTON */
.btn.login{
    background:orange;
    padding:6px 12px;
    border-radius:5px;
    color:#fff;
}

/* MOBILE */


@media(max-width:768px){
    .user-toggle{
        margin-right: 47px;

}
   

    #nav-menu{
        display:none;
        flex-direction:column;
    }

    #nav-menu.show{
        display:flex;
    }

    .navbar ul{
        flex-direction:column;
       
    }
}
/* MOBILE *//* MOBILE *//* MOBILE *//* MOBILE *//* MOBILE *//* MOBILE *//* MOBILE */
/* CONTENEUR NAV */
.nav-container{
    display:flex;
    align-items:center;
    justify-content:space-between;
    width:100%;
    z-index: 999;
    background-color: #000000;
    direction: ltr !important;
    
}


#nav-menu.show{
    display:flex;
}



/* GAUCHE */
/* GAUCHE */
.nav-left{
    flex: 0 0 auto;
    order: 1;
    width: 30%;
    display: flex;
    justify-content: left;
    margin-left: 2%;
}

/* CENTRE */
.nav-center{
    flex: 1;
    order: 2;
    display: flex;
    justify-content: center;
 
}

/* DROITE */
.nav-right{
    flex: 0 0 auto;
    order: 3;
    
    gap: 12px;
    display: flex;
    width: 30%;
    justify-content: right;
    margin-right: 2%;
}

/* FIX alignement liens */
.nav-center li a{
    color:#ffffff;
    text-decoration:none;
   
}
.nav-center{
 
    margin-right: 30px;
}



@media(max-width:768px){

    .nav-container{
        flex-direction:column;
        align-items:flex-start;
      
    }

    .nav-center{
        flex-direction:column;
        width:100%;
        text-align:center;
        order:2;
    }

    .nav-right{
        width:100%;
        justify-content:center;
        order:1;
       
    }
/* btn langue */
    .nav-left{
        width:100%;
        text-align:center;
        margin-bottom:10px;
        order:3;
        display: block;
        margin: auto;
    }
}

@media(max-width:768px){

    /* bouton menu */
    .menu-toggle{
        display:block;
        position:fixed;
        top:20px;
        right:20px;
        z-index:2000;
        font-size:28px;
        color:#fff;
        cursor:pointer;
    }

    /* CACHE LE MENU PAR DÉFAUT */
    #nav-menu{
        display:none;
        flex-direction:column;
        position:absolute;
        
        
        width:100%;
        background:#0b1c2d;
        padding:20px 0;
    }

    /* AFFICHE quand click */
    #nav-menu.show{
        display:flex;
    }

    .nav-center{
        flex-direction:column;
        width:100%;
        text-align:center;
        gap:10px;
    }

    .nav-right{
        width:100%;
        justify-content:center;
        margin-top:60px;
        display: flex;
        gap: 12px;
    }

    .nav-left{
        width:100%;
        text-align:center;
        margin-top: 25px;
    }


  
}


/* PAGE */
.login-page{
     display:flex;
    justify-content:center;
    align-items:center;
   
   }

/* FORM profile */
.form-container-profile{
    background:#ffffff8a;
    padding:40px;
    border-radius:15px;
  
    box-shadow:0 10px 25px rgba(0,0,0,0.2);
    text-align:center;

    width: 80%;
   
    margin-top:120px;
}


/* FORM */
.form-container{
    background:#ffffff8a;
    padding:40px;
    border-radius:15px;
    width:400px;
    box-shadow:0 10px 25px rgba(0,0,0,0.2);
    text-align:center;
}

/* TITLE */
.form-container h2{
    margin-bottom:20px;
    color:#333;
}

/* ERROR */
.error{
    color:red;
    font-weight:bold;
    margin-bottom:10px;
}

/* INPUT GROUP */
.input-group{
    display:flex;
    align-items:center;
    background:#ffffff;
    border-radius:10px;
    margin-bottom:15px;
    padding:10px;
    height: 50px;
    
}

.input-group i{
    color:#ff7a00;
    margin-right:10px;
}

.input-group input{
    border:none;
    outline:none;
    background:#ffffff;
    width:100%;
    font-size:16px;
    font-family: cairo;
    border-radius: 12px;
    text-align: center;
    
}

.input-group select {
    display:flex;
    align-items:center;
    background:#ffffff;
    border-radius:10px;
    font-family: cairo;
    
    border:none;
    outline:none;
   
    width:100%;
    font-size:16px;
    border-radius: 12px;
    text-align: center;
   
}

/* BUTTON */
.login-btn{
    width:100%;
    padding:12px;
    border:none;
    border-radius:10px;
    background:#ff7a00;
    color:#fff;
    font-size:16px;
    cursor:pointer;
    transition:0.3s;
}


.login-btn2{
    width:25%;
    padding:12px;
    border:none;
    border-radius:10px;
    background: #1e293b;
    color:#f7f6f6;
    font-size:16px;
    cursor:pointer;
    transition:0.3s;
}

.login-btn:hover{
    background:#e66a00;
}

/* LINKS */
.form-links{
    margin-top:15px;
    display:flex;
    justify-content:space-between;
}

.form-links a{
    text-decoration:none;
    font-size:16px;
    color:#000000;
    transition:0.3s;
}

.form-links a:hover{
    color:#0026ff;
}
input::placeholder,
textarea::placeholder {
    font-family: inherit;
}


/* Style de la popup */
.popup {
 display: flex;
    position: fixed;
    z-index: 9999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5); /* Fond sombre */
}

.popup-content {
    background-color: white;
    margin: 15% auto;
    padding: 20px;
    border-radius: 10px;
    width: 350px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.popup-content button {
    margin-top: 15px;
    padding: 8px 20px;
    background-color: #ff7a00;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.popup-content button:hover {
    background-color: #ff7b00da;
}

.player-form-container {
    width: 90%;
    max-width: 800px;
    margin: 120px auto;
    background: #ffffffcc;
    backdrop-filter: blur(6px);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.player-form-container h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #0b1c2d;
    font-weight: 700;
}

/* Inputs harmonisés avec ton style */
.player-form-container input,
.player-form-container select {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    border-radius: 10px;
    border: 1px solid #ddd;
    outline: none;
    font-family:'Cairo','Poppins', Arial, sans-serif;
    transition: 0.3s;
    background: #fff;
    
}

.player-form-container input:focus,
.player-form-container select:focus {
    border-color: #ff7a00;
    box-shadow: 0 0 6px rgba(255,122,0,0.3);
}

/* Grille */
.form-row {
    display: flex;
    gap: 15px;
}

.form-row .col {
    flex: 1;
}

/* Bouton compatible avec ton design */
.player-form-container button {
    width: 100%;
    background: #ff7a00;
    color: #fff;
    font-size: 16px;
    margin-top: 15px;
    transition: 0.3s;
}

.player-form-container button:hover {
    background: #e66a00;
    transform: scale(1.02);
}

/* Upload image */
.player-form-container input[type="file"] {
    background: #f8f8f8;
    padding: 10px;
}

.exp-form {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.exp-form input {
    flex: 1;
}

.exp-form button {
    background: orange;
    border: none;
    padding: 8px;
    cursor: pointer;
}

#expTable th, #expTable td {
    padding: 8px;
    text-align: center;
}
.modal{
    display:none;
    position:fixed;
    z-index:9999;
    left:0;
    top:0;
    width:100%;
    height:100%;

    background:rgba(0,0,0,0.7);

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



    
}


.profile-upload{
    text-align: center;
}

.upload-text{
    margin-top: 10px;
    font-size: 14px;
    color: #fff;
    font-weight: 500;
    text-align: center;
}

.modal-content{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 30px;
    border-radius: 10px;
    width: 80%;
   }

@keyframes fadeIn{
    from{
        transform:scale(0.8);
        opacity:0;
    }

    to{
        transform:scale(1);
        opacity:1;
    }
}

.modal-content input {
    width: 100%;
    margin: 5px 0;
    padding: 8px;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    font-family: Arial, sans-serif;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    table-layout: fixed; /* empêche les colonnes de s'élargir */
}

/* HEADER */
table thead {
    background: #1e293b;
    color: #ffffff;

}

table thead th {
    padding: 12px;
    text-align: center;
    font-size: 14px;
    letter-spacing: 0.5px;
}

/* LIGNES */
table tbody tr {
    border-bottom: 1px solid #eee;
    transition: 0.2s;
}

table tbody tr:hover {
    background: #f5f7fa;
}

/* CELLULES */
table td {
    padding: 12px;
    font-size: 14px;
    color: #333;
}

th, td {
    padding: 8px;
    border: 1px solid #ddd;
    text-align: center;

    /* 🔥 très important */
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

/* 📱 Scroll horizontal si nécessaire */
.table-container {
    width: 100%;
    overflow-x: auto;
}


/* BOUTONS ACTIONS */
table button {
    padding: 5px 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 12px;
    transition: 0.2s;
}

/* SUPPRIMER */
table button:nth-child(1) {
    background: #e74c3c;
    color: white;
}

table button:nth-child(1):hover {
    background: #c0392b;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    table {
        font-size: 12px;
    }

    table td, table th {
        padding: 8px;
    }
}

.btn-add-pro {
    display: flex;
    align-items: center;
    gap: 8px;
    padding:  5px 34px;
   
    color: rgb(241, 132, 7);
    border: none;
    
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}



.btn-add-pro:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
    background: linear-gradient(135deg, #e65c00, #ff751a);
}

.header-exp {
    position: relative;
    text-align: center; /* centre le h3 */
    padding: 0 20px; /* espace à droite et gauche */
}

.header-exp h3 {
    margin: 0;
}

.header-exp .btn-add-pro {
    position: absolute;
    right: 4px;
    top: 74%;
    transform: translateY(-50%);
}

.forme_exp_video{

    display: flex;
    flex-direction: column;
    gap: 15px;




   
    
     
  
    background: #d1d6db75;
     
}
.success{
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    padding: 12px 15px;
    margin-bottom: 15px;
    border-radius: 8px;
    font-weight: bold;
    text-align: center;
}

.danger{
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    padding: 12px 15px;
    margin-bottom: 15px;
    border-radius: 8px;
    font-weight: bold;
    text-align: center;
}


/* FILTERS */
.filters{
    display:flex;
    gap:15px;
    margin-top:80px;
    flex-wrap:wrap;
}

.filters input,
.filters select{
    padding:6px;
    border:none;
    border-radius:10px;
    outline:none;
    width: 390px;
    font-family: 'Cairo';
    font-size: 16px;
}

.filters input{
    flex:1;
}


option{
    background:white;
    
}
optgroup{
    background:rgba(201, 199, 198, 0.596);

}

