/* ========================================================= */
/* formulaire.css - النسخة الاحترافية المطورة بالكامل */
/* + إزالة صفحة التحميل (Loader Removed) */
/* ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Amiri:wght@400;700&display=swap');

/* ========================================================= */
/* الأساسيات */
/* ========================================================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Amiri', serif;
    direction:rtl;
    background-color:#f4f4f4;
    overflow-x:hidden;
}

/* ========================================================= */
/* الخلفية الرئيسية */
/* ========================================================= */

.main-content-wrapper{
    position:relative;
    padding:20px;
    background-image:url('../photo video/photo/zelidj.jpg');
    background-size:cover;
    background-position:center;
    background-attachment:fixed;
    min-height:80vh;
    overflow:hidden;
}

.main-content-wrapper::before{
    content:'';
    position:absolute;
    inset:0;
    background-color:rgba(255,255,255,0.85);
    z-index:1;
}

/* ========================================================= */
/* قسم الريلز */
/* ========================================================= */

.reels-section{
    position:relative;
    z-index:2;
    max-width:1200px;
    margin:0 auto;
    display:flex;
    flex-direction:column;
}

.reels-title{
    text-align:center;
    color:#006400;
    font-size:2.5rem;
    font-weight:700;
    margin-top:90px;
    margin-bottom:40px;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:12px;
}

/* الحاوية */
.reels-container-wrapper{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;
    width:100%;
    position:relative;
}

/* السلايدر */
.reels-slider{
    display:flex;
    overflow-x:auto;
    scroll-behavior:smooth;
    gap:25px;
    padding:20px 10px 40px;
    scrollbar-width:none;
    -ms-overflow-style:none;
    flex-grow:1;
    min-height:500px;
    align-items:center;
    -webkit-overflow-scrolling:touch;
}

.reels-slider::-webkit-scrollbar{
    display:none;
}

/* ========================================================= */
/* بطاقة الريل */
/* ========================================================= */

.reel-card{
    min-width:280px;
    width:280px;
    height:490px;
    border-radius:25px;
    overflow:hidden;
    background:#111;
    flex-shrink:0;

    display:flex;
    justify-content:center;
    align-items:center;

    position:relative;

    transition:transform .35s ease, box-shadow .35s ease;

    border:1px solid rgba(0,0,0,.08);

    box-shadow:
        0 8px 20px rgba(0,0,0,.18),
        0 2px 8px rgba(0,0,0,.08);
}

.reel-card:hover{
    transform:translateY(-6px) scale(1.03);
}

.reel-card iframe{
    width:100%;
    height:100%;
    border:none;
    background:#000;
    border-radius:25px;
}

/* ========================================================= */
/* أزرار التنقل */
/* ========================================================= */

.nav-btn{
    background-color:#006400;
    color:#fff;
    border:none;
    width:50px;
    height:50px;
    border-radius:50%;
    cursor:pointer;
    font-size:1.5rem;
    display:flex;
    align-items:center;
    justify-content:center;
    transition:.25s ease;
    box-shadow:0 4px 12px rgba(0,100,0,.25);
}

.nav-btn:hover{
    background-color:#004d00;
    transform:scale(1.08);
}

/* ========================================================= */
/* زر التسجيل */
/* ========================================================= */

.register-btn{
    display:inline-block;
    padding:12px 40px;
    background-color:#8B4513;
    color:#fff;
    text-decoration:none;
    font-size:1.1rem;
    font-weight:bold;
    border-radius:50px;
    transition:.3s ease;
    box-shadow:0 4px 10px rgba(139,69,19,.3);
}

.register-btn:hover{
    background-color:#5D2E0A;
    transform:scale(1.05);
}

/* ========================================================= */
/* الفاصل */
/* ========================================================= */

.divider-line{
    width:100vw;
    height:3px;
    background-color:#8B4513;
    margin:60px calc(50% - 50vw) 20px;
    opacity:.8;
}

/* ========================================================= */
/* اللودر - تم حذفه بالكامل */
/* ========================================================= */
/* (تم إزالة loader-container و spinner بالكامل لأنه لم يعد مستخدمًا) */

/* ========================================================= */
/* قسم التسجيل */
/* ========================================================= */

.registration-section{
    position:relative;
    padding:90px 20px;
    background-image:url('../photo video/photo/zelidj.jpg');
    background-size:cover;
    background-position:center;
    background-attachment:fixed;
    min-height:75vh;
    display:flex;
    justify-content:center;
    align-items:center;
}

.registration-section::before{
    content:'';
    position:absolute;
    inset:0;
    background:rgba(255,255,255,0.88);
    z-index:1;
}

.reg-content{
    position:relative;
    z-index:2;
    text-align:center;
    max-width:520px;
    width:100%;
    background:rgba(255,255,255,0.6);
    padding:30px;
    border-radius:20px;
    backdrop-filter:blur(6px);
    box-shadow:0 10px 25px rgba(0,0,0,.1);
}

.reg-main-title{
    color:#006400;
    font-size:2rem;
    margin-bottom:25px;
}

.logo-circle{
    width:140px;
    height:140px;
    border-radius:50%;
    border:4px solid #8B4513;
    object-fit:cover;
}

.assoc-name{
    font-size:1.5rem;
    color:#333;
    margin:18px 0 8px;
}

.season-label{
    font-size:1.1rem;
    color:#555;
    margin-bottom:18px;
}

.status-btn{
    width:100%;
    padding:12px;
    border-radius:50px;
    border:none;
    font-size:1rem;
    font-weight:bold;
    margin-bottom:12px;
    color:#fff;
}

.action-btn{
    width:100%;
    padding:14px;
    border-radius:50px;
    border:none;
    background:#006400;
    color:#fff;
    font-size:1.1rem;
    cursor:pointer;
    transition:.3s ease;
}

.action-btn:hover:enabled{
    background:#004d00;
    transform:scale(1.03);
}

.action-btn:disabled{
    background:#ccc;
    cursor:not-allowed;
}

/* ========================================================= */
/* موبايل */
/* ========================================================= */

@media (max-width:768px){

    .reels-title{
        font-size:1.6rem;
        margin-top:60px;
    }

    .reel-card{
        width:68vw;
        min-width:68vw;
        height:470px;
        border-radius:16px;
        margin:0 6px;
    }

    .reels-slider{
        gap:10px;
        padding:10px 18px 30px;
        min-height:470px;
        scroll-snap-type:x mandatory;
    }

    .reel-card{
        scroll-snap-align:center;
    }

    .nav-btn{
        display:none;
    }

    .reg-content{
        padding:22px;
        margin:0 10px;
    }
}

@media (max-width:480px){

    .reels-title{
        font-size:1.35rem;
    }

    .reel-card{
        width:75vw;
        min-width:75vw;
        height:485px;
    }

    .logo-circle{
        width:120px;
        height:120px;
    }

    .assoc-name{
        font-size:1.3rem;
    }
}