/* Team Settings Toggles - Unique Styling */

.team-settings-container {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 24px;
    background-color: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    font-family: Rajdhani;
    
}
.w200{
    width: 200px;
}
.pdlr0{
    padding-left: 0px !important;
    padding-right: 0px !important;
}

.action_buttons_custom{
    display: flex;
    gap:12px;
}
.btn_custom_new{
    background: none;
    border: 0.5px solid #e0e0e0;
    border-radius: 8px;
    padding: 9px 12px;
    cursor: pointer;
    font-size: 13px;
    color: #888;
    line-height: 1;

}

.team-setting-card-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #e8e8e8;
}

.team-setting-card-item:last-child {
    border-bottom: none;
}



.team-setting-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.team-setting-label-row {
    display: flex;
    align-items: center;
    gap: 10px;
}
.team-setting-label {
    font-size: 21px;
    font-weight: 600;
    color: #333333;
    margin: 0;
    padding: 0;
}

.team-setting-description {
    font-size: 17px;
    color: #666666;
    margin: 0;
    padding: 0;
    line-height: 1.5;
}

.team-setting-status-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: 16px;
    white-space: nowrap;
}

.team-setting-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    color: #1e6b3a;
    text-transform: capitalize;
    min-width: 50px;
    padding: 4px 10px;
    border-radius: 999px;
    background-color: rgba(39, 174, 96, 0.15);
    border: 1px solid rgba(39, 174, 96, 0.3);
}

.team-setting-status-badge.off {
    color: #5d6d78;
    background-color: rgba(149, 165, 166, 0.15);
    border-color: rgba(149, 165, 166, 0.3);
}

/* Custom Switch/Toggle Design */
.team-settings-toggle-switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
    flex-shrink: 0;
}

.team-settings-toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.team-settings-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cccccc;
    transition: background-color 0.3s ease;
    border-radius: 28px;
    border: none;
}

.team-settings-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background-color: #ffffff;
    transition: transform 0.3s ease;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.team-settings-toggle-switch input:checked + .team-settings-slider {
    background-color: var(--site-primary-color, #EC1C23) !important;
}

.team-settings-toggle-switch input:checked + .team-settings-slider:before {
    transform: translateX(24px);
}

.team-settings-toggle-switch input:focus + .team-settings-slider {
    box-shadow: inset 0 0 0 2px var(--site-primary-color, rgba(231, 76, 60, 0.2));
}

/* Responsive Design */
@media (max-width: 768px) {
    .team-setting-card-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .team-setting-content {
        width: 100%;
    }

    .team-setting-status-wrapper {
        width: 100%;
        justify-content: space-between;
        margin-left: 0;
    }

    .team-setting-label {
        font-size: 15px;
    }

    .team-setting-description {
        font-size: 13px;
    }
}
.locked_it {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.role-owner {
    background: #EEEDFE;
    color: #3C3489;
}

.role-member {
    background: #E1F5EE;
    color: #085041;
}

.role-leader {
    background: #FAEEDA;
    color: #633806;
}

.role-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 99px;
    white-space: nowrap;
}

 .mw200wt {
    max-width: 200px;
    white-space: normal;
    word-break: break-word;

}

 .mw100wt {
    max-width: 100px;
    white-space: normal;
    word-break: break-word;

}

.pdlr0{
    padding-left: 0px!important;
    padding-right: 0px!important;
}
/* For mobile devices */
@media (max-width: 768px) {
.account-team-member-table-bg tr:nth-child(2n), .btn-member-white, .mb-plans-container, .odd-member, .team-members {
    background-color: #ffffff;
}
}