﻿.scale {
    display: flex;
    gap: 8px; 
}

    .scale .filled {
        background-color: #0d6efd; 
    }

    .scale .plus-available {
        background-color: #1fa2f1;
        animation: pulse-blue 1.5s infinite;
    }

    .scale .premium-available {
        background-color: #444444;
        animation: pulse-dark 1.5s infinite;
    }

@keyframes pulse-blue {
    0% {
        box-shadow: 0 0 0 0 rgba(103, 164, 248, 0.7);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(103, 164, 248, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(103, 164, 248, 0);
    }
}

@keyframes pulse-dark {
    0% {
        box-shadow: 0 0 0 0 rgba(68, 68, 68, 0.7);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(68, 68, 68, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(68, 68, 68, 0);
    }
}

.scale .plus-available,
.scale .premium-available {
    animation-duration: 2s;
    animation-iteration-count: infinite;
}

.reward-section {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
}

.reward-percent {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1fa2f1;
}

.reward-info {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.badge-plus {
    display: inline-block;
    background: #1fa2f1;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.badge-premium {
    display: inline-block;
    background: #444444;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.btn-plus {
    background-color: #1fa2f1;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-premium {
    background-color: #444444;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-discount:hover:not(:disabled) {
    background-color: #0b5ed7;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(13, 110, 253, 0.25);
}

.btn-discount:disabled,
.btn-plus:disabled,
.btn-premium:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-plus:hover:not(:disabled) {
    background-color: #4d8df5;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(103, 164, 248, 0.25);
}

.btn-premium:hover:not(:disabled) {
    background-color: #333333;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(68, 68, 68, 0.25);
}


.block {
    width: 48px;
    height: 30px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #e9ecef;
}

    .block.filled {
        background-color: #0d6efd;
        border-color: #0d6efd;
    }

.ref-inviter-text {
    display: flex;
    align-items: center;
    font-size: 16px;
    color: black;
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: none;
    font-weight: 600;
}

    .ref-inviter-text img {
        height: auto;
        margin-right: 8px;
    }

h5.text-start {
    margin-bottom: 0.5rem;
}

.fixed-width-btn {
    width: 350px; 
    margin-left: 8px; 
}

@media (max-width: 576px) {
    .fixed-width-btn {
        width: 120px;
    }
}

@media (max-width: 768px) {
    .scale {
        flex-wrap: wrap;
        gap: 6px;
    }

    .block {
        width: 15px;
        height: 18px;
    }

    .ref-inviter-text {
        font-size: 14px;
        align-items: flex-start;
    }

        .ref-inviter-text img {
            margin-bottom: 4px;
        }

    .fixed-width-btn {
        width: 100%;
        margin-left: 0;
        margin-top: 0.5rem;
    }

    .input-group {
        flex-direction: column;
        align-items: stretch;

    }
        .input-group input {
            width: 100% !important;
            font-size: 12.8px;
        }

        .input-group .btn {
            width: 100%;
            margin-top: 0.5rem;
            border-top-left-radius: 5px !important;
            border-bottom-left-radius: 5px !important;
        }

    .modal-dialog {
        margin: 1rem;
    }

    .modal-content {
        font-size: 14px;
    }

    .me-3{
        margin-right: 6px !important;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .fixed-width-btn {
        width: 200px;
    }

    .scale .block {
        width: 42px;
        height: 28px;
    }

    .ref-inviter-text {
        font-size: 15px;
    }
}

@media (min-width: 1025px) and (max-width: 1400px) {
    .fixed-width-btn {
        width: 280px;
    }

    .scale .block {
        width: 46px;
        height: 30px;
    }
}

