/* ============================================================
   Brandly Names Engine – Frontend + Admin UI Styles
   Author: WP Plugin Suite
   Version: 1.0.0
============================================================ */

/* ========== Reset & Basics ========== */
body {
  font-family: 'Segoe UI', Roboto, Helvetica, sans-serif;
  line-height: 1.6;
  font-size: 16px;
  color: #222;
  background-color: #ffffff;
  margin: 0;
  padding: 0;
}

h1, h2, h3 {
  font-weight: 600;
  color: #1A73E8; /* Google Blue */
}

/* ========== Form UI ========== */
.brandly-search-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 500px;
  margin: 2em auto;
  padding: 1em;
  background: #f7f9fc;
  border: 1px solid #ddd;
  border-radius: 10px;
}

.brandly-search-form label {
  font-weight: 500;
  font-size: 15px;
}

.brandly-search-form input[type="text"] {
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  width: 100%;
}

.brandly-search-form button {
  padding: 12px 18px;
  font-size: 16px;
  color: white;
  background-color: #1A73E8;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}

.brandly-search-form button:hover {
  background-color: #FB8C00; /* Orange hover */
}

/* ========== Result Sections ========== */
.brandly-result, .brandly-details {
  padding: 1em 2em;
  max-width: 960px;
  margin: 0 auto;
}

.brandly-result p,
.brandly-details p {
  font-size: 16px;
}

/* ========== Grid for Name Results ========== */
.brandly-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 1.5em 0;
}

.brandly-results-grid .name-card {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.brandly-results-grid .name-card h3 {
  margin-top: 0;
  font-size: 1.1rem;
  color: #0078d4;
}

.brandly-results-grid .name-card .meta {
  font-size: 0.85rem;
  color: #555;
  margin: 0.25rem 0;
}

.brandly-results-grid .name-card a.details-link {
  margin-top: auto;
  text-decoration: none;
  color: #0078d4;
  font-weight: bold;
}

/* ========== AdSense Slot ========== */
.brandly-adsense-slot {
  margin: 30px auto;
  text-align: center;
  max-width: 100%;
  padding: 1em;
  border: 1px dashed #ccc;
  background: #fdfdfd;
}

/* ========== CTA Buy Buttons ========== */
.buy-now {
  display: inline-block;
  margin: 1em 0;
  padding: 12px 20px;
  background: #34A853; /* Google Green */
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
  transition: background 0.2s ease-in-out;
}

.buy-now:hover {
  background: #FB8C00; /* Orange hover */
}

/* ========== Warning Message ========== */
.brandly-warning {
  padding: 10px 15px;
  background: #fff3cd;
  border: 1px solid #ffeeba;
  color: #856404;
  margin: 1em auto;
  border-radius: 6px;
  max-width: 600px;
}

/* ========== Footer (optional) ========== */
footer.brandly-footer {
  background: #1A73E8;
  color: #ffffff;
  text-align: center;
  padding: 2em 1em;
  font-size: 14px;
}

footer.brandly-footer a {
  color: #ffffff;
  text-decoration: underline;
}

footer.brandly-footer a:hover {
  color: #FB8C00;
}

/* ========== Admin UI (Basic) ========== */
.wrap h1 {
  color: #1A73E8;
}

input[type="text"],
textarea,
select {
  max-width: 500px;
}

textarea {
  font-family: monospace;
  font-size: 14px;
  min-height: 60px;
}


/* ============================================================
   New Styles for Brandly Names Pro – Category Model & Templates
============================================================ */

/* ========== Filter Form ========== */
.bn-filter-form {
  max-width: 700px;
  margin: 2em auto;
  padding: 1em 1.5em;
  background: #f7f9fc;
  border: 1px solid #ddd;
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  align-items: flex-end;
}

.bn-filter-form .bn-filter-field {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
}

.bn-filter-form .bn-filter-field label {
  margin-bottom: 0.5em;
  font-weight: 500;
}

.bn-filter-form select {
  padding: 8px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.bn-filter-form .bn-filter-numerology {
  flex: 1 1 100%;
  display: flex;
  align-items: center;
}

.bn-filter-form .bn-filter-numerology label {
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-weight: 500;
}

.bn-filter-form .bn-filter-numerology input {
  transform: scale(1.2);
}

.bn-filter-form .bn-filter-submit {
  flex: 1 1 150px;
}

.bn-filter-form .bn-filter-submit .button {
  width: 100%;
  padding: 10px;
  background: #1A73E8;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 15px;
  transition: background 0.2s ease;
}

.bn-filter-form .bn-filter-submit .button:hover {
  background: #FB8C00;
}

/* ========== Archive & Results Container ========== */
.bn-name-archive {
  padding: 2em 1em;
  max-width: 960px;
  margin: 0 auto;
}

.bn-search-results {
  margin-top: 2em;
}

.bn-search-results p {
  font-size: 16px;
  margin-bottom: 1em;
}

/* ========== Result Items ========== */
.bn-result-item {
  display: block;
  background: #e6f0ff;
  padding: 10px 12px;
  margin: 5px 0;
  border-radius: 6px;
  text-decoration: none;
  color: #1A237E;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease;
}

.bn-result-item:hover {
  background: #FB8C00;
  color: #fff;
}

/* ========== Single Name Card ========== */
.bn-name-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 1.5em;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  max-width: 700px;
  margin: 2em auto;
}

.bn-name-card h2 {
  margin-top: 0;
  color: #1A73E8;
  font-size: 1.5em;
}

.bn-name-card ul {
  list-style: none;
  padding: 0;
  margin: 1em 0;
}

.bn-name-card ul li {
  margin-bottom: 0.75em;
  font-size: 15px;
}

.bn-back-wrapper {
  text-align: center;
  margin-top: 1.5em;
}

.bn-back-wrapper .button {
  background: #1A73E8;
  color: #fff;
  padding: 8px 14px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.bn-back-wrapper .button:hover {
  background: #FB8C00;
}

/* ========== Ad Slot ========== */
.bn-ad-slot {
  margin: 2em auto;
  text-align: center;
  padding: 1em;
}

/* ========== Pagination ========== */
.bn-pagination {
  text-align: center;
  margin: 2em 0;
}

.bn-pagination ul {
  display: inline-block;
  list-style: none;
  padding: 0;
  margin: 0;
}

.bn-pagination li {
  display: inline;
  margin: 0 5px;
}

.bn-pagination a,
.bn-pagination span {
  padding: 8px 12px;
  background: #f7f9fc;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-decoration: none;
  color: #1A73E8;
  transition: background 0.2s ease, color 0.2s ease;
}

.bn-pagination .current {
  background: #1A73E8;
  color: #fff;
  border-color: #1A73E8;
}
