/*
=================================================
 CATTLEMANIA CREATE AD PAGE
=================================================
*/

/* PAGE WRAPPER */

.ad-section-page {
  width: 100%;
}

/* HEADER */

.ad-section-page .page-header {
  margin-bottom: 25px;
}

.ad-section-page .page-header h1 {
  font-size: 28px;

  color: #ffffff;

  margin-bottom: 8px;
}

.ad-section-page .page-header p {
  color: #94a3b8;

  font-size: 15px;
}

/* PAGE GRID */

.ad-content-grid {
  display: grid;

  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);

  gap: 20px;

  align-items: start;
}

/* COLUMNS */

.main-column,
.side-column {
  display: flex;

  flex-direction: column;

  gap: 20px;
}

/* WIDGET CARD */

.ad-section-page .widget-card {
  background: linear-gradient(
    145deg,
    rgba(15, 23, 42, 0.95),
    rgba(15, 24, 53, 0.95)
  );

  border: 1px solid rgba(255, 255, 255, 0.08);

  border-radius: 16px;

  padding: 22px;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

/* WIDGET HEADER */

.ad-section-page .widget-header {
  padding-bottom: 15px;

  margin-bottom: 20px;

  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ad-section-page .widget-header h2 {
  color: #ffffff;

  font-size: 20px;

  font-weight: 600;
}

/* BODY */

.ad-section-page .widget-body {
  color: #cbd5e1;

  line-height: 1.6;
}

/* FORM LABELS */

.ad-section-page label {
  display: block;

  margin-top: 18px;

  margin-bottom: 8px;

  color: #e5e7eb;

  font-size: 14px;

  font-weight: 500;
}

/* INPUTS */

.ad-section-page input,
.ad-section-page textarea,
.ad-section-page select {
  width: 100%;

  padding: 13px 14px;

  background: #111827;

  border: 1px solid rgba(255, 255, 255, 0.1);

  border-radius: 10px;

  color: #ffffff;

  font-size: 14px;

  transition: 0.2s;
}

.ad-section-page input:focus,
.ad-section-page textarea:focus,
.ad-section-page select:focus {
  outline: none;

  border-color: #3b82f6;

  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.ad-section-page textarea {
  min-height: 130px;

  resize: vertical;
}

/* SELECT OPTIONS */

.ad-section-page option {
  background: #111827;

  color: white;
}

/* BUTTON */

.ad-section-page button {
  width: 100%;

  margin-top: 25px;

  padding: 14px;

  border: none;

  border-radius: 12px;

  background: #dc2626;

  color: white;

  font-size: 15px;

  font-weight: 700;

  cursor: pointer;

  transition: 0.2s;
}

.ad-section-page button:hover {
  background: #b91c1c;

  transform: translateY(-1px);
}

/* INFORMATION BOX */

.ad-section-page .info-box {
  background: rgba(17, 25, 51, 0.8);

  padding: 18px;

  border-radius: 12px;

  color: #cbd5e1;
}

/* LINKS */

.ad-section-page a {
  color: #60a5fa;

  text-decoration: none;

  font-weight: 600;
}

.ad-section-page a:hover {
  color: white;
}

/* RULE LIST */

.ad-section-page ul {
  padding-left: 20px;
}

.ad-section-page li {
  margin-bottom: 10px;
}

/* ALERT */

.ad-section-page .alert {
  margin-top: 20px;

  padding: 15px;

  border-radius: 12px;

  background: #1f2937;

  color: white;
}

/* MOBILE */

@media (max-width: 900px) {
  .ad-content-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .ad-section-page .widget-card {
    padding: 16px;
  }

  .ad-section-page .page-header h1 {
    font-size: 22px;
  }
}
