/* tabela */
.uap-table-wrap {
  overflow-x: auto;
  margin-top: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.uap-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  font-size: 0.95rem;
  text-align: center;
  margin-bottom: 0 !important;
}

.uap-table thead {
  background: #000; /* cinza mais escuro */
  color: #fff; /* texto branco */
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.85rem;
}
.uap-table th,
.uap-table td {
  padding: 1rem;
  border-bottom: 1px solid #d1d5db;
}

.uap-table tbody tr:nth-child(odd) {
  background: #f3f4f6; /* cinza claro */
}

.uap-table tbody tr:nth-child(even) {
  background: #fff; /* cinza um pouco mais escuro */
}

.uap-table tbody tr:hover {
  background: #d1d5db; /* destaque no hover */
  transition: background 0.2s ease;
}

.uap-title {
  font-weight: 500;
  color: #111827;
}

.uap-muted {
  color: #9ca3af;
}

.uap-btn{
  background-color: #000;
  transition: 0.5s all;
}

.uap-btn:hover{
  background-color: #FFB700;
  transition: 0.5s all;
  color: #000;
}

.uap-btn-link {
  display: inline-block;
  padding: 0.4rem 0.75rem;
  background: #000;
  color: #fff !important;
  border-radius: 0.5rem;
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.2s ease;
  height: 32px;
}

.uap-table thead tr th{
  padding: 10px 0 !important;
}

/* Badges */
.uap-badge {
  padding: 0.35rem 0.7rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-block;
}

.uap-badge.uap-publish {
  background: #dcfce7;
  color: #15803d;
}

.uap-badge.uap-draft {
  background: #fef9c3;
  color: #b45309;
}

.uap-badge.uap-pending {
  background: #dbeafe;
  color: #1d4ed8;
}
.uap-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
button#uap-open-modal{
    background: #000;
    transition: 0.5s all;
}

#uap-open-modal:hover{
  background: #FFB700;
}

/* modal */
.uap-modal{
    position:fixed;
    inset:0;
    display:none;
    z-index: 100;
}
button#uap-close-modal {
    background: #000;
    color: #fff;
}
.uap-modal.is-open{
    display:block;
}
.uap-modal__backdrop{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.5);
}
.uap-modal__dialog{
  position:relative;
  z-index:2;
  max-width:720px;
  margin:5vh auto;
  background:#fff;
  border-radius:1rem;
  padding:1.25rem;
  box-shadow:0 10px 30px rgba(0,0,0,.15);
  max-height: 93vh;
  overflow-y: scroll;
}
.uap-modal__title{
    margin:0 0 .75rem 0;
}
.uap-modal__close{
    position:absolute;
    top:.5rem;right:.75rem;
    background:transparent;
    border:0;
    font-size:1.5rem;
    cursor:pointer;
}
#uap-form label{
    display:block;
    margin-top:.75rem;
    margin-bottom:.25rem;
}
#uap-form input[type="text"],#uap-form input[type="number"],#uap-form select,#uap-form textarea{
  width:100%;
  padding:.6rem;
  border:1px solid #e5e7eb;
  border-radius:.5rem;
}
.uap-grid-2{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:.75rem;
}

.uap-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px; /* espaçamento entre os campos */
}
.uap-actions{
    margin-top:1rem;
    display:flex;
    gap:.5rem;
    justify-content:flex-end;
}
.woocommerce-MyAccount-navigation-link--orders , .woocommerce-MyAccount-navigation-link--downloads , .woocommerce-MyAccount-navigation-link--edit-address{
  display: none !important;
}
tr.woocommerce-shipping-totals.shipping{
    display: none !important;
}

button.whatsapp-button{
  background-color: #25d366 !important;
  color: #fff;
}
.uap-section{
  margin-bottom: 20px;
}