#agefy-youtube-producoes {
  margin: 24px 0;
  padding: 22px;
  border: 1px solid #b77800;
  border-radius: 18px;
  background: #13213d;
}

#agefy-youtube-producoes * {
  box-sizing: border-box;
}

.ayp-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 18px;
}

.ayp-header h2 {
  margin: 0;
  color: #fff;
}

.ayp-header p {
  margin: 6px 0 0;
  color: #b8c5d9;
  line-height: 1.5;
}

.ayp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ayp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border: 0;
  border-radius: 10px;
  background: #ffb400;
  color: #111827;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.ayp-button.secondary {
  background: #263754;
  color: #fff;
  border: 1px solid #425475;
}

.ayp-table-wrap {
  overflow-x: auto;
  border: 1px solid #2b3d5d;
  border-radius: 13px;
}

.ayp-table {
  width: 100%;
  min-width: 800px;
  border-collapse: collapse;
}

.ayp-table th,
.ayp-table td {
  padding: 13px 12px;
  border-bottom: 1px solid #2b3d5d;
  text-align: left;
  vertical-align: top;
}

.ayp-table th {
  background: #0b1730;
  color: #fff;
  font-size: 12px;
  text-transform: uppercase;
}

.ayp-table td {
  color: #d8e1ef;
}

.ayp-title {
  color: #fff;
  font-weight: 750;
}

.ayp-status {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255, 180, 0, 0.18);
  color: #ffb400;
  font-size: 12px;
  font-weight: 750;
}

.ayp-empty {
  padding: 28px;
  text-align: center;
  color: #b8c5d9;
}

.ayp-empty strong {
  display: block;
  margin-bottom: 8px;
  color: #fff;
}

.ayp-view {
  border: 0;
  background: transparent;
  color: #ffb400;
  font-weight: 750;
  cursor: pointer;
}

.ayp-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(2, 8, 23, 0.82);
}

.ayp-modal.visible {
  display: flex;
}

.ayp-modal-card {
  width: min(900px, 100%);
  max-height: 88vh;
  overflow: auto;
  padding: 22px;
  border: 1px solid #425475;
  border-radius: 16px;
  background: #101d35;
  color: #fff;
}

.ayp-modal-card pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: #d8e1ef;
  line-height: 1.6;
}

.ayp-modal-top {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 15px;
}

@media (max-width: 720px) {
  .ayp-header {
    flex-direction: column;
  }
}

/* AGEFY_YOUTUBE_PRODUCOES_COMPACT_V2_START */

#agefy-youtube-producoes {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 22px 0 !important;
  padding: 20px !important;
  align-self: start !important;
  overflow: visible !important;
}

#agefy-youtube-producoes .ayp-header {
  margin-bottom: 14px !important;
}

#agefy-youtube-producoes .ayp-empty {
  display: grid !important;
  place-content: center !important;
  min-height: 105px !important;
  height: auto !important;
  margin-top: 8px !important;
  padding: 20px !important;
  border: 1px dashed #425475 !important;
  border-radius: 12px !important;
  background: rgba(7, 19, 40, 0.32) !important;
}

#agefy-youtube-producoes .ayp-table-wrap {
  max-height: 430px !important;
  overflow: auto !important;
}

#agefy-youtube-producoes .ayp-button {
  white-space: nowrap !important;
}

@media (max-width: 760px) {
  #agefy-youtube-producoes {
    padding: 16px !important;
  }

  #agefy-youtube-producoes .ayp-actions {
    width: 100% !important;
  }

  #agefy-youtube-producoes .ayp-button {
    flex: 1 1 100% !important;
  }
}

/* AGEFY_YOUTUBE_PRODUCOES_COMPACT_V2_END */
