/* Стили страницы оплаты курьера */
.payment-section {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    max-width: 900px;
    margin: 0 auto;
}

.payment-section h1 {
    color: #E53935;
    margin-bottom: 15px;
    font-size: 2.8em;
    font-weight: 700;
    background: linear-gradient(135deg, #E53935, #FF5252);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    border-bottom: none;
    padding-bottom: 0;
    text-align: center;
}

.payment-section h2 {
    color: #E53935;
    margin-top: 50px;
    margin-bottom: 20px;
    font-size: 2em;
    font-weight: 600;
}

.payment-section h3 {
    color: #FF5252;
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.4em;
    font-weight: 600;
}

.payment-section p {
    color: #6c757d;
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.status-box {
    background: linear-gradient(135deg, rgba(229, 57, 53, 0.1), rgba(255, 82, 82, 0.1));
    padding: 35px;
    border-radius: 15px;
    margin: 35px 0;
    text-align: center;
    border: 2px solid rgba(229, 57, 53, 0.2);
    backdrop-filter: blur(10px);
}

.status-text {
    font-size: 1.3em;
    color: #E53935;
    margin-bottom: 15px;
    font-weight: 700;
}

.website-instruction {
    font-size: 1.2em;
    color: #495057;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 25px;
    border-radius: 12px;
    border-left: 5px solid #E53935;
    margin: 25px 0;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.steps-list {
    counter-reset: step-counter;
}

.step-item {
    counter-increment: step-counter;
    margin-bottom: 20px;
    padding-left: 40px;
    position: relative;
}

.step-item::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    background: linear-gradient(135deg, #E53935, #FF5252);
    color: #fff;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1em;
    box-shadow: 0 4px 15px rgba(229, 57, 53, 0.3);
}

.warning-box {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1), rgba(255, 82, 82, 0.1));
    border: 2px solid rgba(255, 193, 7, 0.3);
    border-radius: 15px;
    padding: 25px;
    margin: 25px 0;
    backdrop-filter: blur(10px);
}

.warning-box h4 {
    color: #FF5252;
    margin-bottom: 15px;
    font-size: 1.2em;
    font-weight: 600;
}

.warning-box p,
.warning-box ul li {
    color: #856404;
    margin: 0;
    font-size: 1.1em;
}

.allowed-box {
    background: linear-gradient(135deg, rgba(25, 135, 84, 0.1), rgba(229, 57, 53, 0.1));
    border: 2px solid rgba(25, 135, 84, 0.3);
    border-radius: 15px;
    padding: 25px;
    margin: 25px 0;
    backdrop-filter: blur(10px);
}

.allowed-box h4 {
    color: #198754;
    margin-bottom: 15px;
    font-size: 1.2em;
    font-weight: 600;
}

.allowed-box p,
.allowed-box ul li {
    color: #155724;
    margin: 0;
    font-size: 1.1em;
}

.info-button {
    background: linear-gradient(135deg, #E53935, #FF5252);
    color: #fff;
    padding: 15px 40px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(229, 57, 53, 0.3);
    margin-top: 25px;
}

.info-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(229, 57, 53, 0.4);
}

.update-date {
    color: #86868b;
    font-style: italic;
    margin-bottom: 35px;
    text-align: center;
    font-size: 1.1em;
}

/* Медиа-запросы для мобильных устройств */
@media (max-width: 768px) {
    .payment-section {
        padding: 30px 20px;
        margin: 20px;
    }

    .payment-section h1 {
        font-size: 2.2em;
    }

    .payment-section h2 {
        font-size: 1.6em;
        margin-top: 30px;
    }

    .payment-section h3 {
        font-size: 1.2em;
        margin-top: 20px;
    }

    .status-box {
        padding: 20px;
        margin: 20px 0;
    }

    .website-instruction {
        padding: 15px;
        font-size: 1.1em;
    }

    .step-item {
        padding-left: 50px;
        margin-bottom: 15px;
    }

    .step-item::before {
        width: 30px;
        height: 30px;
        font-size: 0.9em;
    }

    .warning-box,
    .allowed-box {
        padding: 15px;
        margin: 15px 0;
    }

    .info-button {
        width: 100%;
        padding: 12px 20px;
        font-size: 14px;
    }
}