/* Page shell */
.app-pay__sheet{
    background: #fff;
    padding: 24px;
    border: 1px solid #e5e5e5;
}

/* Header */
.app-pay__header{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.app-pay__brand{
    display: flex;
    gap: 16px;
    align-items: flex-start;
    min-width: 0;
}

.app-pay__logo{
    width: 78px;
    height: auto;
}

.app-pay__title{
    font-size: 28px;
    margin: 0 0 6px 0;
    line-height: 1.1;
}

.app-pay__meta{
    color: #444;
    font-size: 14px;
}

.app-pay__badge{
    background: #bdbdbd;
    color: #000;
    font-weight: 700;
    padding: 8px 18px;
    line-height: 1;
    white-space: nowrap;
}

/* Rule */
.app-pay__rule{
    margin: 14px 0 18px;
    border: 0;
    border-top: 2px solid #111;
}

/* Sections */
.app-pay__section{
    margin-top: 24px;
}

.app-pay__section-title{
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 12px 0;
}

/* Key/Value blocks */
.app-pay__kv{
    border: 1px solid #e5e5e5;
    padding: 12px 14px;
}

.app-pay__kv-row{
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 10px;
    padding: 6px 0;
}

.app-pay__kv-key{
    font-weight: 700;
}

.app-pay__kv-val{
    word-break: break-word;
}

/* Two-column section (courses + credits) */
.app-pay__two-col{
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 24px;
    align-items: start;
}

@media (max-width: 992px){
    .app-pay__two-col{
        grid-template-columns: 1fr;
    }
}

.app-pay__mini-title{
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 10px 0;
}

/* Tables */
.app-pay__table-wrap{
    overflow: auto;
    border: 1px solid #e5e5e5;
}

.app-pay__table{
    margin: 0;
}

.app-pay__table thead th{
    background: #f6f6f6;
    font-weight: 700;
}

/* Credits box */
.app-pay__credit-box{
    border: 1px solid #e5e5e5;
    padding: 12px 14px;
}

.app-pay__credit-row{
    display: grid;
    grid-template-columns: 1fr 80px;
    gap: 10px;
    padding: 8px 0;
}

.app-pay__credit-row--total{
    border-top: 1px solid #e5e5e5;
    margin-top: 6px;
    padding-top: 10px;
    font-weight: 700;
}

.app-pay__credit-val{
    text-align: right;
}

/* Payment grid */
.app-pay__paygrid{
    border: 1px solid #e5e5e5;
    padding: 12px 14px;
}

.app-pay__payrow{
    display: grid;
    grid-template-columns: 1fr 140px;
    gap: 10px;
    padding: 8px 0;
}

.app-pay__payrow--total{
    border-top: 1px solid #e5e5e5;
    margin-top: 6px;
    padding-top: 10px;
    font-weight: 700;
}

.app-pay__payval{
    text-align: right;
}

.app-payment-due .app-pay__table-wrap {
    padding: 40px;
    text-align: center;
    background-color: #e5e5e5;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 125%;
}

/*.app-payment-due .app-pay__table-wrap input[type="submit"] {
    background: #0a1f3e none repeat scroll 0 0;
    border: medium none;
    color: #ffffff;
    font-size: 15px;
    line-height: 1.5;
    padding: 5px 15px;
}*/

.app-payment-due .app-pay__table-wrap .app-payment-button {
    font-size: 16px;
    background-color: #ffcb05;
    border: 1px solid transparent;
    border-radius: 0px;
    border-color: #00274c !important;
    font-weight: bold;
    font-style: normal;
    text-transform: uppercase;
    text-decoration: none;
    padding: 4.8px 11.2px 4.8px 11.2px !important;
    color: #00274c;
    margin-top: 20px;
}

.app-payment-due .app-pay__table-wrap .app-payment-button:hover {
    border: 1px solid transparent;
    border-radius: 0px;
    border-color: #ffcb05 !important;
    background-color: #00274c;
    color: #ffcb05 !important;
}
