.ws-payment-page {
    color: #1f2937;
}

.ws-payment-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    margin: 0 0 22px;
    padding: 24px 26px;
    border-radius: 18px;
    background: #10264a;
    color: #ffffff;
    box-shadow: 0 14px 32px rgba(16, 38, 74, 0.22);
}

.ws-payment-head span {
    display: inline-flex;
    align-items: center;
    margin-bottom: 8px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.13);
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.ws-payment-head h1 {
    margin: 0 0 7px;
    color: #ffffff;
    font-size: 27px;
    font-weight: 900;
    line-height: 1.25;
}

.ws-payment-head p {
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 14px;
    line-height: 22px;
}

.ws-payment-head-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 78px;
    min-width: 78px;
    height: 78px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 34px;
}

.ws-payment-form {
    margin: 0;
    padding: 24px;
    border: 1px solid #dcdcdc;
    background: #ffffff;
    box-shadow: 0 2px 7px rgba(44, 49, 59, 0.09);
}

.ws-payment-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eeeeee;
    color: #111827;
    font-size: 17px;
    font-weight: 900;
}

.ws-payment-section-title:not(:first-of-type) {
    margin-top: 22px;
}

.ws-payment-section-title i {
    color: #10264a;
}

.ws-payment-grid {
    display: grid;
    gap: 16px 18px;
    margin-bottom: 18px;
}

.ws-payment-grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ws-payment-grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ws-payment-field {
    margin-bottom: 18px;
}

.ws-payment-grid .ws-payment-field {
    margin-bottom: 0;
}

.ws-payment-field label {
    display: block;
    margin: 0 0 8px;
    color: #273b70;
    font-size: 13px;
    font-weight: 800;
}

.ws-payment-field label sup,
.ws-payment-required sup {
    color: #d71920;
    font-weight: 900;
}

.ws-payment-field input,
.ws-payment-field select,
.ws-payment-field textarea {
    display: block;
    width: 100%;
    border: 1px solid #d7dce3;
    background: #ffffff;
    color: #2c313b;
    font-size: 13px;
    outline: none;
    transition: all 0.18s ease;
}

.ws-payment-field input,
.ws-payment-field select {
    height: 42px;
    padding: 0 12px;
}

.ws-payment-field textarea {
    min-height: 135px;
    padding: 12px;
    line-height: 21px;
    resize: vertical;
}

.ws-payment-field input:focus,
.ws-payment-field select:focus,
.ws-payment-field textarea:focus {
    border-color: #10264a;
    box-shadow: 0 0 0 3px rgba(16, 38, 74, 0.08);
}

.ws-payment-select {
    position: relative;
}

.ws-payment-select::after {
    content: "\f0d7";
    position: absolute;
    right: 13px;
    bottom: 13px;
    z-index: 2;
    color: #6b7280;
    font-family: FontAwesome;
    font-size: 12px;
    pointer-events: none;
}

.ws-payment-select select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 34px;
    cursor: pointer;
}

.ws-payment-warning {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 4px 0 20px;
    padding: 15px 14px;
    border-radius: 4px;
    background: #d71920;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    line-height: 21px;
}

.ws-payment-warning i {
    margin-top: 3px;
    color: #ffffff;
    font-size: 15px;
}

.ws-payment-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-top: 18px;
    border-top: 1px solid #eeeeee;
}

.ws-payment-required {
    color: #6b7280;
    font-size: 13px;
    font-weight: 700;
}

.ws-payment-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 220px;
    height: 42px;
    border: 0;
    border-radius: 24px;
    background: #10264a;
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(16, 38, 74, 0.22);
    transition: all 0.18s ease;
}

.ws-payment-submit:hover,
.ws-payment-submit:focus {
    background: #10264a;
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(16, 38, 74, 0.28);
}

@media (max-width: 1199px) {
    .ws-payment-grid.three {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .ws-payment-head {
        align-items: flex-start;
        flex-direction: column;
        padding: 22px 18px;
        border-radius: 16px;
    }

    .ws-payment-head h1 {
        font-size: 22px;
    }

    .ws-payment-head-icon {
        width: 64px;
        min-width: 64px;
        height: 64px;
        border-radius: 18px;
        font-size: 27px;
    }

    .ws-payment-form {
        padding: 18px 14px;
    }

    .ws-payment-grid.three,
    .ws-payment-grid.two {
        grid-template-columns: 1fr;
    }

    .ws-payment-bottom {
        align-items: stretch;
        flex-direction: column;
    }

    .ws-payment-submit {
        width: 100%;
        min-width: 0;
    }
}
