﻿

.setting-block {
    margin-bottom: 8px;
    background: #1b2a38;
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.setting-label {
    font-size: 16px;
    font-weight: 600;
}

.setting-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wallet-control {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.wallet-address {
    flex: 1;
    font-size: 14px;
    color: #cfcfcf;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.referral-control {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.referral-link {
    flex: 1;
    font-size: 14px;
    color: #cfcfcf;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.btn-connect {
    background-color: var(--action-color);
    border: none;
    color: #fff;
    padding: 10px 14px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
}

.btn-copy-link {
    background-color: var(--action-color);
    border: none;
    color: #fff;
    padding: 10px 14px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
}

.dark-background {
    background-color: var(--dark-accent);
}


/* Language toggle */
.lang-toggle {
    display: flex;
    justify-content: space-around;
    background: #0d1926;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 10px;
}

    .lang-toggle input[type="radio"] {
        display: none;
    }

    .lang-toggle label {
        flex: 1;
        padding: 10px 0;
        text-align: center;
        cursor: pointer;
        font-weight: bold;
        color: #ddd;
        background-color: #0d1926;
        transition: all 0.2s ease;
    }

    .lang-toggle input:checked + label {
        background-color: var(--action-color);
        color: #fff;
    }

/* Switch toggles */
.switch {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 24px;
}

    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #555;
    border-radius: 24px;
    transition: 0.3s;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 20px;
        width: 20px;
        left: 2px;
        bottom: 2px;
        background-color: white;
        border-radius: 50%;
        transition: 0.3s;
    }

input:checked + .slider {
    background-color: var(--action-color);
}

    input:checked + .slider:before {
        transform: translateX(22px);
    }

.tabs {
    position: fixed;
    top: 0;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 90%;
}

.tab-pvp {
    flex: 0.6 !important;
}

.tab-buttons {
    display: flex;
    flex: 1;
}

.tab-button {
    flex: 1;
    padding: 6px 0;
    text-align: center;
    font-weight: bold;
    cursor: pointer;
    color: #ddd;
    background: var(--back-color2);
    transition: background 0.2s, color 0.2s;
}

.tab-button.active {
    background-color: var(--action-color);
    color: #fff;
}

    .tab-button:first-child {
        border-top-left-radius: 10px;
        border-bottom-left-radius: 10px;
    }

    .tab-button:last-child {
        border-top-right-radius: 10px;
        border-bottom-right-radius: 10px;
    }

.tabs-content {
    user-select: none;
    flex: 1;
    overflow-y: auto;
    width: 90%;
    margin-bottom: 14vh;
    margin-top: 55px;

    background: var(--back-color2);
    color: #fff;
    padding: 5px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

.tab-content {

    display: none;
}

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

.light-background {
    background-color: rgba(255, 255, 255, 0.5);
}

.nft-main {
    display: flex;
}

.nft-item {
    user-select: none;
    background-color: rgba(255, 255, 255, 0.9);
    margin-bottom: 8px;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    font-size: 14px;
    color: #000;
}

.nft-avatar {
    user-select: none;
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
}

.nft-description {
    user-select: none;
    flex-grow: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-right: 8px;
}

.nft-count {
    user-select: none;
    display: inline;
    font-weight: bold;
    font-size: 14px;
    color: var(--link-color);
}

.hold-main {
    display: flex;
}

.hold-item {
    user-select: none;
    background-color: rgba(255, 255, 255, 0.9);
    margin-bottom: 8px;
    border-radius: 10px;
    padding: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    font-size: 14px;
    color: #000;
}

.hold-avatar {
    user-select: none;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    margin-right: 8px;
}

.hold-description {
    user-select: none;
    flex-grow: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    
}

.hold-timer {
    padding-top: 5px;
    font-weight: bold;
    color: var(--action-color);
    font-size: 12px;
    text-align: end;
}


.hold2-buttons {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.hold2-button {
    outline: none;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    margin-top: 5px;
    padding: 5px;
    flex: 1;
    user-select: none;
    border: none;
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
    font-size: 15px;
    text-shadow: 1px 1px 1px black;
}

.hold2-button.buy-link {
    background-color: var(--link-color);
}

    .hold2-button.hold-claim {
        background-color: var(--action-color);
    }

        .hold2-button.hold-claim[disabled] {
            background-color: #aaa !important;
            color: #fff !important;
            cursor: not-allowed;
            opacity: 0.8;
        }
