.pay {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: calc(100vh - 278px);
}

#pay-form {
    width: 500px;
    max-width: 100%;
}

.pay-pane {
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    /* width: 500px; */
    width: 100%;
    background-color: #fafafa;
    box-shadow: 0 0 20px rgba(0,0,0,.05), 0 20px 40px rgba(0,0,0,.05);
}

.pay-pane-header {
    background-color: #000;
    color: #fff;
    display: flex;
    padding: 20px;
}

.pay-pane-header__left {
    flex-grow: 1;
}

.pay-pane-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 4px;
}

.pay-pane-subtitle {
    font-size: 14px;
    color: #fff;
    opacity: 0.5;
}

.pay-pane-total-unpaid {
    font-size: 24px;
    font-weight: 500;
}

.pay-pane-body {
    padding: 30px 20px;
}

.pay-button {
    width: 100%;
    color: #fff;
    background-color: #07f;
    padding: 20px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: background-color .1s ease-out;
}

.pay-button:hover {
    background-color: #05f;
    color: #fff;
}

label {
    margin-bottom: 8px;
    font-weight: 600;
    display: block;
}

.form-group {
    margin-bottom: 30px;
}

.form-group:last-of-type {
    margin-bottom: 0;
}

.form-control {
    display: block;
    width: 100%;
    border: none;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .09), 0 1px 0 0 rgba(0, 0, 0, .1), 0 1px 2px 0 rgba(0, 0, 0, .1);
    padding: 5px 10px;
    font-size: 15px;
    color: #191919;
    -webkit-appearance: none;
    transition: box-shadow .1s ease-in-out;
    line-height: 1.42857;
    height: 38px;
    border-radius: 6px;
}

.form-control:focus {
    outline: 0;
    box-shadow: inset 0 0 0 2px #07f, 0 2px 4px rgba(0, 0, 0, .1), 0 0 1px rgba(0, 0, 0, .1);
    transition-duration: 0s;
}

.number-input {
    position: relative;
}

.number-input .number-input-currency {
    position: absolute;
    top: 10px;
    left: 10px;
}

.number-input .form-control {
    padding-left: 30px;
}

.error-box {
    width: 100%;
    display: none;
    color: red;
    font-size: 12px;
    margin-top: 8px;
}