@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&display=swap');

body {
  font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  padding: 1px 0;
  background: linear-gradient(135deg, #d0e2fc 0%, #c3cfe2 100%);
  min-height: 100vh;
}

.header-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 0 24px;
}

h1, h2 {
  margin-bottom: 12px;
  color: #000000;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
  font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
}

#site-desc {
  text-align: center;
  max-width: 600px;
  margin: 0 0 12px 0;
  color: #444;
  font-size: 1.08em;
  font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
  margin-bottom: 28px;
  padding: 0 24px;
}

label {
  background: #fff;
  padding: 14px 12px;
  border-radius: 16px;
  border: none;
  box-shadow: 0 2px 12px rgba(44, 62, 80, 0.07);
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s;
  font-size: 1.08em;
  font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
}
label:hover, label:focus-within {
  box-shadow: 0 4px 18px rgba(44, 62, 80, 0.13);
  transform: translateY(-2px) scale(1.03);
}
label:has(input[type="checkbox"]:checked) {
  background: linear-gradient(90deg, #e0eaff 0%, #d0f5e8 100%);
  box-shadow: 0 4px 18px rgba(44, 62, 80, 0.15);
  border: 1.5px solid #4f8cff;
}

.icon-checkbox {
  width: 38px;
  height: 28px;
  object-fit: contain;
  background: #ffffff;
  border-radius: 8px;
  border: 1.5px solid #e0e6ed;
  box-shadow: 0 2px 8px rgba(44, 62, 80, 0.06);
  padding: 3px;
  margin-right: 8px;
}

.payment-name {
  flex: 1;
  font-weight: 500;
  color: #222b45;
  font-size: 1.05em;
  font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
}

input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #4f8cff;
  border-radius: 50%;
  background: #fff;
  margin-right: 10px;
  outline: none;
  cursor: pointer;
  position: relative;
  transition: border-color 0.2s, background 0.2s;
  vertical-align: middle;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(44,62,80,0.07);
}

input[type="checkbox"]:checked {
  border-color: #2355d8;
  background: #4f8cff;
}

input[type="checkbox"]:checked::after {
  content: '';
  display: block;
  position: absolute;
  top: 4px;
  left: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
}

#preview {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  justify-content: center;
  padding: 0 24px;
}

.preview-icon {
  width: 90px;
  height: 56px;
  object-fit: contain;
  background: #fff;
  border-radius: 12px;
  border: 1.5px solid #e0e6ed;
  box-shadow: 0 2px 8px rgba(44, 62, 80, 0.06);
  padding: 7px;
  transition: box-shadow 0.2s;
}
.preview-icon:hover {
  box-shadow: 0 4px 16px rgba(44, 62, 80, 0.13);
}

button {
  padding: 13px 32px;
  background: linear-gradient(90deg, #4f8cff 0%, #2355d8 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1.08em;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(44, 62, 80, 0.09);
  transition: background 0.2s, transform 0.2s;
  margin: 0 auto 24px auto;
  display: block;
  font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
}
button:hover, button:focus {
  background: linear-gradient(90deg, #2355d8 0%, #4f8cff 100%);
  transform: translateY(-2px) scale(1.04);
}

.footer-signature {
  margin-top: 40px;
  text-align: center;
  font-size: 1em;
  opacity: 0.8;
  font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
}
.footer-signature a {
  color: #2355d8;
  text-decoration: none;
  font-weight: 600;
}

.floating-selection {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(44,62,80,0.18);
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 18px;
  z-index: 1000;
  min-width: 180px;
  max-width: 90vw;
}

.floating-logos {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  max-width: 220px;
  overflow-x: auto;
}

.floating-logos img {
  width: 32px;
  height: 20px;
  object-fit: contain;
  border-radius: 6px;
  border: 1px solid #e0e6ed;
  background: #fff;
  box-shadow: 0 1px 4px rgba(44,62,80,0.07);
  padding: 2px;
}

#floating-generate-btn {
  padding: 8px 18px;
  background: linear-gradient(90deg, #4f8cff 0%, #2355d8 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1em;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(44, 62, 80, 0.09);
  transition: background 0.2s, transform 0.2s;
  margin-left: 10px;
  white-space: nowrap;
}
#floating-generate-btn:hover, #floating-generate-btn:focus {
  background: linear-gradient(90deg, #2355d8 0%, #4f8cff 100%);
  transform: translateY(-2px) scale(1.04);
}

@media (max-width: 600px) {
  body {
    padding: 10px 0;
  }
  .header-bar, .grid, #preview {
    padding: 0 6px;
  }
  .grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  #preview {
    gap: 10px;
  }
  .preview-icon {
    width: 70px;
    height: 40px;
    padding: 4px;
  }
  button {
    width: 100%;
    padding: 12px 0;
    font-size: 1em;
    margin-left: 0;
  }
}
