﻿.labelForm {
    line-height: 1.3rem;
    text-align: center;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #7d7d7d;
    font-size: 1.2rem;
}

.espacamento {
    margin-top: 80px !important;
    margin-left: 160px !important;
    border-radius: 15px
}
.form-control-lg {
    /* min-height: calc(0.1em + 1rem + 2px); */
    padding: 0.5rem 1rem;
    font-size: 1rem;
    border-radius: 0.5rem;
}

.view-100 {
    height: 100vh;
}


.footer {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 180px;
    width: 100%;
}

.footer-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 9999;
    width: 100%;
}
.sombra {
    text-shadow: green 0.1em 0.1em 0.1em
}
.display-none-mobile{
    display:flex !important;
}
.display-none-desk {
    display: none !important;
}

.load {
    position: fixed;
    background-color: #fff;
    z-index: 5000;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.table-view-off{

}

.table-view-off-block {
    display:none;
}
@media only screen and (max-width: 800px) {
    .table-view-off-block {
    }

    .table-view-off {
        display:none;
    }
    .espacamento {
        margin-top: 60px !important;
        margin-left: 0 !important;
        border-radius: 20px
    }

    .display-none-mobile {
        display: none !important;
    }

    .display-none-desk {
        display: flex !important;
    }
}

/* Modal de cartão no mesmo padrão visual do CatalogoNew */
#modalPagamentoCartao {
    --text-dark: #1a1a1a;
    --text-muted: #717171;
    --bg-body: #f8f9fa;
    --bg-card: #ffffff;
    --border-color: #f0f0f0;
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100dvh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 13000;
    display: none;
    align-items: flex-end;
    justify-content: center;
    backdrop-filter: blur(4px);
}

#modalPagamentoCartao.active {
    display: flex;
}

#modalPagamentoCartao .modal-container {
    width: 100%;
    max-width: 600px;
    max-height: 90dvh;
    background: var(--bg-body);
    border-radius: 20px 20px 0 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: pagamentoCartaoSlideUp 0.3s cubic-bezier(0, 0, 0.2, 1);
}

@keyframes pagamentoCartaoSlideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

#modalPagamentoCartao .modal-online-container {
    position: relative;
    width: 100%;
    max-width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
}

#modalPagamentoCartao .generic-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    min-height: 68px;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 50;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
}

#modalPagamentoCartao .back-btn {
    width: 38px;
    height: 38px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: var(--text-dark);
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#modalPagamentoCartao .modal-agendamento-header-spacer {
    width: 38px;
    height: 38px;
}

#modalPagamentoCartao .modal-online-body {
    flex: 1 1 auto;
    min-height: 0;
    padding: 20px 20px calc(24px + env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    background: var(--bg-body);
}

#modalPagamentoCartao .online-card-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#modalPagamentoCartao .online-card-hero {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 14px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(47, 115, 255, 0.1), rgba(50, 188, 173, 0.08));
    border: 1px solid rgba(47, 115, 255, 0.12);
}

#modalPagamentoCartao .online-card-hero-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.8);
    color: #1f4ed8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

#modalPagamentoCartao .online-card-hero-copy { min-width: 0; }

#modalPagamentoCartao .online-card-hero-title {
    display: block;
    color: var(--text-dark);
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 2px;
}

#modalPagamentoCartao .online-card-hero-text {
    margin: 0;
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.45;
}

#modalPagamentoCartao .online-card-hero-total {
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--text-dark);
    font-size: 16px;
    font-weight: 900;
    white-space: nowrap;
}

#modalPagamentoCartao .online-card-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

#modalPagamentoCartao .online-card-label {
    color: var(--text-dark);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.01em;
}

#modalPagamentoCartao .online-card-input {
    width: 100%;
    min-height: 50px;
    margin-bottom: 0 !important;
    padding: 14px 15px;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    background: #fff;
    color: var(--text-dark);
    font-size: 15px;
    outline: none;
    box-sizing: border-box;
}

#modalPagamentoCartao .online-card-input:focus {
    border-color: #2f73ff;
}

#modalPagamentoCartao .online-card-select {
    appearance: none;
    -webkit-appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--text-muted) 50%), linear-gradient(135deg, var(--text-muted) 50%, transparent 50%);
    background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 38px;
}

#modalPagamentoCartao .online-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

#modalPagamentoCartao .online-card-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
    flex-shrink: 0;
    padding: 15px 20px calc(16px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--border-color);
    background: var(--bg-card);
}

#modalPagamentoCartao .online-card-actions button {
    width: 100%;
    min-height: 50px;
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

#modalPagamentoCartao .btn-finalizar-secondary {
    color: var(--text-dark);
    background: var(--bg-body);
    border: 1px solid var(--border-color);
}

#modalPagamentoCartao .btn-finalizar {
    color: #fff;
    background: #292929;
    border: none;
}

#modalPagamentoCartao #form-checkout__identificationType,
#modalPagamentoCartao #containerBandeiraCartao,
#modalPagamentoCartao #form-checkout__issuer {
    display: none !important;
    visibility: hidden !important;
    position: absolute !important;
    pointer-events: none !important;
}

@media only screen and (max-width: 420px) {
    #modalPagamentoCartao .modal-online-body {
        padding: 16px 16px calc(88px + env(safe-area-inset-bottom, 0px));
    }

    #modalPagamentoCartao .online-card-hero {
        grid-template-columns: auto 1fr;
    }

    #modalPagamentoCartao .online-card-hero-total {
        grid-column: 1 / -1;
        justify-self: stretch;
        text-align: center;
    }

    #modalPagamentoCartao .online-card-actions {
        padding: 14px 16px calc(26px + env(safe-area-inset-bottom, 0px));
    }
}
