html {
  scroll-behavior: smooth;
}

* {
  border-radius: 0 !important;
}

body {
  min-height: 100vh;
  margin: 0;
  background: #f8f9fa;
  color: #212529;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

button,
input,
textarea,
select,
.btn,
.copybutton,
.input-group-text,
.form-control,
.site-title,
.site-nav .nav-link,
.footer-links a {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

.site-header {
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid #dee2e6;
  position: relative;
  z-index: 1000;
}

.site-navbar {
  min-height: 72px;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
}

.site-brand-wrap {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 0;
}

.site-title {
  display: block;
  margin: 0;
  color: #212529;
  font-size: 1.55rem;
  font-weight: 600;
  font-style: italic;
  line-height: 1.2;
  letter-spacing: .2px;
  white-space: nowrap;
}

.site-nav {
  align-items: center;
  gap: 4px;
}

.site-nav .nav-link {
  color: #212529;
  background: transparent;
  font-size: 1rem;
  font-weight: 500;
  padding: .5rem .85rem;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav .nav-link:hover,
.site-nav .nav-link:focus {
  color: #0d6efd;
  background: transparent;
}

.site-navbar-toggler {
  margin-left: auto;
  border: 1px solid #dee2e6;
  background: #ffffff;
  padding: 8px 10px;
  box-shadow: none !important;
}

.site-navbar-toggler:focus,
.site-navbar-toggler:active,
.site-navbar-toggler:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

.site-navbar-toggler .navbar-toggler-icon {
  display: block;
  width: 1.5em;
  height: 1.5em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%23212529' stroke-linecap='square' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
}

#yazi-stilleri-container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 30px 15px;
  background: transparent;
  box-sizing: border-box;
  text-align: left;
}

.sy-section,
.ys-about-section,
.ys-faq-section,
.ys-usage-section {
  margin-bottom: 1.5rem;
  padding: 2rem;
  background: #ffffff;
  border: 1px solid #dee2e6;
  box-shadow: none;
}

.ys-about-section,
.ys-faq-section,
.ys-usage-section {
  padding: 1.5rem 0;
  border: 0;
  border-top: 1px solid #dee2e6;
  background: transparent;
}

.yazi-stili-baslangic,
#yazi-stilleri-container h1,
.ys-about-title,
.ys-faq-title,
.ys-usage-title,
.ys-about-section h2,
.ys-about-section h3 {
  color: #212529;
  font-weight: 600;
}

.yazi-stili-baslangic {
  margin: 0 0 1rem;
  font-size: 1.85rem;
  line-height: 1.25;
  text-align: center;
}

#yazi-stilleri-container h2.turk.ys.st {
  display: block;
  margin: 0 0 1.25rem;
  color: #495057;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.7;
  text-align: left;
}

#yazi-stilleri-container textarea,
.generator-textarea {
  width: 100%;
  min-height: 96px;
  margin: 1rem 0;
  padding: .85rem 1rem;
  background: #ffffff;
  border: 1px solid #dee2e6;
  color: #212529;
  font-size: 16px;
  resize: vertical;
  box-shadow: none;
}

#yazi-stilleri-container textarea:focus,
.form-control:focus,
.font-output:focus {
  border-color: #86b7fe;
  outline: 0;
  box-shadow: 0 0 0 .2rem rgba(13, 110, 253, .16);
}

#result {
  padding: 1.25rem;
  background: #ffffff;
  border: 1px solid #dee2e6;
  box-shadow: none;
}

#result .input-group {
  margin-bottom: 1rem !important;
  background: #ffffff;
  border: 1px solid #dee2e6;
  box-shadow: none;
}

#result .input-group:hover {
  border-color: #adb5bd;
}

#result .form-control,
.font-output {
  min-height: 48px;
  padding: .75rem 1rem;
  background: #ffffff;
  border: 0;
  color: #212529;
  box-shadow: none;
}

.input-group-append {
  margin-left: 0 !important;
}

.copybutton,
.input-group-text.copybutton {
  min-width: 104px;
  justify-content: center;
  background: #0d6efd;
  border: 0;
  color: #ffffff;
  font-weight: 600;
  box-shadow: none;
}

.copybutton:hover,
.copybutton:focus,
.input-group-text.copybutton:hover,
.input-group-text.copybutton:focus {
  background: #0b5ed7;
  border: 0;
  color: #ffffff;
}

.goloading,
.btn-primary.loadmore {
  padding: .75rem 1.25rem;
  background: #0d6efd;
  border-color: #0d6efd;
  color: #ffffff;
  font-weight: 600;
  box-shadow: none;
}

.goloading:hover,
.btn-primary.loadmore:hover {
  background: #0b5ed7;
  border-color: #0b5ed7;
}

.ys-about-section p,
.ys-faq-item p,
.ys-usage-section p,
.ys-usage-list li {
  color: #495057;
  line-height: 1.75;
}

.ys-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ys-faq-item {
  padding: 1rem;
  background: #ffffff;
  border: 1px solid #dee2e6;
  border-bottom: 0;
}

.ys-faq-item:last-child {
  border-bottom: 1px solid #dee2e6;
}

.ys-faq-item summary {
  position: relative;
  padding: 0 2rem 0 0;
  color: #212529;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.ys-faq-item summary::-webkit-details-marker {
  display: none;
}

.ys-faq-item summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  color: #0d6efd;
  font-size: 1.4rem;
  font-weight: 500;
}

.ys-faq-item[open] summary::after {
  content: "−";
}

.ys-faq-item p {
  margin: .75rem 0 0;
}

.breadcrumb-wrap {
  margin-bottom: 1rem;
}

.breadcrumb {
  padding: 0;
  background: transparent;
}

.breadcrumb-item a {
  color: #0d6efd;
  text-decoration: none;
}

.breadcrumb-item a:hover {
  text-decoration: underline;
}

.ys-footer {
  padding: 20px 0;
  background: #212529;
  border-top: 1px solid #343a40;
  color: rgba(255, 255, 255, .75);
  font-size: 14px;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 10px 0 0;
  list-style: none;
}

.footer-links a,
.ys-footer a {
  padding: 0 10px;
  color: rgba(255, 255, 255, .75);
  text-decoration: none;
  white-space: nowrap;
}

.footer-links a:hover,
.footer-links a:focus,
.ys-footer a:hover {
  color: #ffffff;
  background: transparent !important;
  text-decoration: underline;
}

.ys-back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 42px;
  height: 42px;
  display: none;
  align-items: center;
  justify-content: center;
  background: #212529;
  color: #ffffff;
  border: 0;
  box-shadow: none;
  cursor: pointer;
}

.ys-back-to-top.is-visible {
  display: flex;
}

@media (max-width: 991.98px) {
  .site-navbar {
    min-height: auto;
    padding: .75rem 0;
    flex-wrap: wrap;
  }

  .navbar-collapse,
  .site-navbar .navbar-collapse {
    width: 100%;
    margin-top: .75rem;
    padding-top: .5rem;
    background: #ffffff;
    border-top: 1px solid #dee2e6;
  }

  .site-nav .nav-item {
    width: 100%;
    border-top: 1px solid #e9ecef;
  }

  .site-nav .nav-item:first-child {
    border-top: 0;
  }

  .site-nav .nav-link {
    display: block;
    width: 100%;
    padding: .75rem 0;
  }
}

@media (max-width: 575.98px) {
  #yazi-stilleri-container {
    max-width: 100%;
    padding: 15px;
  }

  .sy-section {
    padding: 1.25rem;
  }

  .yazi-stili-baslangic {
    font-size: 1.45rem;
  }

  #result {
    padding: .75rem;
  }

  .copybutton,
  .input-group-text.copybutton {
    min-width: 82px;
  }
}
