﻿body {
    margin: 0;
    background: #f5f5f5;
    font-family: Arial;
    direction: rtl;
}

.pay-page {
    min-height: 100vh;
}

.hero-section {
    height: 520px;
    background: linear-gradient(to bottom,#dfefff,#f7f7f7);
    text-align: center;
    position: relative;
    overflow: visible;
}

.logo {
    width: 180px;
    margin-top: 20px;
}

.truck-image {
    width: 1300px;
    max-width: 95%;
    max-height: 100%;
    margin-top: 20px;
}

.image-pci{
    width: 30px;
    height: 30px;
}
.payment-card {
    background: white;
    width: 700px;
    max-width: 92%;
    margin: -20px auto 30px auto;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    text-align: center;
    position: relative;
}

.lock-circle {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: -40px;
    right: 50%;
    transform: translateX(50%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.lock-icon {
    width: 120px;
    height: 80px;
}

h1 {
    color: #0d47c9;
    margin-top: 30px;
    font-size: 52px;
}

.customer-name {
    font-size: 38px;
    font-weight: bold;
    margin-top: 25px;
}

.welcome-text {
    margin-top: 15px;
    font-size: 28px;
}

.thank-you-text {
    margin-top: 10px;
    font-size: 28px;
    color: #0d47c9;
    font-weight: bold;
}

.balance-title {
    margin-top: 35px;
    font-size: 30px;
}

.payment-amount {
    margin-top: 20px;
    font-size: 64px;
    color: #0d47c9;
    font-weight: bold;
    background: #eef3ff;
    border-radius: 18px;
    padding: 20px;
    white-space: nowrap;
}

.continue-text {
    margin-top: 30px;
    font-size: 24px;
}

.pay-button {
    display: inline-block;
    margin-top: 25px;
    background: #0047ff;
    color: white;
    text-decoration: none;
    font-size: 34px;
    padding: 22px 60px;
    border-radius: 16px;
    font-weight: bold;
}

    .pay-button:hover {
        background: #0035c7;
    }

.wire-transfer {
    margin-top: 25px;
    padding: 20px;
    background: #eef3ff;
    border-radius: 18px;
    color: #0d47c9;
    line-height: 1.8;
    font-size: 18px;
}


.security-row {
    margin-top: 40px;
    display: flex;
    justify-content: space-around;
    font-size: 20px;
    color: #444;
}

.support-box {
    width: 700px;
    max-width: 92%;
    margin: auto;
    background: #edf2ff;
    border-radius: 16px;
    padding: 25px;
    text-align: center;
}

.support-title {
    font-size: 26px;
    font-weight: bold;
}

.support-phone {
    margin-top: 10px;
    font-size: 34px;
    color: #0d47c9;
}

.custom-footer {
    text-align: center;
    padding: 20px;
    color: #666;
    font-size: 14px;
}


/*for success page*/
.success-page {
    min-height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.success-card {
    width: 700px;
    max-width: 92%;
    background: white;
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    text-align: center;
}

    .success-card h1 {
        color: #0d47c9;
        font-size: 42px;
        margin-bottom: 30px;
    }

    .success-card p {
        font-size: 22px;
        margin-bottom: 15px;
    }

.support-phone {
    margin-top: 15px;
    font-size: 34px;
    color: #0d47c9;
    font-weight: bold;
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px auto;
    border-radius: 50%;
    background: #28a745;
    color: white;
    font-size: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-logo {
    width: 180px;
    margin-bottom: 20px;
}

.success-message {
    color: #28a745;
    font-weight: bold;
    font-size: 24px;
}

.custom-footer {
    margin-top: 50px;
}

.support-title {
    margin-top: 25px;
    font-size: 15px;
    color: #666;
}

.support-text {
    margin-top: 5px;
    font-size: 15px;
    color: #666;
}


/*for fail page*/
.failure-icon {
    width: 70px;
    height: 70px;
    margin: 20px auto;
    border-radius: 50%;
    background: #dc3545;
    color: white;
    font-size: 42px;
    line-height: 70px;
    text-align: center;
    font-weight: bold;
}

.failure-title {
    color: #dc3545;
}

.failure-message {
    color: #dc3545;
    font-weight: bold;
    font-size: 24px;
}

.help-title {
    margin-top: 25px;
    color: #666;
}


/*Payment details*/

.payment-details {
    margin-top: 35px;
    border-top: 1px solid #eee;
    padding-top: 25px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
}

.detail-label {
    font-size: 20px;
    color: #666;
    font-weight: bold;
}

.detail-value {
    font-size: 22px;
    color: #0d47c9;
    font-weight: bold;
}

.support-title {
    margin-top: 35px;
    color: #666;
    font-size: 18px;
}

.support-text {
    margin-top: 5px;
    color: #666;
    font-size: 14px;
}


@media (max-width: 768px) {

    .hero-section {
        height: 260px;
    }

    .truck-image {
        width: 100%;
        margin-top: 10px;
    }

    h1 {
        font-size: 34px;
    }

    .customer-name {
        font-size: 24px;
    }

    .welcome-text,
    .thank-you-text {
        font-size: 20px;
    }

    .balance-title {
        font-size: 22px;
    }

    .payment-amount {
        font-size: 42px;
        padding: 15px;
    }

    .continue-text {
        font-size: 18px;
    }

    .pay-button {
        width: 100%;
        font-size: 26px;
        padding: 18px;
    }

    .security-row {
        flex-direction: column;
        gap: 10px;
        font-size: 18px;
    }

    .support-phone {
        font-size: 28px;
    }

    .lock-circle {
        width: 60px;
        height: 60px;
        top: -30px;
    }

    .lock-icon {
        width: 80px;
        height: 50px;
    }
}