* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: #0b0b0b;
  color: #fff;
  min-height: 100vh;
}

/* HEADER */
.header {
  width: 100%;
  padding: 18px 22px;
  background: linear-gradient(90deg, #000, #111);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #d4af37;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo {
  width: 65px;
  height: 65px;
  object-fit: contain;
  border-radius: 12px;
  border: 2px solid #d4af37;
  background: #000;
  padding: 6px;
}

.title-area h1 {
  font-size: 22px;
  font-weight: 700;
  color: #d4af37;
}

.title-area p {
  font-size: 12px;
  opacity: 0.8;
}

.badge {
  background: #d4af37;
  color: #000;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  letter-spacing: 1px;
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.35);
}

/* CONTAINER */
.container {
  max-width: 1100px;
  margin: auto;
  padding: 25px;
}

/* CARDS */
.card {
  background: #111;
  border: 1px solid rgba(212, 175, 55, 0.25);
  padding: 20px;
  border-radius: 18px;
  margin-bottom: 18px;
  box-shadow: 0 0 25px rgba(0,0,0,0.5);
}

.card h2 {
  font-size: 18px;
  color: #d4af37;
  margin-bottom: 14px;
}

/* GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.inputBox {
  display: flex;
  flex-direction: column;
}

.inputBox.full {
  grid-column: span 2;
}

/* INPUTS */
label {
  font-size: 12px;
  margin-bottom: 6px;
  opacity: 0.85;
}

input {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(212, 175, 55, 0.25);
  background: #0b0b0b;
  color: #fff;
  outline: none;
  font-size: 14px;
  transition: 0.2s;
  width: 100%;
}

input:focus {
  border-color: #d4af37;
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.25);
}

input[readonly] {
  opacity: 0.7;
  cursor: not-allowed;
}

/* BOTÕES */
.actions {
  display: flex;
  gap: 12px;
  margin-top: 15px;
  flex-wrap: wrap;
}

.actions {
  display: flex;
  gap: 12px;
  margin-top: 15px;
}

.btn-primary,
.btn-secondary,
.btn-preview {
  flex: 1;
  padding: 14px;
  border-radius: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s;
}

/* MOBILE */
@media(max-width: 768px) {
  .actions {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary,
  .btn-preview {
    width: 100%;
  }
}

.btn-primary {
  border: none;
  background: #d4af37;
  color: #000;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(212, 175, 55, 0.35);
}

.btn-secondary {
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: transparent;
  color: #d4af37;
}

.btn-secondary:hover {
  background: rgba(212, 175, 55, 0.08);
}

.btn-preview {
  border: 1px solid rgba(212, 175, 55, 0.8);
  background: rgba(212, 175, 55, 0.1);
  color: #d4af37;
}

.btn-preview:hover {
  background: rgba(212, 175, 55, 0.2);
  transform: translateY(-2px);
}

/* TIP */
.tip {
  margin-top: 15px;
  padding: 14px;
  border-radius: 14px;
  border: 1px dashed rgba(212, 175, 55, 0.5);
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  background: rgba(212, 175, 55, 0.04);
}

/* FOOTER */
.footer {
  margin-top: 25px;
  padding: 20px;
  text-align: center;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  font-size: 13px;
  opacity: 0.75;
}

/* MODAL */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
  padding: 20px;
}

.modal-content {
  width: 100%;
  max-width: 950px;
  background: #111;
  border-radius: 18px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  overflow: hidden;
  box-shadow: 0 0 35px rgba(0,0,0,0.8);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: #0b0b0b;
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
}

.modal-header h2 {
  font-size: 16px;
  color: #d4af37;
}

.close-modal {
  background: transparent;
  border: none;
  font-size: 18px;
  color: #fff;
  cursor: pointer;
  transition: 0.2s;
}

.close-modal:hover {
  color: #d4af37;
}

.modal-body {
  padding: 20px;
  max-height: 70vh;
  overflow-y: auto;
  background: #111;
}

.modal-footer {
  display: flex;
  gap: 12px;
  padding: 16px 20px;
  border-top: 1px solid rgba(212, 175, 55, 0.25);
  background: #0b0b0b;
}

/* MOBILE */
@media(max-width: 768px) {

  .container {
    padding: 18px;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .inputBox.full {
    grid-column: span 1;
  }

  .header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .title-area h1 {
    font-size: 18px;
  }

  .actions {
    flex-direction: column;
  }

  .modal-content {
    max-width: 100%;
    height: 90vh;
  }

  .modal-footer {
    flex-direction: column;
  }
}
.card {
  margin-bottom: 22px;
}

.actions {
  margin-top: 20px;
}