/* Custom page CSS
-------------------------------------------------- */

/* Not required for template or sticky footer method. */

main>.container {
  padding: 30px 15px 0;
}

.footer {
  background-color: #f5f5f5;
}

.footer>.container {
  padding-right: 15px;
  padding-left: 15px;
  /* text-align: center; */
}

code {
  font-size: 80%;
}

.logo {
  margin-right: 5px;
  vertical-align: top;
}

footer .list-inline>li>a::after {
  content: "|";
  padding-left: 10px;
}

footer .list-inline>li:last-child>a::after {
  content: none;
}

pre {
  overflow: visible;
}

.lang-list .list-inline>li>a::after {
  content: "|";
  padding-left: 10px;
}

.lang-list .list-inline>li:last-child>a::after {
  content: none;
}

.counts-info {
  font-size: small;
}

.box-main .google-auto-placed {
  display: none;
}

.timer-main .google-auto-placed {
  display: none;
}

.timer {
  font-size: 145px;
  font-family: monospace;
  color: #007bff;
  background-color: black;
}

.timer input[type="number"] {
  width: 180px;
  background-color: inherit;
  color: inherit;
  border: none;
  -moz-appearance: textfield;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.timer input[type="number"]:focus {
  border: none;
  outline: none;
  box-shadow: none;
}

.timer-ms {
  width: 265px !important;
}

.counter-main .google-auto-placed {
  display: none;
}

.counter {
  font-size: 145px;
  font-family: monospace;
  color: #007bff;
  background-color: black;
  line-height: 1;
  display: inline-table;
  padding-top: 40px;
  padding-bottom: 40px;
}

.counter-fullscreen {
  font-size: 400px;
}

.btn-timer {
  padding: 10px 50px 10px 50px;
  font-size: 30px;
}

.btn-timer span {
  display: block;
  font-size: 15px;
  font-style: italic;
}

.btn-counter {
  padding: 1px 30px 5px 30px;
  font-size: 30px;
  width: 285px;
}

.btn-counter span {
  display: block;
  font-size: 15px;
  font-style: italic;
}

.btn-shortcut {
  font-size: 25px;
  width: 115px
}

.uuid {
  text-align: center;
  font-size: xx-large;
  width: 65%;
  margin-right: 10px;
}

.uuid-container {
  place-content: center;
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 15px;
}

.qrcode {
  text-align: center;
  font-size: xx-large;
  width: 65%;
  margin-right: 10px;
}

.qrcode-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 15px;
}

.qr-download {
  flex-direction: column;
  align-items: center;
}

.btn-wrap {
  white-space: normal !important;
}

.container .no-ad .google-auto-placed {
  display: none !important;
}

.no-ads .google-auto-placed {
  display: none !important;
}

ins.adsbygoogle[data-ad-status="unfilled"] {
  display: none !important;
}

.blink {
  animation: blinker 1s step-start infinite;
}

@keyframes blinker {
  50% {
    opacity: 0;
  }
}

.btn-clipboard {
  position: absolute;
  top: .5rem;
  right: .5rem;
  z-index: 10;
  display: block;
  padding: .25rem .5rem;
  font-size: 75%;
  color: #818a91;
  cursor: pointer;
  background-color: transparent;
  border: 0;
  border-radius: .25rem;
}

.btn-clipboard:hover {
  color: #fff;
  background-color: #027de7;
}

.text-result {
  background-color: #f7f7f9;
  height: 293px;
  overflow: auto;
  width: 100%;
  margin-bottom: 7px;
}

.text-result pre {
  white-space: pre-wrap;
  /* Since CSS 2.1 */
  white-space: -moz-pre-wrap;
  /* Mozilla, since 1999 */
  white-space: -pre-wrap;
  /* Opera 4-6 */
  white-space: -o-pre-wrap;
  /* Opera 7 */
  word-wrap: break-word;
  /* Internet Explorer 5.5+ */
}

.text-selected {
  background-color: #f7f7f9;
  height: 293px;
  overflow: auto;
  width: 100%;
  margin-bottom: 7px;
  text-align: center;
  padding-top: 15%;
  color: red;
  font-size: 60px;
}




@keyframes spinner-border {
  to {
    transform: rotate(360deg);
  }
}

.spinner-border {
  position: relative;
  display: inline-block;
  width: 2rem;
  height: 2rem;
  overflow: hidden;
  text-indent: -999em;
  vertical-align: text-bottom;
  border: .25em solid;
  border-color: currentColor transparent currentColor currentColor;
  border-radius: 50%;
  animation-name: spinner-border;
  animation-duration: .75s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.spinner-border-reverse {
  border-color: transparent currentColor transparent transparent;
}

.spinner-border-sm {
  width: 1rem;
  height: 1rem;
  border-width: .2em;
}

/* Growing circle */

@keyframes spinner-grow {
  0% {
    opacity: 0;
    transform: scale(0);
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: scale(1);
  }
}

.spinner-grow {
  position: relative;
  display: inline-block;
  width: 8rem;
  height: 8rem;
  overflow: hidden;
  text-indent: -999em;
  vertical-align: text-bottom;
  background-color: currentColor;
  border-radius: 50%;
  animation-name: spinner-grow;
  animation-duration: .75s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.spinner-grow-sm {
  width: 1rem;
  height: 1rem;
}

.form-range {
  width: 100%;
  padding: 0;
  background-color: transparent;
}

.box-main .form-check {
  padding-left: 0;
  padding-left: initial;
}

.box-main .form-check label {
  margin-bottom: 0.5rem !important;
}

.box-main .form-check-input {
  margin-left: 5px;
}

.box-randomNumber .text-selected {
  height: 125px;
  margin-bottom: 0;
  padding-top: 8px;
  white-space: nowrap;
  overflow-x: auto !important;
  overflow: visible;
  overflow: initial;
  display: flex;
  flex-direction: column;
  padding: 2px;
  font-size: 40px;
}

.rnd-number-result {
  padding: 0.75rem;
}


#pickerWheel {
  display: inline-block;
  position: relative;
  overflow: hidden;
}

#wheel {
  display: block;
  width: 100%;
}

#spin {
  font: 1.5em/0 sans-serif;
  -webkit-user-select: none;
          user-select: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30%;
  height: 30%;
  margin: -15%;
  background: #fff;
  color: #fff;
  box-shadow: 0 0 0 8px currentColor, 0 0px 15px 5px rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  transition: 0.8s;

}

#spin::after {
  content: "";
  position: absolute;
  top: -17px;
  border: 10px solid transparent;
  border-bottom-color: currentColor;
  border-top: none;
}

#spinSub {
  font: 0.7em/0 sans-serif;
  -webkit-user-select: none;
          user-select: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 54%;
  left: 50%;
  width: 30%;
  height: 30%;
  margin: -15%;
  background: transparent;
  color: #fff;
  transition: 0.8s;

}

/* marquee start */

.marquee {
  /* width: 450px; */
  /* background-color: yellow;
  border: 1px dashed red;
  color: black; */
  padding: 0;
  padding: initial;
  white-space: nowrap;
  overflow: hidden;
  box-sizing: border-box;
  cursor: pointer;
  margin-bottom: 10px;
}

.marquee p {
  margin-top: revert;
  display: inline-block;
  padding-left: 100%;
  animation: marquee 15s linear infinite;
  /* text-transform: uppercase; */
  font-weight: bold;
}

.marquee .close {
  top: -3px;
  padding: 0;
}

@keyframes marquee {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(-100%, 0);
  }
}

/* marquee end */

.pwd .btn-primary {
  margin: 5px;
}

.w-5 {
  width: 5% !important;
}

.w-10 {
  width: 10% !important;
}

.ch-150 {
  height: 150px !important;
  align-content: center;
}


/* Landscape tablets and medium desktops */

@media (min-width: 992px) and (max-width: 1199px) {
  .timer {
    font-size: 110px;
  }

  .timer input[type="number"] {
    width: 140px;
  }

  .counter-fullscreen {
    font-size: 190px;
  }

  .timer-ms {
    width: 205px !important;
  }

  .uuid {
    font-size: x-large;
  }

  .card-uuid {
    min-width: 285px;
  }
}

/* Portrait tablets and small desktops */

@media (min-width: 768px) and (max-width: 991px) {
  .timer {
    font-size: 90px;
  }

  .timer input[type="number"] {
    width: 115px;
  }

  .timer-ms {
    width: 165px !important;
  }

  .counter-fullscreen {
    font-size: 190px;
  }

  .btn-timer {
    padding: 10px 25px 10px 25px;
    font-size: 25px;
  }

  .btn-timer span {
    font-size: 19px;
  }

  .btn-counter {
    padding: 5px 25px 5px 25px;
    font-size: 32px;
  }

  .btn-counter span {
    font-size: 16px;
  }

  .uuid {
    font-size: large;
  }

  .card-uuid {
    min-width: 205px;
  }

  .pwd.btn-group {
    display: flex;
    flex-direction: column;
  }
}

/* Landscape phones and portrait tablets */

@media (min-width: 575.99px) and (max-width: 767px) {
  .timer {
    font-size: 45px;
  }

  .timer input[type="number"] {
    width: 60px;
  }

  .timer-ms {
    width: 85px !important;
  }

  .counter {
    padding-top: 0;
    padding-bottom: 0;
  }

  .counter-main p {
    margin-bottom: 0;
  }

  .counter-fullscreen {
    font-size: 130px;
  }

  .btn-timer {
    padding: 10px 25px 10px 25px;
    font-size: 15px;
  }

  .btn-timer span {
    font-size: 9px;
  }

  .btn-counter {
    padding: 5px 25px 5px 25px;
    font-size: 25px;
  }

  .btn-counter span {
    font-size: 12px;
  }

  .uuid {
    font-size: larger;
    width: 100%;
    margin-bottom: 15px;
  }

  .uuid-container {
    flex-direction: column;
  }

  .card-uuid {
    min-width: 145px;
  }

  .pwd.btn-group {
    display: flex;
    flex-direction: column;
  }
}

/* Portrait phones and smaller */

@media (max-width: 575.98px) {
  .timer {
    font-size: 40px;
  }

  .timer input[type="number"] {
    width: 50px;
  }

  .timer-ms {
    width: 75px !important;
  }

  .counter-fullscreen {
    font-size: 130px;
  }

  .btn-timer {
    padding: 10px 25px 10px 25px;
    font-size: 15px;
  }

  .btn-timer span {
    font-size: 9px;
  }

  .btn-counter {
    padding: 5px 25px 5px 25px;
    font-size: 25px;
  }

  .btn-counter span {
    font-size: 12px;
  }

  .uuid {
    font-size: small;
    width: 100%;
    margin-bottom: 15px;
  }

  .uuid-container {
    flex-direction: column;
  }

  .pwd.btn-group {
    display: flex;
    flex-direction: column;
  }
}

/* Time Calculator Modern Styles
-------------------------------------------------- */
.time-calc-card {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  margin-bottom: 24px;
}

.time-calc-header {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: #ffffff;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.time-calc-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  position: relative;
  transition: all 0.2s ease;
}

.time-calc-box:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.time-unit-group {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
}

.time-unit-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.time-unit-input {
  width: 76px;
  height: 60px;
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  border: 2px solid #cbd5e1;
  border-radius: 10px;
  background: #ffffff;
  color: #0f172a;
  font-family: monospace, -apple-system, BlinkMacSystemFont, sans-serif;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  padding: 0;
}

.time-unit-input:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.18);
  outline: none;
}

.time-unit-label {
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 700;
  color: #64748b;
  text-align: center;
  margin-top: 6px;
  letter-spacing: 0.5px;
}

.time-colon {
  font-size: 26px;
  font-weight: 700;
  color: #94a3b8;
  margin: 0 8px;
  -webkit-user-select: none;
          user-select: none;
  margin-top: -20px;
}

.time-result-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #38bdf8;
  border-radius: 14px;
  padding: 24px 20px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100%;
}

.time-result-digits {
  font-size: 40px;
  font-weight: 800;
  font-family: monospace, -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: 1px;
  text-shadow: 0 0 16px rgba(56, 189, 248, 0.35);
  line-height: 1.1;
  margin-bottom: 8px;
}

.time-badge {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  display: inline-block;
  margin: 3px;
}

.time-preset-btn {
  font-size: 12px;
  font-weight: 600;
  border-radius: 6px;
  padding: 3px 8px;
  margin: 2px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
  transition: all 0.15s ease;
}

.time-preset-btn:hover {
  background: #0d6efd;
  color: #ffffff;
  border-color: #0d6efd;
}

.time-swap-badge {
  cursor: pointer;
  background: #e2e8f0;
  color: #334155;
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  transition: all 0.15s ease;
  -webkit-user-select: none;
          user-select: none;
}

.time-swap-badge:hover {
  background: #0d6efd;
  color: #ffffff;
}

@media (max-width: 576px) {
  .time-unit-input {
    width: 60px;
    height: 52px;
    font-size: 22px;
  }
  .time-result-digits {
    font-size: 30px;
  }
  .time-colon {
    margin: 0 4px;
    font-size: 20px;
  }
}

/* Home Page Modern Text Converter Styles
-------------------------------------------------- */
.home-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #e0f2fe;
  color: #0369a1;
  font-size: 13px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.home-converter-card {
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  margin-bottom: 28px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.home-converter-card:focus-within {
  border-color: #93c5fd;
  box-shadow: 0 12px 36px rgba(13, 110, 253, 0.08);
}

.home-editor-toolbar {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  padding: 10px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.home-textarea {
  width: 100%;
  border: none;
  padding: 18px 20px;
  font-size: 15px;
  line-height: 1.65;
  color: #1e293b;
  resize: vertical;
  background: #ffffff;
  outline: none;
  font-family: inherit;
  min-height: 220px;
}

.home-textarea:focus {
  outline: none;
}

.home-stats-bar {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  padding: 10px 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: #64748b;
}

.home-stat-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.home-stat-item strong {
  color: #0f172a;
  font-weight: 700;
}

.home-btn-section {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 24px;
}

.home-btn-group-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-case-primary {
  background: #0d6efd;
  color: #ffffff;
  border: none;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.15s ease;
  box-shadow: 0 2px 6px rgba(13, 110, 253, 0.2);
}

.btn-case-primary:hover {
  background: #0b5ed7;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}

.btn-case-code {
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #cbd5e1;
  font-family: monospace, sans-serif;
  font-weight: 600;
  font-size: 13.5px;
  padding: 7px 14px;
  border-radius: 8px;
  transition: all 0.15s ease;
}

.btn-case-code:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: #0f172a;
  transform: translateY(-1px);
}

.btn-case-util {
  background: #ffffff;
  color: #475569;
  border: 1px solid #cbd5e1;
  font-weight: 500;
  font-size: 13.5px;
  padding: 7px 14px;
  border-radius: 8px;
  transition: all 0.15s ease;
}

.btn-case-util:hover {
  background: #f8fafc;
  border-color: #64748b;
  color: #0f172a;
  transform: translateY(-1px);
}

.case-guide-card {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 18px 20px;
  background: #ffffff;
  height: 100%;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.case-guide-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  border-color: #cbd5e1;
}

.case-guide-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 6px;
  background: #e2e8f0;
  color: #334155;
  display: inline-block;
  margin-bottom: 8px;
}

/* Character Counter Modern Metric Styles
-------------------------------------------------- */
.char-stat-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px 12px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  height: 100%;
}

.char-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  border-color: #cbd5e1;
}

.char-stat-value {
  font-size: 32px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.char-stat-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #64748b;
  margin-top: 5px;
}

.char-limit-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 12px;
  transition: all 0.15s ease;
}

.char-limit-card:hover {
  background: #ffffff;
  border-color: #cbd5e1;
}

.char-limit-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #334155;
}

/* ==========================================================================
   Modern Random Number Generator Styles
   ========================================================================== */
.rnd-workspace {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
  overflow: hidden;
  margin-bottom: 2rem;
  transition: all 0.2s ease;
}

.rnd-header {
  padding: 1rem 1.5rem;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.rnd-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.rnd-icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.25);
}

.rnd-header-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: #1e293b;
}

.rnd-presets-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.rnd-preset-btn {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #475569;
  padding: 0.3rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.15s ease;
  -webkit-user-select: none;
          user-select: none;
}

.rnd-preset-btn:hover {
  background: #e2e8f0;
  color: #1e293b;
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

.rnd-preset-btn:active {
  transform: scale(0.96);
}

.rnd-preset-btn.active {
  background: #eff6ff;
  border-color: #3b82f6;
  color: #2563eb;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.15);
}

.rnd-panel-body {
  padding: 1.5rem;
}

.rnd-field-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #64748b;
  margin-bottom: 0.4rem;
}

.rnd-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.rnd-input {
  width: 100%;
  height: 44px;
  padding: 0.5rem 0.85rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: #0f172a;
  background-color: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  transition: all 0.2s ease;
  outline: none;
}

.rnd-input:focus {
  background-color: #ffffff;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3.5px rgba(59, 130, 246, 0.15);
}

.rnd-stepper-control {
  display: flex;
  align-items: center;
  background-color: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  overflow: hidden;
  height: 44px;
  transition: all 0.2s ease;
}

.rnd-stepper-control:focus-within {
  background-color: #ffffff;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3.5px rgba(59, 130, 246, 0.15);
}

.rnd-stepper-btn {
  background: transparent;
  border: none;
  width: 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  transition: all 0.15s ease;
  -webkit-user-select: none;
          user-select: none;
}

.rnd-stepper-btn:hover {
  background-color: #e2e8f0;
  color: #1e293b;
}

.rnd-stepper-btn:active {
  background-color: #cbd5e1;
}

.rnd-stepper-input {
  flex: 1 1;
  width: 100%;
  border: none;
  background: transparent;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  outline: none;
  -moz-appearance: textfield;
}

.rnd-stepper-input::-webkit-outer-spin-button,
.rnd-stepper-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.rnd-switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.85rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  margin-bottom: 0.75rem;
  cursor: pointer;
  -webkit-user-select: none;
          user-select: none;
  transition: all 0.15s ease;
}

.rnd-switch-row:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.rnd-switch-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #334155;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.rnd-switch-toggle {
  position: relative;
  width: 44px;
  height: 24px;
  background: #cbd5e1;
  border-radius: 12px;
  transition: background-color 0.2s ease;
  flex-shrink: 0;
}

.rnd-switch-toggle.active {
  background: #2563eb;
}

.rnd-switch-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.rnd-switch-toggle.active .rnd-switch-thumb {
  transform: translateX(20px);
}

.rnd-actions-row {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.75rem;
  align-items: center;
}

.rnd-btn-generate {
  flex: 1 1;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
  transition: all 0.2s ease;
  -webkit-user-select: none;
          user-select: none;
}

.rnd-btn-generate:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.45);
}

.rnd-btn-generate:active {
  transform: scale(0.98);
}

.rnd-btn-generate:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.rnd-btn-reset {
  height: 48px;
  padding: 0 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: #f1f5f9;
  color: #475569;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  -webkit-user-select: none;
          user-select: none;
}

.rnd-btn-reset:hover {
  background: #e2e8f0;
  color: #0f172a;
  border-color: #94a3b8;
  transform: translateY(-1px);
}

.rnd-btn-reset:active {
  transform: scale(0.98);
}

/* Result display box */
.rnd-display-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
}

.rnd-display-header {
  padding: 0.6rem 1rem;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.rnd-display-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #64748b;
  margin: 0;
}

.rnd-actions-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.rnd-action-btn {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #475569;
  border-radius: 8px;
  padding: 0.35rem 0.65rem;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.15s ease;
  -webkit-user-select: none;
          user-select: none;
}

.rnd-action-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
  border-color: #cbd5e1;
}

.rnd-action-btn.active {
  background: #eff6ff;
  border-color: #3b82f6;
  color: #2563eb;
}

.rnd-action-btn.success {
  background: #ecfdf5;
  border-color: #10b981;
  color: #059669;
}

.rnd-display-content {
  flex: 1 1;
  min-height: 250px;
  max-height: 380px;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.rnd-empty-state {
  text-align: center;
  color: #94a3b8;
  max-width: 260px;
}

.rnd-empty-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 0.5rem;
  opacity: 0.5;
  color: #64748b;
}

.rnd-single-wrapper {
  text-align: center;
  animation: rndPopIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.rnd-single-ball {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  height: 120px;
  padding: 0 1.5rem;
  border-radius: 60px;
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
  border: 4px solid #3b82f6;
  box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.3), inset 0 2px 4px rgba(255, 255, 255, 0.9);
  font-size: 3.2rem;
  font-weight: 800;
  color: #1e3a8a;
  line-height: 1;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  letter-spacing: -1px;
}

.rnd-single-ball.rolling {
  animation: rndShuffle 0.1s infinite alternate ease-in-out;
  border-color: #f59e0b;
  color: #b45309;
}

.rnd-multi-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.rnd-ball {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 52px;
  padding: 0 0.75rem;
  border-radius: 26px;
  background: linear-gradient(145deg, #ffffff 0%, #f1f5f9 100%);
  border: 2.5px solid #2563eb;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.15), inset 0 1px 2px rgba(255, 255, 255, 0.8);
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e3a8a;
  -webkit-user-select: all;
          user-select: all;
  animation: rndPopIn 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275) backwards;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.rnd-ball:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.25);
}

.rnd-ball.rolling {
  animation: rndShuffle 0.1s infinite alternate ease-in-out;
  border-color: #f59e0b;
  color: #d97706;
}

@keyframes rndPopIn {
  0% {
    transform: scale(0.6);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes rndShuffle {
  0% {
    transform: translateY(-2px) scale(0.98);
  }
  100% {
    transform: translateY(2px) scale(1.02);
  }
}

/* History Drawer */
.rnd-history-section {
  border-top: 1px solid #e2e8f0;
  padding: 0.85rem 1.5rem;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.rnd-history-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.rnd-history-pills {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.rnd-history-chip {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 0.25rem 0.6rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.15s ease;
}

.rnd-history-chip:hover {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1e40af;
}

/* Enhanced Fullscreen Experience */
.rnd-fullscreen-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: radial-gradient(circle at center, #1e293b 0%, #0f172a 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem;
  color: #ffffff;
  overflow: auto;
}

.rnd-fs-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.rnd-fs-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.1rem;
  color: #cbd5e1;
}

.rnd-fs-center {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 0;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.rnd-fs-hero-num {
  font-size: clamp(4rem, 15vw, 10rem);
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, #ffffff 30%, #93c5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 10px 30px rgba(59, 130, 246, 0.4));
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  letter-spacing: -2px;
}

.rnd-fs-multi-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
  align-items: center;
}

.rnd-fs-ball {
  min-width: 80px;
  height: 80px;
  border-radius: 40px;
  padding: 0 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 3px solid #60a5fa;
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.35);
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
}

.rnd-fs-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.rnd-fs-btn-gen {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  border: none;
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 700;
  padding: 0.75rem 2rem;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.5);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.rnd-fs-btn-gen:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(59, 130, 246, 0.7);
}

.rnd-fs-btn-close {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #e2e8f0;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.rnd-fs-btn-close:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.rnd-fs-btn-reset {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #e2e8f0;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 0.75rem 1.6rem;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
}

.rnd-fs-btn-reset:hover {
  background: rgba(239, 68, 68, 0.25);
  border-color: #ef4444;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.35);
}

.rnd-fs-btn-reset:active {
  transform: scale(0.98);
}

.rnd-fs-history {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto 1.5rem auto;
}

.rnd-fs-history-label {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.rnd-fs-history-chip {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 0.35rem 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #cbd5e1;
  cursor: pointer;
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  transition: all 0.15s ease;
}

.rnd-fs-history-chip:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #60a5fa;
  color: #ffffff;
  transform: translateY(-1px);
}

/*# sourceMappingURL=main.db76e284.css.map*/