@import url('https://fonts.googleapis.com/css2?family=Changa:wght@200..800&family=League+Spartan:wght@100..900&display=swap');

:root{
    --border-radius: 4px;
    --dark-red: #982B25;
    --light-red: #F23D37;
    --background-color:linear-gradient(90deg, #982B25 0%, #F23D37 100%);
    --gray: #F1F1F1;

}




input:focus-visible, button:focus-visible {
    outline: none;
}

.dashboard-content .section{
    display: none;
}

.dashboard-content .section.active{
    display: block;
}
section.main-dashboard {
    max-width: 1920px;
    margin-inline: auto;
        margin-top: -40px;
   
}
.dashboard-wrapper {
    display: flex;
    gap: 25px;
        height: 88vh;
}
#nav-acc-btn span.elementor-button-icon {
    margin-top: -5px;
}   
/* #dash-nav-btns{
    margin-left:auto;
}
#dash-menu{
    margin-left: 270px;
} */
.dashboard-sidebar {
    max-width: 343px;
    flex: 1;
    background-color: #F1F1F1;
    padding: 120px 30px;
}
.dashboard-sidebar li:hover{
cursor:pointer;
}
.dashboard-content {
    flex: 2;
    background-color: #ffffff;
    padding: 20px 20px;
}
.dashboard-sidebar ul {
    list-style: none;
    padding: 0;
}
.dashboard-sidebar li.active {
    color: var(--dark-red);
    background: white;
        border-left: 3px solid var(--light-red);
}
.dashboard-sidebar li {
    user-select: none;
    padding: 10px 20px;
    border-radius: var(--border-radius);
}

/* Inbox style */

.content-item {
    background: #F1F1F1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius:var(--border-radius);
}
.content-item-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 66px;
    min-width: 30%;
}
.content-item-info img {
    height: 50px;
    width: 50px;
    border-radius: 50%;
}
.content-item-info p {
    font-size: 20px;
    font-weight: 400;
    color: black;
        margin: 0;
}
.content-item-info p span {
    color: var(--light-red);
    font-size: 16px;
}
.content-head {
       margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    padding-top: 10px;
    padding-bottom: 10px;
}
.content-head h2 {
    font-size: 24px;
    letter-spacing: -1px;
}
.content-head p {
    font-size: 18px;
    font-weight: 400;
    margin: 0;
}
.content-item-buttons .accept-btn {
    margin-right: 5px;
}

.dashboard-wrapper li{
        font-weight: 500;
    font-size: 18px;
    color: black;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.dashboard-content {
    height: 88vh;
}
img.nav-icon {
    width: 13px;
    height: 13px;
    object-fit: contain;
}
.content-serch-bar {
    max-height: 60px;
    width: 45%;
        position: relative;
}
img.search-icon {
    position: absolute;
    right: 22px;
    top: 50%;
    width: 18px;
    height: 18px;
    transform: translateY(-50%);
    pointer-events: none;
}
.content-serch-bar input {
    text-transform: capitalize;
    border: none !important;
    height: 100%;
    background: var(--gray);
    border-radius: var(--border-radius);
    padding-right: 50px !important;
}

/* .content-serch-bar input:focus-visible {
    outline: none;
} */
.content_info_title {
    display: flex;
    width: 100%;
        gap: 7px;
}
.content-body {
    height: 63vh;
    overflow: auto;
}
button.submit-btn.primary-btn {
    color: white;
}

input#team-name {
    width: 300px;
    background: white;
    border: none;
}
form#team-create-form {
    gap: 25px;
    display: flex;
    flex-direction: column;
}
form#team-create-form .submit-btn {
    max-width: 314px;
}
.form-name-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dashboard-content:has(#section-create.section.active) {
   
    position: relative;
    background-image: url("https://movessports.com/wp-content/uploads/2025/12/192574eb78c17c5f4fd54e43103465fee31b8dd1.jpg");
    background-repeat: no-repeat;
    z-index: 1;
    background-size: auto;
    background-position: top center;
}
.dashboard-content:has(#section-create.section.active):after {
    content: '';
    background: #ffffffeb;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}


/* ---------- GLOBAL ---------- */
@media (max-width: 1440px) {
    .dashboard-wrapper {
        gap: 15px;
    }
}
@media(max-width:1200px){
    .dashboard-sidebar {
    max-width: 263px;
}
.content-item-buttons button,
.content-item-buttons .status-badge  {
    max-width: 135px;
    font-size: 14px;
    padding-inline: 12px;
    line-height: 1.3em;
}
}
/* ---------- TABLETS (max 1024px) ---------- */
@media (max-width: 1024px) {

    .dashboard-wrapper {
        gap: 20px;
        height: auto;
        min-height: 80vh;
    }

    .dashboard-sidebar {
        max-width: 210px;
        padding: 80px 20px;
    }

    .dashboard-sidebar li {
        font-size: 16px;
        padding: 8px 15px;
    }

    .dashboard-content {
        padding: 15px;
    }

    .content-item-info {
        gap: 30px;
    }

    .content-item-info p {
        font-size: 18px;
    }

    .content-item-info img {
        height: 45px;
        width: 45px;
    }

    .content-serch-bar {
        width: 60%;
    }
    .content-item-buttons {
    min-width: 40%;
    display: flex;
    justify-content: end;
}
}

/* ---------- MOBILE LANDSCAPE (max 768px) ---------- */
@media (max-width: 768px) {
    img.nav-icon {
    margin-bottom: 4px;
}
    input#team-search {
    padding: 20px;
}

    .content-item-buttons {
   
    justify-content: start;
    margin-top: 12px;
    gap: 10px;
}
    /* Sidebar becomes top menu */
    .dashboard-wrapper {
        flex-direction: column;
        gap: 0;
        height: auto;
    }

    .dashboard-sidebar {
               max-width: 100%;
        width: 100%;
        padding: 20px;
        background: #F1F1F1;
        max-height: 100px;
        padding-top: 42px;
    }

    .dashboard-sidebar ul {
        display: flex;
        gap: 15px;
        overflow-x: auto;
    }

    .dashboard-sidebar li {
        white-space: nowrap;
        padding: 10px 15px;
        border-radius: 8px;
        font-size: 16px;
                line-height: 1;
    }

    .dashboard-content {
        height: auto;
      padding: 0px 20px;
    }

    .content-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .content-item-info {
        min-width: 100%;
        justify-content: flex-start;
    }

    .content-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .content-serch-bar {
        width: 100%;
    }

    .content-body {
        height: auto;
        max-height: 70vh;
    }

    input#team-name {
        width: 100%;
    }
   
}

/* ---------- MOBILE PORTRAIT (max 480px) ---------- */
@media (max-width: 480px) {
    .bottom-info {

    margin-bottom: 60px;
}
    div#dash-nav-btns a {
    padding: 0;
}

 
    .content-body::-webkit-scrollbar {
    width: 0;
}
    .dashboard-sidebar {
    max-height: 78px;
    padding-top: 28px;
    margin-top: -29px;
}

    section.main-dashboard {
        margin-top: 0;
    }

   

    .dashboard-sidebar ul {
        gap: 10px;
    }

    .dashboard-sidebar li {
        font-size: 14px;
        padding: 8px 12px;
    }

    .content-item-info img {
        height: 40px;
        width: 40px;
    }

    .content-item-info p {
        font-size: 16px;
    }

    .content-head h2 {
        font-size: 20px;
    }

    .content-head p {
        font-size: 16px;
    }

    .content-item {
        padding: 12px;
    }

    form#team-create-form {
        gap: 15px;
    }

    form#team-create-form .submit-btn {
        max-width: 100%;
        width: 100%;
    }
}

@media(max-width: 419px){
   /* .dashboard-sidebar ul {
    justify-content: center;
    overflow-x: overlay;
    width: 95%;
    padding-left: 90px;
    gap: 5px;       
} */
.dashboard-sidebar ul::-webkit-scrollbar {
    width: 0px;
}
}

@media(max-width:400px){
    .player-profile-wrapper {
    max-width: 90%;
}
    .dashboard-sidebar {
    padding: 10px;
}
        .dashboard-sidebar ul {
    gap: 5px;
}
.dashboard-sidebar li {

    padding: 8px 6px;
}
    #team-list .content-item-buttons button, #team-list .content-item-buttons .status-badge {
    max-width: 134px;
   
}
    .dashboard-sidebar {
    max-height: 68px;
    padding-top: 20px;
    margin-top: -29px;
}
.dashboard-sidebar ul {
    justify-content: center;
}
.content-item-buttons {
    justify-content: center;
    width: 100%;
}
.content-item-buttons button, .content-item-buttons .status-badge {
    max-width: 94px;
    font-size: 13px;
    line-height: 1.1em;
}

}

@media(max-width:340px){
    .dashboard-sidebar li {
    font-size: 13px;
    
}
.dashboard-sidebar ul {
    gap: 4px;
}
}