.styleBox,
.trailing.clear {
  cursor: pointer;
}
.form-outline .form-control {
  min-height: 48px;
}
.form-range,
.themeColor {
  color: #5b6bf5;
}
#toast-container > .copyToast {
  background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADsSURBVEhLY2AYBfQMgf///3P8+/evAIgvA/FsIF+BavYDDWMBGroaSMMBiE8VC7AZDrIFaMFnii3AZTjUgsUUWUDA8OdAH6iQbQEhw4HyGsPEcKBXBIC4ARhex4G4BsjmweU1soIFaGg/WtoFZRIZdEvIMhxkCCjXIVsATV6gFGACs4Rsw0EGgIIH3QJYJgHSARQZDrWAB+jawzgs+Q2UO49D7jnRSRGoEFRILcdmEMWGI0cm0JJ2QpYA1RDvcmzJEWhABhD/pqrL0S0CWuABKgnRki9lLseS7g2AlqwHWQSKH4oKLrILpRGhEQCw2LiRUIa4lwAAAABJRU5ErkJggg==') !important;
  background-color: #5b6bf5;
}
.navbar-dark {
  background-color: #5b6bf5;
}
#mainID intro {
  background-color: red !important;
}
.styleBox:hover {
  border: 1px solid #5b6bf5 !important;
  color: #5b6bf5;
}
.styleBox:hover .copyIcon {
  color: #5b6bf5 !important;
}
.bodyMain,
.lightBackground {
  background-color: #f4f6ff;
}
.range .thumb:after,
.themeBackground {
  background: #5b6bf5;
}
.styleBox {
  margin-top: 4px;
  background-color: #fff !important;
  border-style: hidden;
  text-align: left;
  height: auto;
  padding: 12px;
  resize: none;
  font-size: 30px;
  color: #3a3a3a;
  overflow-x: hidden;
  overflow-wrap: break-word;
  word-break: break-all;
}
.styleName {
  margin-bottom: 0;
  font-size: 13px;
}
.preview {
  margin: 30px 0 10px;
  text-align: center;
  color: #3a3a3a;
  font-size: 24px;
}
.range {
  z-index: 9999;
  color: #5b6bf5;
  width: 100%;
  max-width: 330px;
  margin: 8px auto;
  display: block;
}
.form-range {
  padding: 0;
  margin: 10px 0;
}
.form-range::-webkit-slider-thumb {
  background-color: #5b6bf5;
  cursor: pointer;
}
.form-range::-moz-range-thumb {
  background-color: #5b6bf5;
  cursor: pointer;
}
.categoryName,
.darkColor {
  color: #3a3a3a;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: Ubuntu, sans-serif;
}
body,
p {
  font-family: 'Open Sans', sans-serif;
}
#btn-back-to-top {
  position: fixed;
  bottom: 150px;
  right: 8px;
  display: none;
  z-index: 9999;
}
#btn-back-to-top:hover {
  background-color: #6876f7;
}
@media (max-width: 768px) {
  .main-container {
    padding: 0 8px;
  }
  .customText {
    font-size: smaller;
  }
  .styleBox {
    margin-top: 2px;
    padding: 10px;
    font-size: 28px;
  }
  .styleName {
    font-size: 11px;
  }
  .navbar-nav {
    margin-right: 0 !important;
  }
}
.dropdown-menu {
  z-index: 99999;
}
.navbar-brand img {
  margin-right: 28px;
}
.themeButton {
  background: #5b6bf5 !important;
  color: #fff;
}
.themeButton:hover {
  background: #6876f7;
  color: #fff;
}
h4 {
  font-size: 1.2rem;
}
.navContainer {
  margin-left: 0;
}
.fancy-letters {
  font-size: 20px;
}
.letter {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border: 1px solid transparent;
  border-radius: 10%;
  transition: background-color 0.3s, border-color 0.3s;
  text-decoration: none;
}
.letter:hover {
  background-color: #f4f6ff;
}
.symbol {
  background-color: #fff;
  width: 56px;
  height: 52px;
  text-align: center;
  padding: 3px;
  font-size: 28px;
  border-radius: 6px;
  margin-right: 5px;
  margin-left: 8px;
  margin-top: 10px;
  cursor: pointer;
  font-family: 'Noto Sans', sans-serif;
  border-style: hidden;
}
.symbol:hover {
  border: 1px solid #5b6bf5 !important;
}
ins.adsbygoogle[data-ad-status='unfilled'] {
  display: none !important;
}

/* Add this new class */
.main-container,
header > .container-fluid,
article > .container,
footer .container {
  max-width: 768px;
  margin: 0 auto;
  width: 100%;
  padding: 0 15px;
}
header {
  margin-top: 61px;
}

@media (min-width: 768px) {
  header {
    margin-top: 101px;
  }
}

/* Remove duplicate definition */
.main-container {
  padding: 0 15px;
}

/* Add padding for the colored nav background to extend full width */
.navbar {
  padding-left: max(15px, calc((100% - 768px) / 2));
  padding-right: max(15px, calc((100% - 768px) / 2));
}

/* Ensure the colored footer background extends full width */
.text-center.p-3.bg-white {
  padding-left: max(15px, calc((100% - 768px) / 2)) !important;
  padding-right: max(15px, calc((100% - 768px) / 2)) !important;
}

@media (max-width: 768px) {
  .navbar,
  .text-center.p-3.bg-white {
    padding-left: 15px;
    padding-right: 15px;
  }
}

.customText {
  color: #666;
  font-size: 16px;
  line-height: 1.5;
  margin: 16px auto 0;
  max-width: 600px;
  /* white-space: nowrap; */
}

.themeColor {
  color: #5b6bf5;
  text-decoration: none;
}

.themeColor:hover {
  text-decoration: underline;
  color: #6876f7;
}

.header {
  background: white;
  padding: 24px 0;
  margin-bottom: 24px;
}

.header h1 {
  font-size: 36px;
  margin: 0;
  color: #3a3a3a;
}

@media (max-width: 768px) {
  .header h1 {
    font-size: 28px;
  }

  .customText {
    font-size: 14px;
    padding: 0 15px;
  }
}

/* 404 Page Styles */
.error-card {
  text-align: center;
  background: white;
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.error-card img {
  max-width: 100%;
  height: 250px;
  width: auto;
  margin: 0 auto 30px;
  display: block;
}

.error-card .themeButton {
  background: #5b6bf5;
  color: white;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 25px;
  transition: background 0.2s;
}

.error-card .themeButton:hover {
  background: #6876f7;
  color: white;
}

footer {
  background: white;
  padding: 20px 0;
  margin-top: 40px;
  text-align: center;
}

.footer-links {
  margin-bottom: 10px;
}

.footer-links a {
  color: #666;
  text-decoration: none;
  padding: 0 10px;
}

.footer-links a:hover {
  color: #5b6bf5;
}

.copyright {
  color: #666;
  font-size: 14px;
}

.copyright a {
  color: #5b6bf5;
  text-decoration: none;
}

.copyright a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .error-card {
    margin: 0 15px;
    padding: 30px 20px;
  }

  .error-card img {
    height: 200px;
  }
}

.ads {
  text-align: center;
}
.side_ad_left {
  top: 101px;
  left: 0;
  position: fixed;
  z-index: 1000;
}
.side_ad_right {
  top: 101px;
  right: 0;
  position: fixed;
  z-index: 1000;
}

.repeatable {
  height: 280px !important;
  position: relative;
  margin-bottom: 10px;
  max-width: 768px;
}

@media (min-width: 768px) {
  .repeatable {
    height: 250px !important;
  }
}

.text-right {
  text-align: right;
}

.z-0 {
  z-index: 0;
}

.z-10000 {
  z-index: 10000;
}

.relative {
  position: relative;
}

.ml-2 {
  margin-left: 8px;
}

.glass-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 1000;
  border-radius: 0.5rem;
}

.unlock-button-container {
  position: sticky;
  top: 120px;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.9) 60%, rgba(255, 255, 255, 0));
  z-index: 1001;
  border-radius: 0.5rem 0.5rem 0 0;
}

.unlock-button {
  padding: 10px 20px;
  background: linear-gradient(135deg, #6e8efb, #4a6cf7);
  color: white;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 500;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s;
}

.unlock-button:hover {
  transform: translateY(-2px);
}

.category {
  position: relative;
}

.toast-bottom-center-100 {
  bottom: 100px;
  right: 0;
  width: 100%;
}
.toast-bottom-center-100 .toast {
  margin: 0 auto !important;
}

.spark-container {
  position: relative;
  overflow: visible;
  border-radius: 4px;
  border: 2px solid rgba(74, 144, 226, 0.2);
  transition: border-color 0.3s ease;
  background-color: #f8f9fa;
  z-index: 10000;
}

.spark-container:hover {
  border-color: rgba(74, 144, 226, 0.4);
  background-color: #c4d6e8;
}

.new-badge {
  background-color: #f74040;
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 8px;
  margin-left: 4px;
  position: absolute;
  top: -6px;
  right: -6px;
}
