/* Alto Nashville Shift4 Payment Form */

.alto-shift4-wrap {
    max-width: 860px;
    margin: 30px auto;
    padding: 0;
    font-family: inherit;
}

.alto-shift4-header {
    padding: 28px 30px;
    margin-bottom: 18px;
    border: 1px solid #e3e5e8;
    border-radius: 12px;
    background: #fff;
}

.alto-shift4-header h2 {
    margin: 0 0 8px;
    font-size: 30px;
    line-height: 1.2;
}

.alto-shift4-header p {
    margin: 0;
    color: #666;
}

.alto-shift4-form {
    padding: 0;
}

.alto-shift4-section {
    margin-bottom: 18px;
    padding: 26px 30px;
    border: 1px solid #e3e5e8;
    border-radius: 12px;
    background: #fff;
}

.alto-shift4-section h3 {
    margin: 0 0 20px;
    font-size: 20px;
}

.alto-shift4-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.alto-field label {
    display: block;
    margin-bottom: 7px;
    font-weight: 600;
}

.alto-field input {
    width: 100%;
    box-sizing: border-box;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid #cfd3d8;
    border-radius: 7px;
    background: #fff;
    font-size: 16px;
}

.alto-field input:focus {
    outline: none;
    border-color: #222;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.08);
}

.alto-money {
    display: flex;
    align-items: center;
    overflow: hidden;
    border: 1px solid #cfd3d8;
    border-radius: 7px;
    background: #fff;
}

.alto-money span {
    padding-left: 13px;
    font-weight: 600;
}

.alto-money input {
    border: 0;
    box-shadow: none;
}

.alto-money input:focus {
    box-shadow: none;
}

.alto-secure-note {
    margin: -4px 0 18px;
    padding: 12px 14px;
    border-radius: 7px;
    background: #f5f7f9;
    color: #4c5560;
    font-size: 14px;
    line-height: 1.5;
}

.alto-i4go-frame {
    width: 100%;
    min-height: 100px;
}

.alto-status {
    margin: 14px 0;
    padding: 12px 14px;
    border-radius: 7px;
    font-size: 14px;
    line-height: 1.4;
}

.alto-status-info {
    background: #eef5ff;
    color: #214a7a;
}

.alto-status-success {
    background: #edf9f0;
    color: #1c642e;
}

.alto-status-error {
    background: #fff0f0;
    color: #8a1f1f;
}

.alto-status-warning {
    background: #fff8e7;
    color: #775400;
}

.alto-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
    cursor: pointer;
}

.alto-checkbox input {
    margin-top: 4px;
    flex: 0 0 auto;
}

.alto-sale-button {
    display: block;
    width: 100%;
    min-height: 52px;
    padding: 13px 20px;
    border: 0;
    border-radius: 8px;
    background: #111;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
}

.alto-sale-button:hover {
    background: #292929;
}

.alto-sale-button:disabled {
    opacity: .6;
    cursor: wait;
}

.alto-success-box {
    margin-top: 18px;
    padding: 28px;
    border: 1px solid #b9dfc0;
    border-radius: 12px;
    background: #f1fbf3;
}

.alto-success-box h3 {
    margin-top: 0;
}

.alto-success-box p {
    margin: 7px 0;
}

.alto-small {
    font-size: 13px;
    opacity: .75;
}

@media (max-width: 680px) {
    .alto-shift4-header,
    .alto-shift4-section {
        padding: 20px;
        border-radius: 9px;
    }

    .alto-shift4-grid {
        grid-template-columns: 1fr;
    }

    .alto-shift4-header h2 {
        font-size: 25px;
    }
}


/* Payment confirmation - matches the working authorization success screen */
.alto-success-box {
    margin-top: 18px;
    padding: 28px;
    border: 1px solid #b9dfc0;
    border-radius: 12px;
    background: #f1fbf3;
}

.alto-success-box h3 {
    margin-top: 0;
    margin-bottom: 16px;
}

.alto-success-box p {
    margin: 7px 0;
}

.alto-small {
    font-size: 13px;
    opacity: .75;
    margin-top: 18px !important;
}

.alto-id-upload input[type="file"] {
    padding: 10px;
    min-height: 46px;
}

.alto-signature-wrap {
    width: 100%;
}

.alto-signature-pad {
    display: block;
    width: 100%;
    max-width: 760px;
    height: 220px;
    box-sizing: border-box;
    border: 1px solid #cfd3d8;
    border-radius: 8px;
    background: #fff;
    cursor: crosshair;
    touch-action: none;
}

.alto-signature-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
}

.alto-signature-clear {
    padding: 8px 12px;
    border: 1px solid #cfd3d8;
    border-radius: 6px;
    background: #fff;
    color: #222;
    cursor: pointer;
}

.alto-signature-clear:hover {
    background: #f5f5f5;
}


.alto-signature-wrap {
    width: 100%;
    max-width: 900px;
    border: 1px solid #d7dce2;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
    margin: 8px 0 10px;
}
#alto-signature-pad {
    display: block;
    width: 100%;
    height: 240px;
    min-height: 180px;
    touch-action: none;
    cursor: crosshair;
    background: #fff;
}
.alto-secondary-button {
    display: inline-block;
    padding: 9px 14px;
    border: 1px solid #c8cdd3;
    border-radius: 6px;
    background: #f6f7f8;
    cursor: pointer;
}
.alto-secondary-button:hover {
    background: #eef0f2;
}
.alto-id-upload input[type="file"] {
    display: block;
    width: 100%;
    max-width: 600px;
    margin-top: 6px;
}
.alto-small {
    font-size: .92em;
    opacity: .78;
}


.alto-alternate-card-prompt {
    margin: 12px 0;
    padding: 14px 16px;
    border: 1px solid #d7a6a6;
    border-radius: 7px;
    background: #fff7f7;
}
.alto-alternate-card-prompt strong {
    font-weight: 700;
}
.alto-alternate-card-prompt p {
    margin: 6px 0 0;
}

.alto-refresh-card-button {
    margin-top: 12px;
}

.alto-refresh-card-button:disabled {
    opacity: .65;
    cursor: wait;
}
