﻿/* Custom CSS for Prediction League App */

/* General Body and Main Container Styling */

@font-face {
    font-family: 'Cairo';
    src: url('../Fonts/cairo/Cairo-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'FontFacKit';
    font-style: normal;
    font-weight: normal;
    src: local('Digital Numbers Regular'), url('../Fonts/DigitNumbers/DigitalNumbers-Regular.woff') format('woff');
}
body {
    margin: 0;
    font-family: 'Cairo' !important; /* Changed font to Cairo as per link in HTML */
    overflow-x: hidden;
}
i{
    color:white;
}


.main-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;

    /* background: linear-gradient(to bottom, #2e7d32 0%, #4caf50 50%, #8bc34a 70%, #6d4c41 100%); */
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    padding-bottom: 200px; /* Space for the bottom-background */
    /* No max-width here, the background will fill the screen */
}

    /* Fallback/Overlay for the complex background texture */
    .main-container::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        /* Replace 'your-green-texture.jpg' with the actual green textured background image */
/*        background-image: url('/Images/PredicationBackground.png');*/
        background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url(/Images/PredicationBackground.png);
        /*        opacity: 0.71;*/
        background-size: cover;
        background-repeat: no-repeat;
        /* opacity: 0.1; */
        z-index: -1;
    }

/* Top Status Bar Styling - remains full width */
.status-bar {
    color: white;
    font-size: 0.9rem;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.1);
    padding-top: 10px;
}

    .status-bar .icons-right i {
        margin-left: 5px;
    }

/* New Content Wrapper Styling */
.content-wrapper {
    flex-grow: 1; /* Allows it to take up available vertical space */
    display: flex;
    flex-direction: column;
    align-items: center; /* Center horizontally for internal elements if they are not full width */
    width: 100%; /* Default full width for mobile */
}

/* App Header Styling */
.app-header {
    margin-top: 15px;
    color: white;
    width: 100%;
    max-width: 500px;
    display: flex;
    align-items: center;
    justify-content: center; /* مركز الـ analysis-box */
    position: relative; /* عشان نقدر نحط icon على الشمال */
}

    .app-header .header-icon-left i,
    .app-header .header-icon-right i {
        font-size: 1.5rem;
    }

    /* Specific styling for Daily Matches Page Header */
    .app-header .header-icon-left a {
        text-decoration: none; /* Remove underline from link */
    }

    .app-header .header-icon-left .fa-chevron-right {
        font-size: 1.5rem; /* حجم أيقونة الرجوع */
    }

    .app-header .page-title {
        flex-grow: 1; /* عشان العنوان ياخد المساحة المتاحة ويتوسط */
        text-align: center;
        /*margin-right: 40px;*/ /* Offset for the back button on the left */
    }

/* --- HTML/CSS Pagination Specific Styles --- */

/* Hide the actual radio buttons */
.pagination-radio {
    display: none;
}

/* Matches Container - Always visible as it holds the static 5 matches */
/* تم تعديل هذا الجزء حيث أن المحتوى لن يختفي أو يظهر بناءً على الراديو بوتون */
/* الراديو بوتونز هنا للتحكم في الحالة النشطة لأزرار الـ pagination فقط */
.matches-container {
    display: flex; /* Ensure match cards stack correctly */
    flex-direction: column;
    align-items: center;
    gap: 15px; /* مسافة بين كل كارت ماتش والتاني */
    padding-bottom: 20px; /* مسافة سفلية قبل الخلفية البنية */
}

/* Style for active pagination link (when its radio is checked) */
.pagination .page-item label.page-link {
    cursor: pointer; /* Indicate that it's clickable */
    /* Bootstrap default styles will apply for non-active states */
}

/* Specific active state styling for page numbers 1 to 10 */
#page1:checked ~ .matches-container + nav .pagination .page-item:nth-child(1) label.page-link,
#page2:checked ~ .matches-container + nav .pagination .page-item:nth-child(2) label.page-link,
#page3:checked ~ .matches-container + nav .pagination .page-item:nth-child(3) label.page-link,
#page4:checked ~ .matches-container + nav .pagination .page-item:nth-child(4) label.page-link,
#page5:checked ~ .matches-container + nav .pagination .page-item:nth-child(5) label.page-link,
#page6:checked ~ .matches-container + nav .pagination .page-item:nth-child(6) label.page-link,
#page7:checked ~ .matches-container + nav .pagination .page-item:nth-child(7) label.page-link,
#page8:checked ~ .matches-container + nav .pagination .page-item:nth-child(8) label.page-link,
#page9:checked ~ .matches-container + nav .pagination .page-item:nth-child(9) label.page-link,
#page10:checked ~ .matches-container + nav .pagination .page-item:nth-child(10) label.page-link {
    background-color: #0d6efd; /* Bootstrap blue for active */
    color: white;
    border-color: #0d6efd;
    font-weight: bold;
}


/* --- End HTML/CSS Pagination Specific Styles --- */


/* Match Card Styling */
.match-card {
    background-color: #4CAF50; /* لون رمادي غامق شفاف للخلفية */

    width: 95%; /* عرض البطاقة على الموبايل */
    max-width: 500px; /* أقصى عرض للبطاقة على الشاشات الكبيرة */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    /*padding: 4px 10px;*/ /* Padding داخل الكارت */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.match-time {
    font-size: 1rem;
    font-weight: bold;
    color: #eee; /* لون فاتح للوقت */
    margin-bottom: 10px;
}

.teams-score {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.team-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%; /* تقريبا تلت المساحة لكل فريق */
   min-width: 130px;
    text-align: center;
    justify-content: center;
    background: #252722;
 
    min-height:70px;
    
}
.team-info-left {
    border-radius: 6px 0px 10px 6px;
}
.team-info-right {
    border-radius: 0px 6px 6px 10px;
}

    .team-logo {
        width: 50px; /* حجم الشعار */
        height: 50px; /* حجم الشعار */
        border-radius: 50%; /* لو الشعارات دائرية */
        object-fit: contain; /* عشان الصورة متتغيرش أبعادها */
        margin-bottom: 5px;
        background-color: #fff; /* خلفية بيضا للشعار لو الخلفية شفافة */
        padding: 2px; /* بادينج خفيف للشعار */
    }

.team-name {
    font-size: 0.9rem;
    color: #fff;
    white-space: nowrap; /* يمنع الاسم من النزول سطر جديد */
    overflow: hidden; /* يخفي الزيادة لو الاسم طويل */
    text-overflow: ellipsis; /* يضيف ... لو الاسم طويل */
padding:10px;
}

.score-prediction-status {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 70px;
    background: #252722;
    min-width: 80px; /* عرض ثابت لمنطقة النتيجة والحالة */
    justify-content: center;
    color: white;
    font-size: 1.6rem;
}

.score-display {
    font-size: 1.6rem;
    font-weight: bold;
    color: #fff;
    /*    margin-bottom: 5px;*/
    height: 35px;
    width: 100%;
/*    background: #252722;*/
    text-align:center;
}

    .score-display .text-secondary {
        color: #bbb !important; /* لون افتراضي للنتيجة المنتظرة */
    }

/* هذا الجزء هو الأهم لتنسيق مربعات حالة التوقع */
.prediction-status {
    /* padding: 5px 10px; */
    border-radius: 8px 8px 0px 0px;
    font-size: 0.9rem;
    font-weight: bold;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;

     height: 35px; 
/*    margin-top: 20px;*/
/*    height: 45px;*/
}

    /* Status colors */
    .prediction-status.correct {
        background-color: #4CAF50; /* أخضر */
    }

    .prediction-status.incorrect {
        background-color: #F44336 !important; /* أحمر */
    }

    .prediction-status.pending {
        background-color: #FFC107; /* أصفر / برتقالي للتوقعات المعلقة */
        color: #333; /* لون غامق للنص مع الخلفية الصفرا */
    }

    .prediction-status i {
        font-size: 1.1rem; /* حجم الأيقونة */
    }

/* Responsiveness adjustments for larger screens */
@media (min-width: 768px) {
    /* Limit the width of the content wrapper on larger screens */
    .content-wrapper {
        max-width: 800px; /* Adjust this value to control the "side margins" */
        margin: 0 auto; /* Center the content wrapper */
        padding: 0 20px; /* Add some internal padding if needed, to prevent content from touching wrapper edges */
    }

    /* Adjust elements inside the content-wrapper */
    .app-header {
        justify-content:center;
        padding: 0; /* Remove padding as content-wrapper now has it */
    }

    .match-card {
/*        padding: 4px 10px;*/
    }

    .match-time {
        font-size: 1.1rem;
    }

    .team-logo {
        width: 50px;
        height: 50px;
    }

    .team-name {
        font-size: 1rem;
    }

    .score-display {
        font-size: 1.6rem;
    }

    .prediction-status {
        font-size: 1rem;
/*        padding: 7px 15px;*/
/*        min-width: 70px;*/
    }
}

/* The following styles were probably for another page but are kept for completeness */
.analysis-box {
    /*    background-color: rgba(128, 128, 128, 0.5);*/
    padding: 10px 20px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    text-align: center;
}

    .analysis-box span {
        white-space: nowrap;
    }

    .analysis-box i {
        font-size: 1.2rem;
    }

.info-box-wrapper {
    /*    margin-top: 2rem;*/
    z-index:1;
    width: 100%; /* Take full width of content-wrapper */
}

.info-box {
    background: #FF001A;
    width: 90%; /* Default width for mobile within the wrapper */
    max-width: 500px; /* Adjusted max width for info box to fit smaller wrapper */
    margin: 0 auto;
    padding: 15px;
    text-align: right;
    line-height: 1.6;
    font-size: 0.95rem;
    border: 4px solid #222232;
    box-shadow: 0px 10px 4px rgba(0, 0, 0, 0.25);
    border-radius: 10px;
}

.start-button-wrapper {
    z-index:1;
    margin-top: 3rem;
    margin-bottom: 3rem;
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%; /* Take full width of content-wrapper */
}

.start-button {
    text-decoration:auto;
    background-color: #ff0000;
    border: 10px solid #222232;
    border-radius: 50%;
    width: 200px;
    height: 200px;
    font-size: 1.8rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: -1px 3px 8.7px rgba(0, 0, 0, 0.47);
/*    box-shadow: 0 0 20px rgba(255, 0, 0, 0.6);*/
    transition: transform 0.2s ease-in-out;
    flex-shrink: 0;
}

    .start-button:hover {
        transform: scale(1.05);
    }

.bottom-background {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    /* background: linear-gradient(to top, #6d4c41, #8d6e63); */
    border-top-left-radius: 50%;
    border-top-right-radius: 50%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 0;
}

    .bottom-background::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        /* Replace 'your-brown-texture.jpg' with the actual brown textured background image */
        background-image: url('your-brown-texture.jpg');
        background-size: cover;
        background-repeat: no-repeat;
        /* opacity: 0.5; */
        z-index: -1;
    }

.product-image {
    width: 150px;
    height: auto;
    position: relative;
    z-index: 10; /* Ensure it's on top */
    transform: translateY(-20px);
}



/* Always show the no matches message */
.no-matches-message {
    display: block; /* Make the message always visible */
    margin-top: 20px;
    max-width: 500px;
    width: 95%;
    text-align: center; /* Ensure text inside the message is centered */
    /* Bootstrap classes in HTML handle text-white, fs-5, p-4, rounded-3, bg-dark, bg-opacity-75, shadow-lg */
}

/* Hide any match cards or related wrappers if they were left in HTML */
/* The HTML you provided has removed these, but this ensures they remain hidden if added back */
/*.matches-content-wrapper,
.match-card,
.teams-score,
.team-info,
.score-prediction-status {
    display: none !important;*/ /* Force hide any match-related elements */
/*}*/

.match-info-box {
    background-color: rgba(46, 55, 62, 0.8);
    border-radius: 15px;
    padding: 15px 20px;
    margin-bottom: 25px;
    width: 95%;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    color: #fff;
}

    .match-info-box p {
        margin: 5px 0;
        font-size: 1rem;
        color: #ccc;
    }







.score-controls {
    display: flex;
    align-items: center;
    margin-top: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
/*    padding: 5px 10px;
*/    border: 2px solid white;
}

    .score-controls button {
        background: none;
        border: none;
        color: #fff;
        font-size: 1.8rem;
        font-weight: bold;
        cursor: pointer;
        padding: 0 10px;
    }

    .score-controls .score-display {
        font-size: 1.5rem;
        font-weight: bold;
        margin: 0 5px;
        min-width: 40px;
        text-align: center;
    }

.vs-text {
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
    margin: 0 10px;
}

.vs-container {
    font-size: 10em;
    color: red;
    font-weight: bold;
    text-shadow: 2px 2px 0 black, -2px -2px 0 black, 2px -2px 0 black, -2px 2px 0 black;
}


/* Container for the options and the line */
.options-line-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding: 0 10px;
}

.option-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    position: relative;
    z-index: 2; /* To be above the line */
    width: 25%;
}

    .option-item .option-circle {
       
        border: 3px solid red !important;
     
    }

    .option-item .option-circle-white {
        width: 50px;
        height: 50px;
        /* background-color: #f8f9fa; */
        border: 3px solid white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s ease-in-out;
        box-shadow: 0 2px 5px rgba(0,0,0,0.3);
        margin-bottom: 5px;
    }

 

/* The horizontal line */
/*.options-line-container .line {
    height: 2px;
    background-color: #fff;
    position: absolute;
    top: 50%;
    left: 19%;
    right: 19%;
    z-index: 1;
    transform: translateY(-50%);
}*/

.options-line-container .end-icon {
    width: 50px;
    height: 50px;
    background-color: #c0392b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

    .options-line-container .end-icon i {
        color: #fff;
        font-size: 1.5rem;
    }


.bottom-background {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    border-top-left-radius: 50%;
    border-top-right-radius: 50%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 0;
}

    .bottom-background::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('your-brown-texture.jpg');
        background-size: cover;
        background-repeat: no-repeat;
        z-index: -1;
    }

.product-image {
    width: 150px;
    height: auto;
    position: relative;
    z-index: 10;
    transform: translateY(-20px);
}

.app-header .header-icon-left,
.app-header .header-icon-right {
    position: absolute;
    left: 0; /* أقصى الشمال */
    margin-left: 15px; /* مسافة بسيطة من الحافة */
}


/*----------------------------------------------------*/
/* Custom Styles for the 'prediction.html' page */
/*----------------------------------------------------*/

.match-info-box {
    background-color: rgba(46, 55, 62, 0.8);
    border-radius: 15px;
    padding: 15px 20px;
    margin-bottom: 25px;
    width: 95%;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    color: #fff;
}

    .match-info-box p {
        margin: 5px 0;
        font-size: 1rem;
        color: #ccc;
    }

.Day-info-box {
    /* background-color: rgba(46, 55, 62, 0.8); */
    border-radius: 15px;
/*    padding: 15px 20px;
    margin-bottom: 25px;*/
    width: 95%;
    max-width: 500px;
    text-align: center;
    /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4); */
    color: #fff;
}

    .Day-info-box p {
        margin: 5px 0;
        font-size: 16px !important;
        color: #FFFFFF;
        text-transform: uppercase;
        line-height: 28px;
    }

.score-prediction-section {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 95%;
    max-width: 500px;
    /* background-color: rgba(0, 0, 0, 0.3); */
    border-radius: 15px;
/*    padding: 20px 10px;*/
    margin-bottom: 25px;
    /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4); */
    color: #fff;
}

.team-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 30%;
}

    .team-block img.team-logo {
        width: 90px;
        height: 90px;
        border-radius: 50%;
        object-fit: contain;
        background-color: #fff;
        padding: 3px;
        margin-bottom: 8px;
    }

    .team-block .team-name {
        font-size: 1.1rem;
        font-weight: bold;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
.team-block-empty {
    min-height: 115px
}

.vs-text {
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
    margin: 0 10px;
}

.vs-container {
    font-size: 10em;
    color: red;
    font-weight: bold;
    text-shadow: 2px 2px 0 black, -2px -2px 0 black, 2px -2px 0 black, -2px 2px 0 black;
}
/* Prediction Options Wrapper */
.prediction-options-wrapper {
    width: 95%;
    max-width: 500px;
    /* background-color: rgba(0, 0, 0, 0.3); */
    border-radius: 15px;
    padding: 10px 0px;
    /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4); */
    margin-bottom: 20px;
    text-align: center;
}
.prediction-options-search {
/*    width: 95%;*/
    max-width: 500px;
    border-radius: 15px;
/*    padding: 10px 0px;
    margin-bottom: 20px;*/
    text-align: center;
}
 {
    width: 95%;
    max-width: 500px;
    /* background-color: rgba(0, 0, 0, 0.3); */
    border-radius: 15px;
    padding: 10px 0px;
    /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4); */
    margin-bottom: 20px;
    text-align: center;
}


    .prediction-options-wrapper .label {
        font-size: 1.2rem;
        font-weight: bold;
        margin-bottom: 10px;
        display: block;
        color: #fff;
    }

/* Container for the options and the line */
.options-line-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding: 0 10px;
}

.option-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    position: relative;
    z-index: 2; /* To be above the line */
    width: 25%;
}





/* The horizontal line */
.options-line-container .line {
    height: 2px;
    background-color: #fff;
    position: absolute;
    top: 50%;
    left: 21%;
    right: 21%;
    z-index: 1;
    transform: translateY(-50%);
}

.options-line-container .end-icon {
    width: 50px;
    height: 50px;
    background-color: #c0392b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

    .options-line-container .end-icon i {
        color: #fff;
        font-size: 1.5rem;
    }

/* Action Buttons */
.action-buttons {
    width: 95%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
    margin-bottom: 20px;
}

    .action-buttons button {
/*        background-color: #e67e22;*/
        color: #fff;
        border: none;
        border-radius: 10px;
        padding: 15px 20px;
        font-size: 1.2rem;
        font-weight: bold;
        cursor: pointer;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
        transition: background-color 0.2s ease;
    }

/*        .action-buttons button.submit-prediction {
            background-color: #4CAF50;
        }
*/
/*        .action-buttons button:hover {
            opacity: 0.9;
        }
*/
    .action-buttons a {
        color: #fff;
        font-size: 1.2rem;
        font-weight: bold;
        cursor: pointer;
    }

    .action-buttons .submit-prediction {
        background-color: #3B9700;
        min-width:360px !important;
    }

/*        .action-buttons a:hover {
            opacity: 0.9;
        }*/

.bottom-background {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    border-top-left-radius: 50%;
    border-top-right-radius: 50%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 0;
}

    .bottom-background::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('your-brown-texture.jpg');
        background-size: cover;
        background-repeat: no-repeat;
        z-index: -1;
    }

.product-image {
    width: 150px;
    height: auto;
    position: relative;
    z-index: 10;
    transform: translateY(-20px);
}






/* Custom Styles for team-formation.html */

.team-tabs {
    width: 95%;
    max-width: 500px;
    /*    background-color: rgba(30, 30, 30, 0.9);*/
    border-radius: 15px;
    padding: 5px;
    flex-direction: row;
    gap: 10px;
}

.tab-item {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
    color: #fff;
/*    background: #465041;*/
    border-radius: 4px;
    background-color: rgba(30, 30, 30, 0.9);
}

    .tab-item.active {
        background-color: #465041;
        font-weight: bold;
    }

    .tab-item img.team-logo-small {
        width: 25px;
        height: 25px;
        border-radius: 50%;
        margin-left: 5px;
    }

.football-pitch {
    position: relative;
    width: 100%;
    max-width: 448px;
    /*min-height: 70vh;*/
    /* This is a crucial step to maintain aspect ratio and prevent distortion */
    /*padding: 60%;*/ /* Adjust this value to match your image aspect ratio */
    background-image: url('/Images/football-pitch.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
/*    border-radius: 15px;*/
    /*    width: 448px;*/
    height: 660px;
}

.pitch-image {
    display: none; /* Hide the img tag as we use background-image */
}

.player-marker {
    position: absolute;
    max-width: auto;
    height: auto;
    /*background-color: #3f51b5;  A blue color for the player shirt */
    border-radius: 5px;
    /*    border: 2px solid #fff;*/
    display: flex;
    flex-direction:column;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #fff;
    cursor: pointer; /* Add this to show it's clickable */
    /*transition: transform 0.2s ease;*/
    /* Temporary placement for players on the field */
    /* These values should be adjusted to match the actual player formation */
}
    .player-marker:hover {
        transform: translateX(-50%) scale(1.05); /* Optional hover effect */
    }
    .player-marker .player-name {
        text-align:center;
        max-width:40px;
        /*        margin-top: 73px;*/
        font-size:small;
        /* Other font styles as needed */
    }
/* Example player positions */
.player {
 
    transform: translateX(-50%);
}
.player1 {
    top: 10%;
    left: 50%;
  transform: translateX(-50%);
}

.player2 {
    top: 30%;
    left: 20%;
/*    transform: translateX(-50%);*/
}

.player3 {
    top: 30%;
    left: 80%;
/*    transform: translateX(-50%);*/
}

.player4 {
    top: 50%;
    left: 10%;
    transform: translateX(-50%);
}

.player5 {
    top: 50%;
    left: 50%;
    transform: translateX(-50%);
}

.player6 {
    top: 50%;
    left: 90%;
    transform: translateX(-50%);
}

.player7 {
    top: 70%;
    left: 35%;
    transform: translateX(-50%);
}

.player8 {
    top: 70%;
    left: 65%;
    transform: translateX(-50%);
}

.player9 {
    top: 85%;
    left: 20%;
    transform: translateX(-50%);
}

.player10 {
    top: 85%;
    left: 50%;
    transform: translateX(-50%);
}

.player11 {
    top: 85%;
    left: 80%;
    transform: translateX(-50%);
}
.save-button-wrapper{
    max-width:500px;
}
.btn-save {
    background-color: #465041; /* Brown color from the original design */
    color: #fff;
    border: 1px solid #000000;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: bold;
    transition: background-color 0.2s ease;
    justify-content: center;
    align-items: center;
    padding: 8px;
    height: 56px;
}

    .btn-save:hover {
        background-color: red;
    }


/* Styles for player selection buttons */
.player-select-btn {
    width: 100px;
    background-color: #6d4c41;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s;
}

    .player-select-btn:hover {
        background-color: #5d3e35;
    }

/* Modal styles (optional, can be customized) */
.modal-content {
    border-radius: 15px;
}

.modal-header, .modal-footer {
    border-color: #444;
}

.list-group-item:hover {
    background-color: #555 !important;
    cursor: pointer;
}


.form-select {
    width: 100%;
    max-width: 500px;
    margin: auto;
    border: 1px solid #444;
    border-radius: 10px;
    padding: 10px;
    font-size: 16px;
    cursor: pointer;
}

    .form-select:focus {
        box-shadow: none;
        border-color: #6d4c41;
    }

.formation-selection-wrapper {
/*    background-color: #2a2a2a;*/
    border-radius: 10px;
    padding: 10px;
    margin-top: 15px;
    width:100%

}

/* Custom CSS for the Splash Page */

/* Main container with the background image */
.splash-container {
    /* Use 'absolute' positioning to ensure it covers the entire viewport */
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Align content to the top */
    align-items: center;
    color: white;
    text-align: center;
    padding-top: 25vh; /* Adjust space from the top for the logo */
    /* Set the background image to the full screen */
    background-image: url('/Images/splashbg.png'); /* Adjust path to your image */
    background-size: cover;
    background-position: center bottom; /* Focus on the ball at the bottom */
    background-repeat: no-repeat;
    /* Ensure it is on top of other content if necessary */
    z-index: 1000;
}

    /* Optional: Add a subtle overlay to improve readability */
    .splash-container::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.1); /* Black overlay with 10% opacity */
        z-index: 1;
    }

/* Styling for the logo */
.logo-wrapper {
    position: relative;
    z-index: 2;
    margin-bottom: 10%;
    animation: fadeIn 2s ease-in-out;
}

.app-logo {
    width: 250px; /* Adjust size as needed for a prominent display */
    height: auto;
}

/* Fade-in animation for the logo */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsiveness adjustments for smaller screens */
@media (max-width: 600px) {
    .app-logo {
        width: 200px; /* Smaller logo for mobile */
    }

    .logo-wrapper {
        margin-bottom: 40%;
    }

    .content-wrapper-login {
/*        margin-top:-28px;*/
    }
 
}
@media (max-width: 400px) {


    .options-line-container .line {
        left: 21% !important;
        right: 21% !important;
    }
}


/* New Styles based on Figma analysis */

/* General Body and Main Container Styling */
/* This will go in your main CSS file that you sent before */


.main-container-login {
    min-height: 100vh;
    display: flex;
    align-items:center;
    flex-direction: column;
    /*background: #1C2818;*/
    /* Set the background image to the full screen */
    background-image: url('/Images/splashbg.png'); /* Adjust path to your image */
    background-size: cover;
    background-position: center bottom; /* Focus on the ball at the bottom */
    background-repeat: no-repeat;
    /* Ensure it is on top of other content if necessary */
    z-index: 1000;
    /* The dark background color from Figma */
    /* Other background styles remain as in your original file if needed */
}


/* Top Section with Fans Image */
.top-section-bg {
    position: relative;
    width: 100%;
    height: 40vh; /* Responsive height */
    /* The fans photo with opacity */
    background-image: url('/Images/fans.png'); /* Your fans image path */
    background-size: 500px;
    background-position: center;
    background-repeat: no-repeat;
}

.top-section-overlay {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #152B16 15.36%, rgba(21, 47, 22, 0) 100%);
    opacity: 0.9;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-logo-small {
    /* The logo and its position from Figma */
/*    width: 150px;*/
    position: absolute;
    top: 20%; /* Adjust to match the vertical position in Figma */
    left: 50%;
    transform: translateX(-50%);
}

/* Login/Content Box Styling */
.content-wrapper-login {
    flex-grow: 1;
    display: flex;
    align-items:center;
    flex-direction: column;
    align-items: center;
    width: 100%;
    position: relative; /* Needed for the football image position */
    z-index: 1; /* To place it above the football background */
  
}

    /* The football background that covers the lower half */
    .content-wrapper-login::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 60%; /* Adjust to cover the lower section */
/*        background-image: url('/Images/splashbg.png');
        background-size: cover;
        background-position: center bottom;
        z-index: -1;*/
        opacity: 1; /* Match Figma's opacity if needed */
    }

.login-box {
    width: 100%;
    max-width: 500px;
/*    margin: 20px auto;
    padding: 20px;*/
    text-align: center;
    position: relative; /* To be on top of the football background */
    z-index: 2;
}

/* The green question box from Figma */
.question-title {
    color: #FFFFFF;
    font-size: 16px;
    line-height: 81px;
    font-weight: 700;
    background: #3B9700;
    border: 2px solid #FFFFFF;
    box-shadow: 0px 10px 4px rgba(0, 0, 0, 0.25);
/*    border-radius: 10px;*/
    padding: 8px;
}
.question-title-yellow {
    color: #222232;
    font-size: 16px;
    line-height: 81px;
    font-weight: 700;
    background: #F7B815;
    border: 2px solid #FFFFFF;
    box-shadow: 0px 10px 4px rgba(0, 0, 0, 0.25);
    /*    border-radius: 10px;*/
    padding: 8px;
}
/* The answer options from Figma */
.answer-option {
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px;
    margin-right: 6%;
    gap: 10px;
    width: 88%;
    height: 56px;
    background: #1B1D19;
    border: 2px solid #177906;
    box-shadow: 0px 5px 4.7px rgba(0, 0, 0, 0.35);
    border-radius: 8px;
    color: #FFFFFF;
    font-weight: 700;
    font-size: 16px;
    line-height: 28px;
    margin-top: 12px;
    cursor: pointer;
    opacity: 0.5;
}
.answer-option-black {
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px;
    margin-right: 6%;
    gap: 10px;
    width: 88%;
    height: 56px;
    background: #191C17;
    border: 2px solid #5AB71F;
    box-shadow: 0px 5px 4.7px rgba(0, 0, 0, 0.35);
    border-radius: 8px;
    color: #FFFFFF;
    font-weight: 700;
    font-size: 16px;
    line-height: 28px;
    margin-top: 12px;
    cursor: pointer;
    /*    opacity: 0.5;*/
}
.answer-option-error {
    border: 2px solid #FF001A !important;
    /*    opacity: 0.5;*/
}
.answer-option-correct {
    background: #5AB71F !important;
}
.answer-option:hover {
    opacity: 0.9;
}

/* Phone input field from Figma */
.phone-input-wrapper {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    padding: 10px 22px 10px 20px;
    gap: 25px;
    width: 90%;
    max-width: 500px;
    background: #191C17;
    border: 2px solid #F7B815;
    border-radius: 70px;
    position: relative;
    z-index: 2;
    margin-left:10%;
}

.phone-input {
/*    background: transparent;*/
/*    border: none;*/
    color: #FFFFFF;
    font-size: 14px;
    text-align: right;
    direction: ltr;
    flex-grow: 1;
}
    input.phone-input:focus {
        border-color: #F7B815 !important;
        /* Add your styles here */
    }
    .password-input {
        background: transparent;
        border: none;
        color: #FFFFFF;
        font-size: 14px;
        text-align: right;
        direction: ltr;
        flex-grow: 1;
    }

    .phone-input::placeholder {
        color: #FFFFFF;
        opacity: 0.6;
    }

    .box-phone-number{
        margin:60px auto;
    }
.box-password {
    margin: 0px 20px 10px 20px;
    height: 315px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.box-password-select {
    margin: 0px 20px 10px 20px;
    height: 315px;
    display: flex;
    flex-direction: column;
    justify-content: start;
}
.phone-label-box {
    color: #FFFFFF;
    text-align: right;
    margin-right: 4%;
    margin-bottom: 10px;
}
.password-label-box {
    color: #FFFFFF;
    text-align: right;
    margin-right: 4%;
    margin-bottom: 10px;
}

/* The Start Button from Figma */
.start-button-wrapper-login {
    position: absolute;
    bottom: 0;
    left: 10px;
    width: 30%;
    display: flex;
    justify-content: left;
    padding-bottom: 20px;
    z-index: 3;
    /*  .error-login .start-button-wrapper-login  right:165px*/
}
.error-login {
    bottom: 25px !important;
}

.start-button-login {
    box-sizing: border-box;
    position: relative;
    width: 122px;
    height: 122px;
    background: #FF001A;
    border: 3px solid #F7B815;
    border-radius: 50%;
    font-weight: 700;
    font-size: 16px;
    line-height: 28px;
    color: #FFFFFF;
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0px 5px 4.7px rgba(0, 0, 0, 0.35);
}

    .start-button-login:hover {
        transform: scale(1.05);
    }





/* Styles for Password Input Page */

/* Main content wrapper adjustments */
.content-wrapper-password {
    flex-grow: 1;
    margin-top: -35px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 1;
    max-width: 500px;
    border-radius: 35px 35px 0px 0px;
    background-color: #1C2818; /* The dark background color from the design */
}

/* Football image styling */
.football-image {
    width: 120px; /* Adjust size as needed */
    height: auto;
    margin-top: -60px; /* Pull it up to overlap with the top section */
    position: relative;
    z-index: 2;
}

/* Login title styling */
.login-title {
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 20px;
    height:56px;
}
.login-title-password {
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
    height: 56px;
}
/* Password input styling */
.password-input-wrapper {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    padding: 10px 22px 10px 20px;
    gap: 15px; /* Spacing between input and icon */
    width: 100%;
    max-width: 500px;
    background: #191C17; /* Dark background */
    border: 2px solid #F7B815; /* Yellow border */
    border-radius: 70px;
    position: relative;
}

.password-input {
    background: transparent;
    border: none;
    color: #FFFFFF;
    font-size: 1rem;
    text-align: right;
    direction: ltr; /* Ensure text is LTR for passwords */
    flex-grow: 1;
    outline: none;
    height:56px
}

    .password-input::placeholder {
        color: #FFFFFF;
        opacity: 0.6;
        text-align: right;
    }

.lock-icon {
    width: 20px;
    height: 20px;
    color:white;
}
.start-button-wrapper-password {
    width: 100%;
    max-width: 500px;
    text-align: center;
    position: relative;
    z-index: 2;
    margin-top:100px;
}
.start-button-wrapper-select {
    width: 100%;
    max-width: 500px;
    text-align: center;
    position: relative;
    z-index: 2;
    margin-top:20px
}
.start-button-password {
    background: #FF001A;
    border-radius: 10px;
    color: #ffffff;
    height: 56px;
    padding: 8px;
    width:100%
}
.start-button-select-old {
    background: #F7B815;
    border-radius: 10px;
    color: #ffffff;
    height: 56px;
    padding: 8px;
    width: 100%
}
.start-button-select-new {
    background: #FF001A;
    border-radius: 10px;
    color: #ffffff;
    height: 56px;
    padding: 8px;
    width: 100%
}
/* Custom CSS for Prediction League App */

/* ... (كود CSS الموجود لديك) ... */

/* Styles for Confirm OTP Page */
.otp-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* justify-content: flex-start; */
    min-height: 100vh;
    padding-top: 50px;
    /* padding-bottom: 20px; */
    /* position: relative; */
    z-index: 1;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url(/Images/Football2.png) no-repeat center / cover;
}

.otp-logo-wrapper {
    margin-bottom: 30px; /* مسافة تحت الشعار */
}

.otp-logo {
/*    width: 180px; 
    height: auto;*/
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.5)); /* ظل خفيف ليبرز */
}

.otp-title {
    color: white;
    font-size: 1.8rem; /* حجم مناسب للعناوين */
    font-weight: bold;
    margin-bottom: 40px; /* مسافة تحت العنوان */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7); /* ظل للنص ليبرز */
}

.otp-inputs {
    direction : ltr;
    display: flex;
    gap: 15px; /* مسافة بين المربعات */
    margin-bottom: 30px; /* مسافة تحت حقول الإدخال */
}

.otp-input {
    width: 60px; /* عرض المربع */
    height: 60px; /* ارتفاع المربع */
    text-align: center;
    font-size: 1.8rem;
    font-weight: bold;
    color: white; /* لون النص المدخل */
    background-color: rgba(0, 0, 0, 0.5); /* خلفية نصف شفافة */
    border: 2px solid #FFC107; /* حدود بلون ذهبي/أصفر */
    border-radius: 15px; /* زوايا دائرية */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* ظل للمربع */
    outline: none; /* إزالة الخط الأزرق عند التركيز */
    transition: all 0.2s ease-in-out; /* تأثير انتقال */
    -webkit-appearance: none; /* لإزالة الأنماط الافتراضية للمتصفح */
    -moz-appearance: textfield; /* لإزالة الأنماط الافتراضية للمتصفح */
}

    .otp-input:focus {
        border-color: #E67E22; /* لون الحدود عند التركيز */
        box-shadow: 0 0 15px rgba(230, 126, 34, 0.7); /* ظل أقوى عند التركيز */
    }
    /* لتغيير لون النص المدخل إلى نقطة سوداء كما في الصورة (يتطلب HTML: type="password") */
    /* إذا أردت أن تكون كالنقطة، ستحتاج لتغيير type="text" إلى type="password" في HTML لكل input */
    /* أو استخدام JavaScript لتغيير القيمة المعروضة */
    .otp-input[type="password"] {
        font-family: "text-security-disc"; /* استخدام خط مخصص لإظهار نقطة */
        -webkit-text-security: disc; /* لمتصفحات الويب كيت */
    }

.resend-wrapper {
    margin-bottom: 50px; /* مسافة تحت الرابط */
}

.resend-link {
    color: white;
    text-decoration: none; /* إزالة الخط السفلي */
    font-size: 1.1rem;
    transition: color 0.2s ease;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

    .resend-link:hover {
        color: #FFC107; /* تغيير اللون عند المرور فوقه */
    }

.otp-ball-wrapper {
    position: absolute; /* لكي تظل في مكانها بالنسبة لـ otp-container */
    bottom: 0;
    left: 50%;
    transform: translateX(-50%); /* لتوسيط الكرة أفقياً */
    z-index: 0; /* لكي تكون تحت زر "استمرار" */
    width: 200px; /* حجم الكرة */
    height: auto;
    /* ربما ستحتاج لضبط الـ bottom قليلاً لتبدو وكأنها على العشب */
    /* bottom: -30px; */ /* مثال، قد تحتاج لتعديله */
}

.otp-ball {
    width: 100%; /* اجعل الكرة تملأ حجم الـ wrapper */
    height: auto;
}

.otp-button-wrapper {
    width: 90%; /* عرض الزر */
    max-width: 400px; /* أقصى عرض له */
    margin-top: auto; /* ليدفع الزر للأسفل بقدر الإمكان */
    z-index: 10; /* لكي يكون فوق الكرة */
    margin-bottom:20px;

}

.otp-submit-btn {
    width: 100%;
    padding: 18px 25px; /* مسافات داخلية للزر */
    background-color: #E53935; /* اللون الأحمر */
    color: white;
    border: none;
    border-radius: 10px; /* زوايا دائرية */
    font-size: 1.4rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(229, 57, 53, 0.6); /* ظل للزر */
    transition: background-color 0.2s ease, transform 0.2s ease;
}

    .otp-submit-btn:hover {
        background-color: #C62828; /* لون أغمق عند المرور */
        transform: translateY(-2px); /* تأثير رفع خفيف */
    }





/* Custom Styles for the Profile Registration Page */

.profile-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* justify-content: flex-start; */
    min-height: 100vh;
    padding-top: 50px;
    /* padding-bottom: 20px; */
    /* position: relative; */
    z-index: 1;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url(/Images/Football2.png) no-repeat center / cover;
}
.content-wrapper-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 95%;
    max-width: 500px;
    padding: 20px;
    margin: 0 auto;
    background-color: transparent;
}

.profile-title {
    color: white;
    font-size: 1.8rem;
    font-weight: bold;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    margin-top: 25px;
    line-height: 24px;
}

.profile-picture-container {
    position: relative;
    width: 120px;
    height: 120px;
    margin-bottom: 25px;
}

.profile-picture {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: rgba(255, 0, 0, 0.2);
    border: 3px solid #ff0000;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff0000;
    font-size: 3rem;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.5);
}

.upload-btn {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #ff0000;
    border: 2px solid white;
    color: white;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.input-field-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 15px;
}

.profile-input {
    width: 100%;
    padding: 15px 20px;
    border-radius: 30px;
    background-color: rgba(0, 0, 0, 0.6);
    border: 2px solid #ffc107;
    color: white;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    transition: all 0.2s ease;
    text-align: right; /* Align text to the right for RTL support */
}

    .profile-input::placeholder {
        color: rgba(255, 255, 255, 0.7);
    }

    .profile-input:focus {
        outline: none;
        border-color: #e67e22;
        background-color: rgba(0, 0, 0, 0.7);
    }

    /* Specific styling for the date input and placeholder */
    .profile-input[type="date"] {
        direction: rtl; /* To correctly position the date placeholder in Arabic */
    }

        .profile-input[type="date"]::-webkit-calendar-picker-indicator {
            filter: invert(1); /* Change icon color to white */
        }

        .profile-input[type="date"]:invalid::-webkit-input-placeholder {
            color: rgba(255, 255, 255, 0.7); /* Fix placeholder color issue */
        }

.input-icon {
    position: absolute;
    left: 20px; /* Position icon on the left */
    top: 67%;
    transform: translateY(-50%);
/*    color: #ffc107;*/
    font-size: 1.1rem;
}
.input-icon-error {
    top: 50% !important;
}

.gender-selection-wrapper {
    display: flex;
    gap: 15px;
    width: 100%;
    margin-top: 10px;
    margin-bottom: 20px;
    direction: rtl;
}

.gender-btn {
    flex-grow: 1;
    padding: 15px;
    border: none;
    font-size: 1.2rem;
    font-weight: bold;
    width: 144px;
    height: 56px;
    color:white;
    cursor: pointer;
    background: #FF001A;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: background-color 0.2s ease, opacity 0.2s ease;
}

.male-btn {
    /*background-color: #f8f9fa;*/ /* لون رمادي فاتح */
    /*color: #333;*/
}

    .male-btn.active {
        /* new light */
        background: #191C17;
        /* red */
        border: 2px solid #FF001A;
        border-radius: 50px;
    }

.female-btn {
    /*background-color: #e53935;*/ /* أحمر */
    /*color: white;*/
}

    .female-btn.active {
        /* new light */
        background: #191C17;
        /* red */
        border: 2px solid #FF001A;
        border-radius: 50px;
    }

.terms-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    width:100%;
    color:white;
    align-self: flex-end; /* Align to the right side of the container */
    direction: rtl; /* Align text and checkbox to the right */
}

    .terms-checkbox .form-check-input {
        width: 20px;
        height: 20px;
        border: 2px solid #ccc;
        background-color: transparent;
        cursor: pointer;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        border-radius: 5px;
    }

        .terms-checkbox .form-check-input:checked {
            background-color: #e53935; /* أحمر عند الاختيار */
            border-color: #e53935;
        }

.register-button-wrapper {
    width: 100%;
}

.register-btn {
    width: 100%;
    padding: 15px 20px;
    border: none;
    border-radius: 10px;
    background-color: #e53935; /* أحمر */
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: opacity 0.2s ease;
}

    .register-btn:hover {
        opacity: 0.9;
    }


/* Custom Styles for the Club Selection Page */
.main-container-clubs {
    min-height: 100vh;
    display: flex;
    align-items: center;
    flex-direction: column;
    /*background: #1C2818;*/
    /* Set the background image to the full screen */
    /*background-image: url('/Images/Football2.png');*/ /* Adjust path to your image */
    /*background-size: cover;
    background-position: center bottom;*/ /* Focus on the ball at the bottom */
    /*background-repeat: no-repeat;*/
    /* Ensure it is on top of other content if necessary */
    z-index: 1000;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url(/Images/Football2.png) no-repeat center / cover;
    /* The dark background color from Figma */
    /* Other background styles remain as in your original file if needed */
}
.content-wrapper-clubs {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 95%;
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
}

.clubs-title {
    color: white;
    font-size: 1.8rem;
    font-weight: bold;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    margin-top: 25px;
}

.clubs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 أعمدة متساوية العرض */
    gap: 20px; /* مسافة بين العناصر */
    width: 100%;
    margin-bottom: 40px;
    margin-top: 40px;
}

.club-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

    .club-item:hover {
        transform: scale(1.05);
        opacity: 0.8;
    }

.club-logo-container {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5); /* خلفية داكنة للشعار */
    border: 3px solid transparent; /* إطار شفاف افتراضي */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: border-color 0.2s ease;
}

.club-item.selected .club-logo-container {
    border-color: red; /* إطار أحمر عند الاختيار */
}

.club-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: contain;
}

.club-name {
    margin-top: 10px;
    color: white;
    font-size: 1rem;
    font-weight: bold;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.Club-button-wrapper {
    width: 100%;
    /* No need to define styles here, as they are already in global.css */
}

.club-btn {
    width: 100%;
    padding: 15px 20px;
    border: none;
    border-radius: 10px;
    background-color: #e53935; /* أحمر */
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    .clubs-grid transition: opacity 0.2s ease;
}

    .club-btn:hover {
        opacity: 0.9;
    }

/* New CSS for home.html page */

/* Profile Header Section */

.main-container-profile {
    min-height: 100vh;
    display: flex;
    align-items: center;
    flex-direction: column;
    /*background: #1C2818;*/
    /* Set the background image to the full screen */
    background-image: url('/Images/stadium-bg.png'); /* Adjust path to your image */
    background-size: cover;
    background-position: center bottom; /* Focus on the ball at the bottom */
    background-repeat: no-repeat;
    /* Ensure it is on top of other content if necessary */
    z-index: 1000;
    /* The dark background color from Figma */
    /* Other background styles remain as in your original file if needed */
}
.content-wrapper-main-profile {
    flex-grow: 1; /* Allows it to take up available vertical space */
    display: flex;
    flex-direction: column;
    align-items: center; /* Center horizontally for internal elements if they are not full width */
    width: 100%; /* Default full width for mobile */
}
.profile-header {
    background-image: url('/Images/Imageprofile-bg.png'); /* Adjust path to your image */
    background-size: cover;
    background-position: center bottom; /* Focus on the ball at the bottom */
    background-repeat: no-repeat;
/*    border-radius: 20px;*/
    width: 100%; /* Adjust width to match the design */
    max-width: 410px;
/*    margin-top: 20px !important;
    padding: 20px !important;*/
}

.profile-photo-wrapper {
    width: 150px;
    height: 150px;
    border: 5px solid red;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.club-logo {
    width: 40px;
    height: 40px;
    bottom: 5px;
    right: 5px;
    border: 2px solid white;
    border-radius: 50%;
    background-color: #fff;
    padding: 2px;
}

.user-name {
    color: #fff;
    font-weight: bold;
    margin-top: 10px;
}

.stats-wrapper {
    /*    background-color: rgba(0, 0, 0, 0.4);*/
    border-radius: 10px;
    padding: 10px 10px 24px 2rem;
}

.stat-item {
    padding: 40px 15px;
}

.stat-label {
    font-size: 0.9rem;
    color: #fff !important;
   
}

.stat-value {
    font-weight: bold;
}

/* Main Menu Buttons */
.main-menu {
    margin-top: 20px !important;
}

.menu-button {
    width: 80%;
    max-width: 500px;
    margin-right:10%;
    margin-left:10%;
    margin-bottom:50px;
    background-color: rgba(30, 30, 30, 0.9);
    color: white;
    text-decoration: none;
    padding: 20px;
    border-radius: 15px;
    font-size: 1.2rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background-color 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    height: 72px;
    /* New Dark */
    background: #1B1D19;
    /* new Lighter */
    border-width: 3px 0px 3px 3px;
    border-style: solid;
    border-color: #465041;
    border-radius: 10px 0px 0px 10px;
    border-right: 8px solid red;
}

    .menu-button:hover {
        background-color: rgba(50, 50, 50, 0.9);
    }

    .menu-button .button-content {
        width: 100%;
    }

        .menu-button .button-content i {
            font-size: 1.5rem;
            color: #fff;
            order: 2; /* Move the icon to the left for RTL */
        }

        .menu-button .button-content span {
            order: 1; /* Move the text to the right for RTL */
            margin-right:40%
        }

/* Bottom Navigation Bar */
.bottom-navbar {
    /*    background-color: rgba(30, 30, 30, 0.9);*/
    /*    border-top-left-radius: 25px;
    border-top-right-radius: 25px;*/
    align-items: center;
    /*    position: fixed;*/
    margin-bottom: 20px;
    left: 0;
    z-index: 10;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    /*    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.3);*/
}

.nav-icon {
    /* Group 1000001896 */
    text-align:center;
    align-items:center;
    width: 70px;
    height: 70px;
    /* Inside auto layout */
    align-items:center;
    color: #fff;
    font-size: 1.8rem;
    margin: 0px 0px;
    border-radius: 50%;
    transition: background-color 0.2s ease, transform 0.2s ease;
    background-color: red;
    transform: translateY(-5px);
/*    box-shadow: 0 -5px 15px rgba(255, 0, 0, 0.5);*/
}

    .nav-icon.active {
        /*        background-color: red;
        transform: translateY(-5px);
        box-shadow: 0 -5px 15px rgba(255, 0, 0, 0.5);*/
        border: 5px solid white;
    }

    .nav-icon:hover:not(.active) {
/*        background-color: rgba(255, 255, 255, 0.1);*/
        border: 5px solid white;
    }
    .nav-icon i{
        padding:20px 0px;
    }
    /* General fixes */
    .main-container-profile .main-menu {
        margin-top: 20px !important; /* Override any previous margins */
    }
.main-menu-image {
    position: absolute;
    width: 100px;
    height: 100px;
    margin-right: -6px;
    margin-bottom: 40px;
}
/*Error massages*/
.input-error {
    border-color: #dc3545 !important;
/*    border-radius: 6px;
    box-shadow: 0 0 5px rgba(220, 53, 69, 0.5);*/
    animation: shake 0.3s ease-in-out;
}

@keyframes shake {
    0% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-4px);
    }

    50% {
        transform: translateX(4px);
    }

    75% {
        transform: translateX(-4px);
    }

    100% {
        transform: translateX(0);
    }
}
label.error {
    color: #dc3545;
    font-size: 0.9rem;
    margin-top: 5px;
    text-align: start;
    margin-right: 4%;
    display: block;
}
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    /* يجب استخدام display: flex; لتفعيل justify-content و align-items */
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader-logo {
    width: 100px;
    height: auto;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
.vertical-line {
    z-index: 0;
    /*    width: 2px;*/
    /*    background-color: white;*/
    position: absolute;
    height: 30%;
    top: 25%;
    border: 4px solid #FF001A;
}


.matches-container a {
    text-decoration: auto !important;
    width: 100%;
    border: 2px solid #465041;
    border-radius: 8px;
}
.start-Container-line {
    position: relative;
    /* width: 200px; */
    /* height: 400px; */
    /* margin: 50px auto; */

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}
.MatchsForm
{
    width:100%;
}
.previousMatch {
    background: #FF001A;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}
.futureMatch {
    background: #FF001A;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}
.disabled-link {
    pointer-events: none; /* يمنع الضغط */
    text-decoration: none; /* يشيل الخط */
    cursor: wait; /* المؤشر عادي */
}

.main-container-teamFormation {
    min-height: 100vh;
    display: flex;
    flex-direction: column;

    position: relative;

    background-color: #1C2818;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
  
}
.search-teamFormation {
    width: 100%;
    text-align :center;
    display: contents;
}
#playerlist{
    padding-left:inherit !important;
}
.NotPredictedNotStarted {
    background-color: #F7B815 !important;
}
.NotPredictedFinshed {
    background-color: #252722 !important;
}



.main-container-who {

    display: flex;
    flex-direction: column;
 
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
   

    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url(/Images/WhoIamBG.png);

    background-size: cover;
    background-repeat: no-repeat;

    z-index: -1;
}
.content-wrapper-who {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
 
    content: '';
    position: absolute;
    top: 0;
    left: 0;
 
   
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url(/Images/WhoIamBG.png);
    background-size: cover;
    background-repeat: no-repeat;
    z-index: -1;
    flex-grow: 1; /* Allows it to take up available vertical space */

 
    align-items: center; /* Center horizontally for internal elements if they are not full width */
    width: 100%; /* Default full width for mobile */
}



.whoIam-box {
    /*    background-color: rgba(128, 128, 128, 0.5);*/
    padding: 10px 20px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    text-align: center;
}

.whoIam-box span {
    white-space: nowrap;
}

    .whoIam-box img {
        width: 80px;
        height: 80px
    }

.trails {
    width: 100%;
    display: flex;
    flex-direction: row;
/*    justify-content: center;*/
    text-align: center;
    max-width:500px;
}
.remain {
    font-weight: 400;
    font-size: 12px;
    line-height: 23px;
    /* identical to box height, or 192% */
    text-align: center;
    letter-spacing: 0.3px;
    color: #FFFFFF;
}
.trails-right {
    width:50%
}
.trails-left {
    width: 45%
}
.formPlayer {
    width: 100%;
    max-width: 500px;
    min-height: 45vh;
}
#scoreDisplay
{
    color:#fff
}
/*question and answer*/

.main-container-questionAndanswer {
    display: flex;
    flex-direction: column;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url(/Images/Question_bg.png);
    background-size: cover;
    background-repeat: no-repeat;
    z-index: -1;
}

.content-wrapper-questionAndanswer {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url(/Images/Question_bg.png);
    background-size: cover;
    background-repeat: no-repeat;
    z-index: -1;
    flex-grow: 1; /* Allows it to take up available vertical space */


    align-items: center; /* Center horizontally for internal elements if they are not full width */
    width: 100%; /* Default full width for mobile */
}
.content-wrapper-questionAndanswer-section1 {
    display: flex;
    flex-direction: column;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url(/Images/Question-mark.png);
    background-size: cover;
    background-repeat: no-repeat;
    align-items: center; /* Center horizontally for internal elements if they are not full width */
    width: 100%; /* Default full width for mobile */
}
.content-wrapper-questionAndanswer-section2 {
    display: flex;
    flex-direction: column;
    /*    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url(/Images/Question_bg.png);
    background-size: cover;
    background-repeat: no-repeat;*/

    flex-grow: 3;
    align-items: center; /* Center horizontally for internal elements if they are not full width */
    width: 100%; /* Default full width for mobile */
}
.bg-imag-place {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url(/Images/stadium-bg.png) !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
}


.questionAndanswer-box {
    /*    background-color: rgba(128, 128, 128, 0.5);*/
    padding: 10px 20px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    text-align: center;
}

    .questionAndanswer-box span {
        white-space: nowrap;
    }

    .questionAndanswer-box img {
        width: 80px;
        height: 80px
    }

/* Attempts (Red Dots) */
.attempts {
    display: flex;
    justify-content: center;
    gap: 8px; /* Reduced gap */
    margin-top: 10px;
    margin-bottom: 8px;
    min-width: 155px;
    height: 44px;
    background: #191C17;
    border: 2px solid #465041;
    border-radius: 9px;
}

    .attempts span {
        width: 20px; /* Smaller dots */
        height: 20px;
        margin-top: 10px;
        border-radius: 50%;
        display: inline-block;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
        transition: background-color 0.3s ease;
        border: 1px solid #FF001A;
    }


        .attempts span.used {
            background-color: #FF001A; /* Red Dots */
        }


.timer {
    position: relative;
    width: 150px;
    height: 150px;
    animation: pulse 1s infinite alternate;
}

/* الشرط حوالين الدايرة */
.segment {
    position: absolute;
    width: 4px;
    height: 18px;
    background: red;
    top: 0;
    left: 50%;
    transform-origin: center 70px; /* نصف القطر */
}

.segmentwhite {
    background: white !important;
}

.time {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: red;
}

    .time h1 {
        font-family: 'FontFacKit', sans-serif; /* هنا بيتطبق الخط */
        font-size: 40px;
        margin-top: 5px;
        margin-bottom: 5px;
    }

    .time span {
        font-family: 'FontFacKit', sans-serif; /* هنا بيتطبق الخط */
        font-size: 15px;
        display: block;
    }

@keyframes pulse {
    from {
        transform: scale(1);
        opacity: 1;
    }

    to {
        transform: scale(1.05);
        opacity: 0.9;
    }
}



/* Score Box */
.score-box {
    background: #191C17;
    display: inline-block;
    padding: 8px;
    margin-top: 10px;
    font-size: 1em;
    font-weight: bold;
    border-radius: 15px;
    border: 2px solid #465041;
    color: #F9AA33;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
    min-width: 155px;
    height: 44px;
}

/* Player Name Input & Confirm Button */
.player-name {
    /* كل الخصائص الموجودة ستبقى كما هي، سنعدل فقط الأبعاد والمسافات */
    margin-top: 15px;
    /*background-color: rgba(0, 0, 0, 0.4);
    padding: 8px;*/ /* قللنا الـ padding هنا عشان يصغر الـ input والزر */
    /*    border-radius: 20px;*/
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    /*gap: 8px;*/ /* قللنا الـ gap هنا لتقليل المسافة بين الـ input والزر */
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    /*    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);*/
    /*    border: 1px solid #3A4750;*/
}

    .player-name input {
        flex-grow: 1;
        margin: 0px 15px;
        padding: 8px; /* قللنا الـ padding للـ input نفسه */
        font-size: 0.85em; /* صغرنا حجم الخط قليلاً */
        background-color: #191C17;
        color: #fff;
        box-sizing: border-box;
        transition: all 0.3s ease;
        text-align: right;
        border: 2px solid #FFFFFF;
        border-radius: 70px;
        height: 56px;
    }

        .player-name input::placeholder {
            color: #FFFFFF;
            padding: 15px;
        }

        .player-name input.error {
        }

        .player-name input.Correct {
        }


.submit-answer-button {
    background-color: #F9AA33;
    color: #0E182A;
    border: none;
    padding: 8px 12px; /* قللنا الـ padding للزر */
    border-radius: 10px; /* قللنا الـ border-radius للزر */
    font-size: 0.85em; /* صغرنا حجم الخط قليلاً */
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

    .submit-answer-button:hover {
        background-color: #E89A22;
        transform: translateY(-2px) scale(1.02);
    }


    .submit-answer-button:active {
        transform: translateY(0);
    }

    .submit-answer-button:disabled {
        background-color: #616161;
        cursor: not-allowed;
        opacity: 0.7;
        box-shadow: none;
        transform: none;
    }

/* Player Info Boxes */
.player-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px; /* Reduced gap */
    margin-top: 15px;
}

.info-item {
    text-align: center;
}
/* Action Buttons (تخطي السؤال & خروج) */
.action-buttons-who {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 50px;
    padding: 0 10px;
    margin-top: 40px;
    bottom: 0;
    width: 95%;
    max-width: 500px;
}

    /* الزرار العادي جوه الـ div */
    .action-buttons-who a, .action-buttons-who form a {
        flex: 1; /* ياخدوا نفس الحجم */
        max-width: 150px; /* أقصى عرض */
        width: 100%; /* ياخد العرض بالكامل داخل الفورم */
        background-color: #E53935; /* لون الخلفية */
        color: white; /* لون النص */
        border: none; /* بدون حدود */
        padding: 10px 0;
        font-size: 0.9em;
        font-weight: bold;
        border-radius: 8px;
        cursor: pointer;
        transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5); /* ظل خفيف */
    }

        /* تأثير Hover */
        .action-buttons-who a:hover,
        .action-buttons-who form a:hover {
            background-color: #C62828;
            transform: translateY(-2px);
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
        }

        /* تأثير عند الضغط */
        .action-buttons-who a:active,
        .action-buttons-who form a:active {
            transform: translateY(0);
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
        }

    /* تأكيد إن الفورم بياخد تنسيق سليم داخل الـ flex */
    .action-buttons-who form {
        flex: 1;
        max-width: 150px;
        margin: 0;
    }

        /* تخصيص نص الزرين لو حبيت */
        .action-buttons-who a.skip-button,
        .action-buttons-who a.exit-button,
        .action-buttons-who form a {
            color: white;
        }


/*Question&answer*/

/* Action Buttons (تخطي السؤال & خروج) */
.action-buttons-Questionanswer {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding: 0 10px;
    bottom: 0;
    width: 95%;
    max-width: 500px;
}

    /* الزرار العادي جوه الـ div */
    .action-buttons-Questionanswer a, .action-buttons-Questionanswer form a {
        flex: 1; /* ياخدوا نفس الحجم */
        max-width: 150px; /* أقصى عرض */
        width: 100%; /* ياخد العرض بالكامل داخل الفورم */
        background-color: #E53935; /* لون الخلفية */
        color: white; /* لون النص */
        border: none; /* بدون حدود */
        padding: 10px 0;
        font-size: 0.9em;
        font-weight: bold;
        border-radius: 8px;
        cursor: pointer;
        transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5); /* ظل خفيف */
    }

        /* تأثير Hover */
        .action-buttons-Questionanswer a:hover,
        .action-buttons-Questionanswer form a:hover {
            background-color: #C62828;
            transform: translateY(-2px);
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
        }

        /* تأثير عند الضغط */
        .action-buttons-Questionanswer a:active,
        .action-buttons-Questionanswer form a:active {
            transform: translateY(0);
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
        }

    /* تأكيد إن الفورم بياخد تنسيق سليم داخل الـ flex */
    .action-buttons-Questionanswer form {
        flex: 1;
        max-width: 150px;
        margin: 0;
    }

        /* تخصيص نص الزرين لو حبيت */
        .action-buttons-Questionanswer a.skip-button,
        .action-buttons-Questionanswer a.exit-button,
        .action-buttons-Questionanswer form a {
            color: white;
        }


/* Game Message */
.game-message {
    margin-top: 20px;
    font-size: 1.1em;
    font-weight: bold;
    color: #F9AA33;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

    .game-message.success {
        color: #4CAF50;
    }

    .game-message.error {
        color: #E53935;
    }

/* Responsive adjustments - keep similar to previous */


.info-label {
    color: #FFFFFF;
    line-height: 23px;
    font-weight: 400;
    font-size: 12px;
}

.info-box-who {
    width: 60px;
    height: 60px;
    background: #222;
    margin: 0 auto;
    padding: 0px;
    text-align: right;
    line-height: 1.6;
    font-size: 0.95rem;
    border: 3px solid #ffff;
    border-radius: 50px;
    position: relative;
    justify-content: center;
}

    .info-box-who span {
        color: white;
        text-align: center;
        display: flex;
        padding: 25%;
        font-weight: 800;
        font-size: 24px;
        line-height: 23px;
        justify-content: center;
    }

    .info-box-who img {
        width: 55px;
        height: 55px;
        border-radius: 50px;
    }

.status {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    position: absolute;
    bottom: -8px;
    right: 50%;
    transform: translateX(50%);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    color: #fff;
    background: #fff;
}

.correct {
    background: #5AB71F !important;
}

.correct-border {
    border: 1px solid #5AB71F !important;
}

.wrong {
    background: #FF001A !important;
}

.wrong-border {
    border: 1px solid #FF001A !important;
}

@media (max-width: 480px) {


    .timer {
        /*        width: 60px;
        height: 60px;*/
        font-size: 1.2em;
    }

    .score-box {
        font-size: 0.9em;
        padding: 6px 12px;
    }

    .player-name {
        padding: 6px; /* قللنا الـ padding أكثر على الشاشات الصغيرة */
        gap: 6px; /* قللنا الـ gap أكثر على الشاشات الصغيرة */
    }

        .player-name input, .submit-answer-button {
            font-size: 0.75em; /* صغرنا حجم الخط أكثر */
            padding: 6px; /* قللنا الـ padding أكثر */
        }

    .player-info {
        gap: 6px;
    }

    .info-box-who {
        font-size: 0.7em;
        padding: 6px 8px;
    }

        .info-box-who span {
            font-size: 1em;
        }

        .info-box-who img {
            width: 25px;
            height: 25px;
        }

    .action-buttons-who {
        flex-direction: column;
        gap: 8px;
    }

        .action-buttons-who button {
            font-size: 0.8em;
            padding: 8px 0;
        }

    .game-message {
        font-size: 1em;
    }
}




.main-container-voice {
    display: flex;
    flex-direction: column;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url(/Images/Football2.png);
    background-size: cover;
    background-repeat: no-repeat;
    z-index: -1;
}

.content-wrapper-voice {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url(/Images/Football2.png);
    background-size: cover;
    background-repeat: no-repeat;
    z-index: -1;
    flex-grow: 1; /* Allows it to take up available vertical space */


    align-items: center; /* Center horizontally for internal elements if they are not full width */
    width: 100%; /* Default full width for mobile */
}

