/* ——— Edit Form Container ——— */
.vvd-edit-form-container {
  max-width: 100%;
  margin: 0;
  padding: 0;
}

/* ——— Two-column grid for WYSIWYG fields ——— */
.vvd-wysiwyg-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 1.5rem;
  align-items: start;    /* ensure each field cell is top-aligned */
  margin-bottom: 2rem;
}

.vvd-input {
    border: 1px solid #ccc !important;
}


@media (max-width: 768px) {
  .vvd-wysiwyg-section {
    grid-template-columns: 1fr; /* stack on mobile */
  }
}

/* Each cell inside the WYSIWYG grid */
.vvd-field-cell {
  margin-bottom: 1rem;
}

/* Label inside each cell */
.vvd-field-cell label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

/* ——— Taxonomy checkboxes in multi-column fieldset ——— */
.vvd-taxonomy-fieldset {
  border: 1px solid #e1e1e1;
  padding: 1rem;
  margin-bottom: 2rem;
}
.vvd-taxonomy-fieldset legend {
  font-weight: bold;
  margin-bottom: 0.5rem;
}
.vvd-taxonomy-fieldset .vvd-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  grid-gap: 0.5rem;
  max-height: 200px;       /* scroll if there are many terms */
  overflow-y: auto;
}
.vvd-taxonomy-fieldset label {
  display: flex;
  align-items: center;
}
.vvd-taxonomy-fieldset input[type="checkbox"] {
  margin-right: 0.5rem;
}

/* ——— Booking Settings section ——— */
.vvd-booking-settings {
  border-top: 2px solid #ddd;
  padding-top: 1.5rem;
  margin-top: 2rem;
}
.vvd-booking-settings p {
  margin-bottom: 1.25rem;
}
.vvd-booking-settings label {
  font-weight: 600;
  display: block;
  margin-bottom: 0.25rem;
}
.vvd-booking-settings input[type="number"] {
  width: 100px;
}


/* Prevent Woo or theme styles from applying striping */
/*.vvd-bookings-table tr {
    background-color: transparent !important;
}

.vvd-bookings-table tbody tr:nth-child(odd),
.vvd-bookings-table tbody tr:nth-child(even) {
    background: none !important;
}*/

/* Maintain cell padding */
.vvd-bookings-table td, 
.vvd-bookings-table th {
    padding: 15px;
}



/* Base Notice Styling */
.vvd-notice {
	padding: 1em 1.5em;
	margin: 1em 0;
	border-left: 4px solid transparent;
	background-color: #f1f1f1;
	color: #333;
	border-radius: 4px;
}

/* Success = green */
.vvd-notice-success {
	border-left-color: #46b450;
	background-color: #ecfdf3;
	color: #1a531b;
}

/* Error = red */
.vvd-notice-error {
	border-left-color: #dc3232;
	background-color: #fdecea;
	color: #841c1c;
}

/* Info = blue */
.vvd-notice-info {
	border-left-color: #00a0d2;
	background-color: #e7f5ff;
	color: #135e96;
}


/* Back to Dashboard Link Style */
.vvd-back {
    padding: 0;
    margin-bottom: 30px !important;
    display: block;
}
.vvd-back a {
    color: #F59527 !important;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
}
.vvd-back a:focus {
    text-decoration: underline !important;
}

/* Move Gallery Image Cursor */
.vvd-gallery-item {
    cursor: move;
    border-radius: 4px;
}

/* Thumbnail on My Bookable Listings */
.vvd-thumbnail {
    display: inline-block;
    vertical-align: middle;
    margin-right: 20px;
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 1px solid #ccc;
    border-radius: 4px !important;
}

.vvd-thumbnail-placeholder {
    display: inline-block;
    width: 60px;
    height: 60px;
    background: #eee;
    text-align: center;
    line-height: 60px;
    font-size: 10px;
    color: #666;
}

/***************************************************************/
/** Vendor Approval Section **/
.vvd-listing-item {
  background: #f9f9f9;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid #ddd;
}

.vvd-listing-header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.vvd-listing-title {
  font-weight: bold;
  font-size: 18px;
}

.vvd-listing-id {
  font-size: 13px;
  color: #777;
}

.vvd-listing-meta p {
  margin: 4px 0;
}

.vvd-listing-actions {
  margin-top: 12px;
  display: flex;
  gap: 10px;
}

.vvd-link {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  color: white;
}

.vvd-link-approve { background: #28a745; }
.vvd-link-decline { background: #dc3545; }
.vvd-link-suggest { background: #ffc107; color: black; }

.vvd-badge {
  background-color: #ffc107;
  color: black;
  font-size: 14px;
  padding: 2px 8px;
  border-radius: 12px;
  margin-left: 10px;
}

.status-pending {
  color: #ffc107;
  font-weight: bold;
}

.status-approved {
  color: #28a745;
  font-weight: bold;
}

.status-declined {
  color: #dc3545;
  font-weight: bold;
}

.status-vendor-suggested {
  color: #007bff;
  font-weight: bold;
}

