/* assets/css/logo-style.css */

/* Container */
.brandly-logo-section {
    margin: 1.5rem 0;
}

/* Logo Variants Grid */
.brandly-logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
}
.brandly-logo-thumb {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 0.75rem;
    text-align: center;
    transition: box-shadow 0.2s ease-in-out;
}
.brandly-logo-thumb:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.brandly-logo-thumb img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 0.5rem;
}
.brandly-logo-download-button {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background: #0073aa;
    color: #fff;
    font-size: 0.875rem;
    border-radius: 3px;
    text-decoration: none;
}
.brandly-logo-download-button:hover {
    background: #006799;
}

/* Loading & Error */
#bn-logo-loading {
    font-style: italic;
    color: #555;
}
.brandly-logo-error,
#error {
    color: #d63638;
    font-weight: bold;
}

/* Customizer Preview */
#bn-logo-custom-preview img {
    border: 1px solid #ddd;
    border-radius: 4px;
    max-width: 100%;
    height: auto;
}

/* Modal Styles */
.bn-logo-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
.bn-modal-content {
    position: relative;
    background: #fff;
    border-radius: 4px;
    padding: 20px;
    max-width: 90%;
    max-height: 90%;
    overflow: auto;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}
.bn-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}
.bn-modal-body {
    text-align: center;
}
.bn-modal-body img {
    max-width: 100%;
    height: auto;
    margin-bottom: 1rem;
}
.bn-modal-body .button {
    margin-top: 0.5rem;
}
.brandly-logo-variants-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(150px,1fr));
  gap: 1rem;
  margin-top: .5rem;
}
.brandly-logo-thumb {
  border:1px solid #eee;
  border-radius:4px;
  width:100%;
  height:auto;
  display:block;
}
/* ─── Logo Options Styling ─────────────────────────────────── */

.brandly-logo-options {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.brandly-logo-options label {
  font-weight: 600;
  cursor: pointer;
}

.brandly-logo-options input[type="radio"],
.brandly-logo-options input[type="checkbox"] {
  transform: scale(1.2);
  margin-right: 0.5rem;
}

.brandly-logo-options input[type="color"] {
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
}

/* Logo grid spacing */
.brandly-logo-variants-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px,1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.brandly-logo-thumb-wrapper {
  text-align: center;
}

.brandly-logo-thumb-wrapper img {
  max-width: 100%;
  display: block;
  margin: 0 auto 0.5rem;
}

.brandly-logo-thumb-wrapper a {
  display: inline-block;
  font-size: 0.875rem;
  text-decoration: none;
  background: #0073aa;
  color: #fff;
  padding: 0.3rem 0.6rem;
  border-radius: 3px;
}
.brandly-logo-thumb-wrapper a:hover {
  background: #006799;
}
/* ───────────────────────────────────────────────────────────── */
