/* Common Variables */
:root {
  --primary-color: #6c7aff;
  --secondary-color: #4f57aa;
  --light-color: #f8f9fa;
  --dark-color: #343a40;
}

/* Base Styles */
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f9f9f9;
}

/* badge criteria list */
.badge-criteria-narrative {
  font-family: "open sans", sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #2e2e2e;
}

/* badge share settings */
.btn-share {
  margin-right: 10px;
  width: 150px !important;
  margin-top: 5px;
}

#canvas {
  border: 1px solid #ccc;
}

.img-template-dropdown {
  height: 80px;
  width: auto;
  margin-right: 10px;
}

.pcr-app {
  z-index: 2147483647 !important;
  /* for color picker on a modal */
}

.btn-designer {
  margin-top: 9px !important;
  padding: 4px 9px !important;
  border: none !important;
}

.sselect2-container {
  min-height: 500px !important;
}

.select2-container--default .select2-results > .select2-results__options {
  max-height: 60vh !important;
  width: 100% !important;
}

.dropdown-template-header {
  font-size: 16px;
  font-weight: 600;
  color: #2e2e2e;
}

.bulk-invalid {
  color: #c54736;
}

.bulk-column-1 {
  width: 40% !important;
}

.bulk-column-2 {
  width: 40% !important;
}




/* Header and Logo */
.logo-block {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-letters,
.bybws-text {
  font-size: 1rem;
}

.logo-container {
  display: flex;
  align-items: center;
  padding: 1rem;
}

.logo-text {
  color: var(--primary-color);
  font-weight: 600;
  margin-left: 10px;
  font-size: 1.5rem;
}

.logo-img {
  height: 40px;
}

.subtext {
  font-size: 0.85rem;
  color: #6c757d;
}

/* Button Styles */
.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  padding: 0.6rem 1.5rem;
  font-weight: 500;
}

.btn-primary:hover {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.btn-light {
  background-color: var(--light-color);
  border-color: #dee2e6;
  color: var(--dark-color);
}

.api-btn {
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  padding: 0.375rem 1rem;
  border-radius: 4px;
  text-decoration: none;
}

.api-btn:hover {
  background-color: var(--primary-color);
  color: white;
}

/* Form Elements */
.form-control {
  padding: 0.6rem 1rem;
  border-radius: 4px;
  border: 1px solid #ced4da;
}

.form-control:focus {
  border-color: var(--primary-color);
  outline: none;
}

/* Create Badge Page Styles */
.hero-section-badge {
  padding: 30px 0px 0px 0px;
  text-align: center;
}

.hero-title-badge {
  font-size: 3.8rem;
  color: var(--primary-color);
  font-weight: 600;
}

.hero-subtitle-badge {
  font-size: 1.5rem;
  color: #5a5a5a;
  margin-bottom: 0px;
  font-size: 1.25rem;
  font-weight: 300;
}

.badge-container {
  max-width: 65rem;
  margin: 2rem auto;
  padding: 0;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  background-color: white;
}

.badge-content {
  padding: 2rem;
}

.step-header {
  background-color: var(--primary-color);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 5px 5px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
}

.badge-preview {
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  background-color: #f8f9fa;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-preview-container {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.badge-placeholder {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background-color: #e9ecef;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6c757d;
  font-size: 1rem;
}

.template-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 250px;
  overflow-y: auto;
}

.template-item {
  display: flex;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #dee2e6;
  cursor: pointer;
  align-items: center;
}

.template-item:hover {
  background-color: #f8f9fa;
}

.template-item.selected {
  background-color: var(--primary-color);
  color: white;
}

.template-item.selected .template-desc {
  color: rgba(255, 255, 255, 0.8);
}

.template-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 15px;
  border: 2px solid #dee2e6;
}

.template-info {
  flex-grow: 1;
}

.template-title {
  font-weight: 500;
  margin-bottom: 2px;
}

.template-desc {
  font-size: 0.85rem;
  color: #6c757d;
}

.text-tools {
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  padding: 0.25rem;
  margin-bottom: 0.5rem;
}

.text-tools button {
  background: none;
  border: none;
  padding: 0.25rem 0.5rem;
  cursor: pointer;
  color: #6c757d;
}

.text-tools button:hover {
  color: var(--primary-color);
}

.color-picker {
  width: 30px;
  height: 30px;
  padding: 0;
  border: none;
  cursor: pointer;
}

.criteria-list {
  list-style: none;
  padding-left: 0;
}

.criteria-item {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f2f2f2;
}

.criteria-item:last-child {
  border-bottom: none;
}

.delete-btn {
  color: #dc3545;
  cursor: pointer;
  background: none;
  border: none;
  font-size: 1.1rem;
}

.img-template-dropdown {
  max-width: 50px;
  max-height: 50px;
}

.dropdown-template-header {
  font-weight: bold;
}

.btn-designer {
  border: none;
  background: transparent;
  padding: 5px;
  cursor: pointer;
}

.btn-gray {
  color: #6c757d;
}

.btn-gray:hover {
  color: var(--primary-color);
}

/* Registration Page Styles */
.hero-section-reg {
  background-color: #fff;
  text-align: center;
  padding-top: 20px;
}

.hero-title-reg {
  font-size: 2.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.hero-subtitle-reg {
  font-size: 2.2rem;
  color: var(--primary-color);
  font-weight: 500;
}

.form-container {
  max-width: 600px;
  margin: 3rem auto;
  padding: 2rem;
  border-radius: 8px;
  /* box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px; */
  background-color: white;
}

.form-title {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #333;
}

.form-subtitle {
  font-size: 1.2rem;
  color: #6c757d;
  margin-bottom: 1.5rem;
}

#verificationContainer {
  display: none;
}

/* Thank You Page Styles */
.thank-you-container {
  max-width: 600px;
  margin: 0rem auto;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  background-color: white;
  text-align: center;
}

.thank-you-icon {
  font-size: 4rem;
  color: #28a745;
  margin-bottom: 1rem;
}

.thank-you-title {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #333;
}

.thank-you-message {
  font-size: 1rem;
  color: #6c757d;
  margin-bottom: 1.5rem;
}

.btn-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.badge-svg-container {
  max-width: 150px;
  margin: 0 auto 1.5rem auto;
}

.confetti-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
}

 #thankyou-container {
  display: none;
} 

/* Badge Glow Animation */
@keyframes glow {
  0% {
      filter: drop-shadow(0 0 2px rgba(108, 122, 255, 0.5));
  }
  50% {
      filter: drop-shadow(0 0 10px rgba(108, 122, 255, 0.8));
  }
  100% {
      filter: drop-shadow(0 0 2px rgba(108, 122, 255, 0.5));
  }
}

.badge-glow {
  animation: glow 3s infinite;
}

/* Footer Styles */
footer {
  margin-top: 2rem;
}

.badge-signup-header {
  display: flex;
  justify-content: space-between;
  padding: 10px 20px;
  box-shadow: 0 .125rem .25rem rgba(0,0,0,.075)!important;
}

.badge-block-header {
  background-color: var(--primary-color);
  color: white;
}