.page-teams {
    padding: 2rem 0;
    max-width: calc(100% - 6.2rem);
    display: flex;
    margin: 0 auto;
    width: 100%;
    gap: 50px 10%;
    flex-wrap: wrap;
}

.page-teams .teams {
    display: flex;
    gap: 2rem;
    min-width: 45%;
    justify-content: space-between;
    aspect-ratio: 396 / 179;
    background: url(../images/background.png) no-repeat center;
    background-size: cover;
    position: relative;
    border-radius: 0.5rem;
    overflow: hidden;
}

.page-teams .teams::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffffb0;
    border-radius: 0.5rem;
}


.page-teams .teams .teams-left,
.page-teams .teams .teams-right {
    position: relative;
    display: flex;
    flex-direction: column;
}

.page-teams .teams .teams-left{
    padding: 1.8rem 0 1.3rem 1.1rem;
}
.page-teams .teams .teams-left__logo img{
    width: 4.3rem;
    height: 4.3rem;
    margin: 0 0 1.3rem 0;
    object-fit: contain;
    background: #fff;
    border-radius: 50%;
}
.page-teams .teams .teams-left__title{
    text-transform: uppercase;
    font-weight: 700;

}
.page-teams .teams-right img{
    width: 100%;
    height: auto;
    object-fit: cover;
}
.page-teams .teams .teams-right__icon{
    padding: 0 1.3rem;
    background-color: #3A3A44;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.page-teams .teams .teams-right__icon--custom{
    border-top: .1rem solid #F15B2E;
    border-bottom: .1rem solid #F15B2E;
}
.page-teams .teams .teams-right__icon {
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-teams .teams .teams-right__icon:hover {
    background-color: #F15B2E;
}
.page-teams .teams .teams-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Delete Confirmation Modal Styles */
.delete-team-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.delete-team-modal__content {
    background-color: #fff;
    padding: 2rem;
    border-radius: 0.5rem;
    max-width: 500px;
    width: 90%;
    text-align: center;
}

.delete-team-modal__content h2 {
    color: #F15B2E;
    margin-bottom: 1rem;
}

.delete-team-modal__content p {
    margin-bottom: 1.5rem;
    color: #333;
}

.delete-team-modal__buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.delete-team-modal__buttons .btn {
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 0.25rem;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    width: fit-content;
    height: auto;
}
.no-teams {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}
.teams-left__trash-date {
    margin-top: 10px;
}

.delete-team-modal__buttons .btn-danger {
    background-color: #F15B2E;
    color: #fff;
}

.delete-team-modal__buttons .btn:not(.btn-danger) {
    background-color: #3A3A44;
    color: #fff;
}

.delete-team-modal__buttons .btn:hover {
    opacity: 0.85;
}
.single-club .page-teams{
    max-width: 100%;
    gap: 2.6rem;
}
.single-club .single-club__left{
   width: 100%;
   max-width: 37.4rem;
}
.single-club .page-teams .teams{
    box-shadow: .5rem .4rem .45rem 0 #00000040;
}
.single-club .single-club__right {
    flex: 1;
    max-width: calc(100% - 40.3rem);
}
.club-tabs--archivements +.anwp-fl-season-selector,
.club-tabs--transfers +.anwp-fl-season-selector,
.club-tabs--overview +.anwp-fl-season-selector{
    display: none;
}
@media screen and (max-width: 1000px) {
    .single-club .page-teams {
       flex-direction: column;
    }
    .single-club .single-club__left {
        max-width: 100%;
    }
    .single-club .single-club__right {
        max-width: 100%;
    }
    .single-club .single-club__left .calendar-box {
        flex: 1;
        width: 100%;
    }
    .single-club .single-club__right .stats-block {
        width: calc(16.66% - 1.5rem)    ;
    }
}
/* Club Tabs Styles */
.anwp-tabs-nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    border-bottom: 2px solid #e5e5e5;
    background: #f8f9fa;
    border-radius: 8px 8px 0 0;
}

.anwp-tab-item {
    flex: 1;
    text-align: center;
}

.anwp-tab-link-custom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 20px;
    text-decoration: none;
    color: #6c757d;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
    background: transparent;
    cursor: pointer;
    position: relative;
}

.anwp-tab-link-custom:hover {
    color: #F15B2E;
    background: rgba(241, 91, 46, 0.1);
}

.anwp-tab-item.active .anwp-tab-link-custom {
    color: #F15B2E;
    background: #fff;
    border-bottom: 3px solid #F15B2E;
    margin-bottom: -2px;
}

.anwp-tab-link-custom svg {
    width: 20px;
    height: 20px;
    transition: all 0.3s ease;
}

.anwp-tab-item.active .anwp-tab-link-custom svg {
    color: #F15B2E;
}

.anwp-tabs-content {
    background: #fff;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    min-height: 400px;
}

.anwp-tab-content {
    display: none;
    padding: 24px;
    animation: fadeIn 0.3s ease-in-out;
}

.anwp-tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Club Stats Custom Styles */
.content-club-stats--custom {
    margin-top: 2rem;
}

.content-club-stats--custom .anwp-tabs-nav {
    margin-bottom: 0;
}

/* Responsive Design for Club Tabs */
@media screen and (max-width: 768px) {
    .anwp-tabs-nav {
        flex-direction: column;
    }
    
    .anwp-tab-item {
        flex: none;
    }
    
    .anwp-tab-link-custom {
        padding: 12px 16px;
        font-size: 13px;
    }
    
    .anwp-tab-content {
        padding: 16px;
    }
    
    .single-club .single-club__right .stats-block {
        width: calc(50% - 1.5rem);
    }
    .page-teams {
        flex-direction: column;
        gap: 2rem;
    }
    .page-teams .teams {
        height: 15rem;
    }

    .delete-team-modal__content {
        width: 95%;
        padding: 1.5rem;
    }
    .page-teams .teams {
        width: 100%;
    }
}


