/* css copia da area de compra default/css/style.css */
.form input[type="submit"] {
  width: 100%;
}
.form input[type="text"] {
  width: 100%;
}
.feed-error {
  border-bottom-color: #C30;
  color: #C30;
}

.feed {
  float: left;
  width: 100%;
  font-weight: bold;
  font-size: 12px;
  background: #F9F9F9;
  border: #D9D9D9 1px solid;
  box-sizing: border-box;
  padding: 15px;
  color: #009966;
  border-bottom: #096 2px solid;
}

.heading {
  float: left;
  width: 100%;
  margin-bottom: 20px;
  margin-top: 10px;
}

.heading h1 {
  font-family: 'Varela Round', sans-serif;
  font-size: 25px;
  font-weight: normal;
  color: #3393D6;
  float: left;
}

.cart {
  float: left;
  width: 100%;
}

.cart .left {
  width: 50%;
  box-sizing: border-box;
  padding-right: 10px;
  float: left;
}

.cart .left .labels {
  float: left;
  width: 100%;
  padding-bottom: 5px;
}

.cart .left .labels strong {
  float: left;
  width: 33.3%;
  line-height: 14px;
  text-align: center;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: normal;
  color: #333;
}

.cart .left .labels strong:last-child {
  max-width: 130px;
  float: right;
}

.cart .item {
  float: left;
  width: 100%;
  margin-bottom: 10px;
  box-sizing: border-box;
  padding: 10px 15px;
  border: #CCC 1px solid;
  background: #F8F8F8;
}

.cart .item span {
  float: left;
  text-align: center;
  color: #333;
  font-weight: 600;
  width: 33.3%;
  box-sizing: border-box;
}

.cart .item span strong {
  font-size: 30px;
  line-height: 30px;
  font-family: 'Open Sans Condensed', sans-serif;
  color: #333;
}

.cart .item div {
  float: right;
  width: 33.3%;
  box-sizing: border-box;
  max-width: 85px;
}

.cart .item input[type="text"] {
  height: 45px;
  background: #EBEBEB;
  box-sizing: border-box;
  border: #FFF 2px solid;
  border-radius: 4px;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, .1);
  padding: 5px;
}

.cart .item input {
  border: #CCC 1px solid;
  background: #FFF;
  width: 60px;
  height: 50px;
  font-size: 30px;
  line-height: 50px;
  text-align: center;
  font-weight: bold;
  float: left;
}

.cart .item div a {
  background: #093;
  height: 20px;
  width: 27px;
  margin: 2px;
  border-radius: 4px;
  border: #FFF 2px solid;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, .2);
  line-height: 15px;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  color: #FFF;
  float: left;
}

.cart .right {
  width: 50%;
  box-sizing: border-box;
  padding-left: 10px;
  float: right;
  text-align: right;
}

.cart .info-cart {
  float: left;
  text-align: left;
  width: 100%;
  background: #246B99;
  padding: 15px;
  box-sizing: border-box;
  margin-bottom: 10px;
}

.cart .date {
  float: left;
  width: 100%;
  padding: 10px 0 20px 0;
  border-bottom: #FFF 1px solid;
  margin-bottom: 20px;
}

.cart .date strong {
  color: #FFF;
  font-size: 23px;
  font-family: 'Open Sans Condensed', sans-serif;
}

.cart .date a {
  background: #3394D6;
  border-radius: 100px;
  border: #FFF 2px solid;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, .2);
  font-family: 'Varela Round', sans-serif;
  position: relative;
  left: 5px;
  top: -4px;
  padding: 3px 7px;
  font-weight: bold;
  font-size: 11px;
  color: #FFF;
  display: inline-block;
}

.cart table {
  border-spacing: 0;
  border-collapse: collapse;
  width: 100%;
}

.cart table td {
  color: #FFF;
  padding: 10px 5px;
}

.cart table td strong {
  color: #FFF;
}

.cart table .total td {
  border-top: #FFF 1px solid;
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 800;
  padding: 10px 5px;
}

.cart table tr td:last-child {
  text-align: right;
}

.cart .buy-ticket {
  background: #3394D6 url(../../img/default/ticket-icon.png) no-repeat left;
  border-radius: 100px;
  font-size: 16px;
  border: #FFF 2px solid;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, .2);
  font-family: 'Varela Round', sans-serif;
  padding: 15px 15px 15px 50px;
  color: #FFF;
  display: inline-block;
}


/* novo */
body{
  text-align: inherit;
}
.ticket-header span.btn {
  float: left;
  line-height: 25px;
  padding: 40px;
}

.btn-sales,
.btn-voucher {
  border-radius: 20px;
  background-color: #FFF;
  color: #133e58;
  padding: 5px 15px;
  text-transform: uppercase;
  box-shadow: 2px 2px 0 #3B5367;
  font-weight: 700;
}

.btn-valida-todos {
  border-radius: 20px;
  background-color: #47a077;
  color: #fff;
  padding: 5px 15px;
  margin-right: 5px;
  text-transform: uppercase;
  box-shadow: 2px 2px 0 #347859;
  font-weight: 700;
  cursor: pointer;
}

.btn-valida-todos:hover {
  background-color: #fff;
  color: #47a077;
}

.btn-pagar, .btn-pago {
  border-radius: 20px;
  background-color: #008cff;
  color: #fff;
  padding: 5px 15px;
  margin-right: 5px;
  text-transform: uppercase;
  box-shadow: 2px 2px 0 #008cff;
  font-weight: 700;
  cursor: pointer;
}

.btn-pagar:hover,.btn-pago:hover {
  background-color: #fff;
  color: #008cff;
}

.btn-print-selected {
  border-radius: 20px;
  background-color: #0051ff;
  color: #fff;
  padding: 5px 15px;
  text-transform: uppercase;
  box-shadow: 2px 2px 0 #0051ff;
  font-weight: 700;
  cursor: pointer;
}

.btn-print-selected:hover {
  background-color: #fff;
  color: #0051ff;
}


/* ---------- Modal overlay ---------- */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
.modal-overlay.active {
  display: flex;
}
.modal-box {
  background: #fff;
  padding: 1.5rem;
  border-radius: 4px;
  width: 340px;
  max-width: 90%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.modal-header .modal-close {
  cursor: pointer;
  font-size: 1.2rem;
  border: none;
  background: none;
}
.modal-body { margin-bottom: 1rem; }


.heading {
  margin-top: 40px;
}

.forma-pagamento label,
.valor-recebido label{
  font-weight: 600;
  float: left;
  margin-bottom: 5px;
}
.forma-pagamento,
.valor-recebido{
  margin-bottom: 10px;
}


.page-before,
.page-after,
.fechar {
  background: #3394D6;
  border-radius: 100px;
  font-size: 16px;
  border: #FFF 2px solid;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, .2);
  font-family: 'Varela Round', sans-serif;
  padding: 10px 30px 10px 30px;
  color: #FFF;
  font-weight: 600;
  display: inline-block;
}
.page-before:hover,
.page-after:hover,
.fechar:hover {
  color:#24537b;
}

.troco h4{
  font-size: 20px;
}

.input-danger{
  background-color: rgba(255, 0, 0, 0.25);
  height: auto;
  width: 100%;
  border-radius: 10px;
  display: inline-block;
  margin: 20px 0;
  padding: 15px;
}

.page-after,
.buy-ticket{
  float: right;
}

.table-responsive{
  overflow-x:auto;
}

.info-vendas,
.relatorio-vendas{
  margin-bottom: 20px;
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}
.info-vendas thead tr th{
  font-size: 25px;
}

.info-vendas thead tr th,
.info-vendas tbody tr td{
  text-align: center;
  padding-left: 25px;
}

.filtros{
  margin-top: 50px;
}
.exportar-relatorio{
  display: inline;
  float: right;
  margin-top: 50px;
}
.exportar-relatorio li{
  display: inline-block;
  margin-left: 10px;
}

.relatorio-vendas thead tr th{
  background-color: #e4e4e4;
}
.relatorio-vendas thead tr th,
.relatorio-vendas tbody tr td{
  text-align: center;
  border: 1px solid #f2f2f2;
  padding: 10px;
}

.page-buttons{
  margin-top: 20px;
}

/* 14/12/2017 */
table{
  border-right: none;
}
.m-t-md{
  margin-top: 24px;
}
.btn-flex{
  margin-top: 24px;
  display: flex;
}
.btn-primary{
  margin-right: 5px;
}

.info-vendas{
  border: none;
}
.input-data{
  width: 100%;
  float: left;
  padding: 0 15px;
}
.filtros input{
  position: relative;
}
.input-group{
  position: relative;
  display: table;
  border-collapse: separate;
  width: 100%;
}
.data-icon{
  padding: 9px 10px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  color: #555;
  text-align: center;
  background-color: #eee;
  border: 1px solid #ccc;
  border-bottom-right-radius: 4px;
  border-top-right-radius: 4px;
  position: absolute;
  top: 0px;
  right: 15px;
}
.range{
  padding: 0 15px;
  text-align: center;
  line-height: 30px;
  width: 5%;
  float: none;
}

@media (min-width: 768px){
  .data-venda{
    width: 45%;
  }
  .m-l{
    margin-left: 45px;
  }
  .form input[type="submit"],
  .form input[type="text"] {
    font-size: 18px;
  }
}
@media (min-width: 992px){
  .form input[type="submit"],
  .form input[type="text"] {
    font-size: 25px;
  }
}
@media (min-width: 1200px){
  .form input[type="submit"],
  .form input[type="text"] {
    font-size: 38px;
  }
}


/* changing sweetalert modal properties */
.sweet-alert h2{
  padding: 10px;
  font-size: 20px;
}
.sweet-alert .btn-primary{
  border-radius: 100px;
  margin-top: 10px;
  padding: 5px 40px;
  border: 3px solid #fff;
  background: #3394D6;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, .2);
}

/* change bootstrap modal */
.modal-header .close{
  float: right;
  background-color: transparent;
  font-weight: bold;
}
.modal-header .modal-title{
  text-align: left;
  text-transform: uppercase;
}
.modal-body{
  text-align: center;
}

@media (min-width:768px){
  .range{
    margin-left: -25px;
    float: left;
    position: absolute;
    left: 50%;
  }
}

/* change datepicker plugin */
.ui-datepicker{
  width: 18em;
}
.ui-datepicker table{
  border-right: none;
}

.c3-shapes{
  width: 100%;
  height: 100px!important;
}

/* 21/12/2017 */
.filtros label{
  font-size: 13px;
}

/* ---- Estado desativado para todos os botões de ação ---- */
.btn-valida-todos[disabled],
.btn-print-selected[disabled],
.btn-whats-selected[disabled],
.btn-pagar[disabled],
.btn-pago[disabled],
.btn.disabled {               /* caso use <a class="btn disabled"> */
  background: #bfbfbf !important;   /* cinza médio */
  color: #000 !important;           /* texto preto */
  box-shadow: none !important;
  cursor: not-allowed !important;
  filter: grayscale(30%);
}

/* remove efeito hover quando estiver desativado */
.btn-valida-todos[disabled]:hover,
.btn-print-selected[disabled]:hover,
.btn-whats-selected[disabled]:hover,
.btn-pagar[disabled]:hover,
.btn-pago[disabled]:hover {
  background: #bfbfbf !important;
  color: #000 !important;
}

/* bilheteria.css */
.disabled-btn,
.disabled-btn:hover{
    background:#bfbfbf!important;   /* cinza */
    color:#000!important;           /* texto preto */
    cursor:not-allowed!important;
    pointer-events:none;            /* ancora <a> não clica */
}

/* pequeno ícone/remover */
.btn-remove { background:#e53e3e; color:#fff; border:0; border-radius:50%; width:26px; height:26px; cursor:pointer }
.btn-remove:hover { opacity:.85 }


/* --- Historico de Vendas --- */
.historico-wrapper{
  display:flex;
  gap:20px;
  align-items:flex-start;
}
.historico-table-wrap{
  flex:1;
}
.historico-title{
  font-size:20px;
  color:#1f5c83;
  margin:10px 0 15px 0;
}
.historico-filtros{
  width:260px;
  background:#f2f2f2;
  border:1px solid #ddd;
  padding:12px;
}
.historico-filtros label{
  font-weight:600;
  display:block;
  margin:8px 0 4px 0;
}
.historico-filtros input{
  width:100%;
  padding:6px 8px;
  border:1px solid #ccc;
  border-radius:4px;
}
.historico-filtros .btn-filtrar{
  margin-top:10px;
  width:100%;
  background:#d9d9d9;
  border:1px solid #c4c4c4;
  padding:6px 10px;
  font-weight:700;
  text-transform:uppercase;
}
.historico-table{
  width:100%;
  border-collapse:collapse;
}
.historico-table th,
.historico-table td{
  border:1px solid #efefef;
  padding:8px;
  text-align:center;
}
.historico-table th{
  background:#e4e4e4;
  font-size:13px;
  text-transform:uppercase;
}
.historico-actions .btn-icon{
  display:inline-flex;
  align-items:center;
  gap:4px;
  border:1px solid #bdbdbd;
  background:#fff;
  padding:4px 6px;
  border-radius:4px;
  margin:0 2px;
  cursor:pointer;
}
.historico-actions .btn-icon .btn-label{
  font-size:11px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.2px;
}
.historico-actions .btn-icon.btn-danger{
  border-color:#e06b6b;
  color:#c0392b;
}
.historico-actions .btn-icon.btn-edit{
  border-color:#6c8ebf;
  color:#1f5c83;
}

.modal-box.modal-large{
  width:900px;
  max-width:95%;
}
.modal-box .section-title{
  font-weight:700;
  margin:10px 0 6px 0;
  color:#1f5c83;
}
.vouchers-table,
.pagamentos-table{
  width:100%;
  border-collapse:collapse;
}
.vouchers-table th,
.vouchers-table td,
.pagamentos-table th,
.pagamentos-table td{
  border:1px solid #e6e6e6;
  padding:6px;
  text-align:left;
}
.vouchers-table th,
.pagamentos-table th{
  background:#f7f7f7;
  font-size:12px;
  text-transform:uppercase;
}
.voucher-deleted{
  opacity:0.5;
  text-decoration:line-through;
}
.total-resumo{
  margin-top:10px;
  padding:8px;
  background:#f7f7f7;
  border:1px solid #e0e0e0;
}
.total-resumo .warn{
  color:#c0392b;
  font-weight:700;
}

@media (max-width: 1024px){
  .historico-wrapper{flex-direction:column;}
  .historico-filtros{width:100%;}
}


.historico-filtros .filter-title{
  background:#dcdcdc;
  color:#333;
  font-weight:700;
  padding:6px 8px;
  margin:-12px -12px 10px -12px;
  text-transform:uppercase;
  font-size:12px;
}
.historico-filtros .row-datas{
  display:flex;
  gap:10px;
}
.historico-filtros .row-datas .col{
  flex:1;
}

.ticket-content{
  clear: both;
}


/* --- Modal edit venda: permitir scroll --- */
#modal-edit-venda .modal-box.modal-large{
  display:flex;
  flex-direction:column;
  max-height:90vh;
}
#modal-edit-venda .modal-body{
  overflow:auto;
  max-height:calc(90vh - 120px);
}
