.ldn-time-wrapper {
  width: 100%;
  max-width: auto;
  margin: 0 auto;
}

.ldn-time-container {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: linear-gradient(135deg, #2c3e50, #34495e, #95a5a6, #2c3e50);
  background-attachment: fixed;
  padding: 20px;
  color: white;
  position: relative;
  overflow-x: hidden;
  border-radius: 20px;
}

.ldn-time-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 50%,
      rgba(255, 255, 255, 0.05) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(255, 255, 255, 0.05) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 40% 80%,
      rgba(255, 255, 255, 0.03) 0%,
      transparent 40%
    );
  pointer-events: none;
  z-index: 0;
}

.ldn-time-container > * {
  position: relative;
  z-index: 1;
}

/* Main Time Display */
.ldn-time-main-display {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  margin-bottom: 40px;
	  flex-wrap: wrap;
}

.ldn-time-current-time {
  text-align: center;
  backdrop-filter: blur(20px);
  background: rgba(0, 0, 0, 0.15);
  border-radius: 25px;
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  min-width: 350px;
  transition: all 0.3s ease;
}

.ldn-time-current-time:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.ldn-time-digital-clock {
  font-family: "Poppins", monospace;
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.ldn-time-separator {
  animation: ldn-time-blink 1s infinite;
}

.ldn-time-am-pm {
  font-size: 0.6em;
  margin-left: 10px;
  opacity: 0.8;
}

.ldn-time-date-display {
  margin-bottom: 15px;
}

.ldn-time-day-name {
  display: block;
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 5px;
  color: #d4af37; /* Gold Accent */
}

.ldn-time-date {
  font-size: 1.1rem;
  opacity: 0.9;
}

.ldn-time-timezone-info {
  font-size: 0.95rem;
  opacity: 0.8;
}

.ldn-time-tz-name {
  display: block;
  margin-bottom: 5px;
}

.ldn-time-tz-offset {
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 0.85rem;
}

/* Analog Clock */
.ldn-time-analog-wrapper {
}

.ldn-time-analog-clock {
  width: 300px;
  height: 300px;
  display: block;
}

.ldn-time-clock-face {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(20px);
  border: 3px solid rgba(255, 255, 255, 0.2);
  position: relative;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* Clock Numbers */
.ldn-time-hour-numbers {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  font-size: 1.2rem;
  font-weight: 600;
}

.ldn-time-hour-number {
  position: absolute;
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  top: 50%;
  left: 50%;
  margin: -15px;
}

.ldn-time-hour-number.n1 {
  transform: rotate(30deg) translate(0, -125px) rotate(-30deg);
}
.ldn-time-hour-number.n2 {
  transform: rotate(60deg) translate(0, -125px) rotate(-60deg);
}
.ldn-time-hour-number.n3 {
  transform: rotate(90deg) translate(0, -125px) rotate(-90deg);
  color: #d4af37;
  font-size: 1.5rem;
}
.ldn-time-hour-number.n4 {
  transform: rotate(120deg) translate(0, -125px) rotate(-120deg);
}
.ldn-time-hour-number.n5 {
  transform: rotate(150deg) translate(0, -125px) rotate(-150deg);
}
.ldn-time-hour-number.n6 {
  transform: rotate(180deg) translate(0, -125px) rotate(-180deg);
  color: #d4af37;
  font-size: 1.5rem;
}
.ldn-time-hour-number.n7 {
  transform: rotate(210deg) translate(0, -125px) rotate(-210deg);
}
.ldn-time-hour-number.n8 {
  transform: rotate(240deg) translate(0, -125px) rotate(-240deg);
}
.ldn-time-hour-number.n9 {
  transform: rotate(270deg) translate(0, -125px) rotate(-270deg);
  color: #d4af37;
  font-size: 1.5rem;
}
.ldn-time-hour-number.n10 {
  transform: rotate(300deg) translate(0, -125px) rotate(-300deg);
}
.ldn-time-hour-number.n11 {
  transform: rotate(330deg) translate(0, -125px) rotate(-330deg);
}
.ldn-time-hour-number.n12 {
  transform: rotate(0deg) translate(0, -125px) rotate(0deg);
  color: #d4af37;
  font-size: 1.5rem;
}

/* Clock Hands */
.ldn-time-hour-hand,
.ldn-time-minute-hand,
.ldn-time-second-hand {
  position: absolute;
  background: white;
  border-radius: 5px;
  transform-origin: bottom center;
  left: 50%;
  bottom: 50%;
}

.ldn-time-hour-hand {
  width: 6px;
  height: 65px;
  margin-left: -3px;
  background: #d4af37;
  z-index: 3;
}
.ldn-time-minute-hand {
  width: 4px;
  height: 95px;
  margin-left: -2px;
  z-index: 2;
}
.ldn-time-second-hand {
  width: 2px;
  height: 105px;
  margin-left: -1px;
  background: #c0392b;
  z-index: 4;
}
.ldn-time-center-dot {
  position: absolute;
  width: 16px;
  height: 16px;
  background: #c0392b;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  border: 2px solid white;
}

/* Controls */
.ldn-time-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.ldn-time-toggle-group {
  display: flex;
  background: rgba(0, 0, 0, 0.15);
  border-radius: 15px;
  padding: 5px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.ldn-time-btn {
  background: transparent;
  border: none;
  color: white;
  padding: 12px 20px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 0.95rem;
}

.ldn-time-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}
.ldn-time-btn.ldn-time-active {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* World Clock Section */
.ldn-time-cities-section {
  margin-bottom: 40px;
}

.ldn-time-section-title {
  font-family: "Poppins", sans-serif;
  font-size: 1.8rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 25px;
  color: #d4af37; /* Gold Accent */
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.ldn-time-cities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.ldn-time-city-card {
  background: rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 25px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.ldn-time-city-card:hover {
  transform: translateY(-8px);
  background: rgba(0, 0, 0, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}
.ldn-time-city-name {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #d4af37;
}
.ldn-time-city-time {
  font-family: "Poppins", monospace;
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.ldn-time-city-info {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Sun Info Section */
.ldn-time-sun-section {
  margin-bottom: 40px;
}
.ldn-time-sun-info {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 800px;
  margin: 0 auto;
}
.ldn-time-sun-item {
  background: rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 25px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  min-width: 180px;
  transition: all 0.3s ease;
}
.ldn-time-sun-item:hover {
  transform: translateY(-5px);
  background: rgba(0, 0, 0, 0.2);
}
.ldn-time-sun-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 15px;
}
.ldn-time-sun-label {
  font-size: 1rem;
  opacity: 0.8;
  margin-bottom: 5px;
}
.ldn-time-sun-time {
  font-size: 1.3rem;
  font-weight: 600;
  color: #d4af37;
}

/* Converter Section */
.ldn-time-converter-section {
  margin-bottom: 40px;
}
.ldn-time-converter {
  background: rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(20px);
  border-radius: 25px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: end;
}
.ldn-time-converter-buttons {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}
.ldn-time-convert-btn,
.ldn-time-reset-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  color: white;
  cursor: pointer;
}
.ldn-time-convert-btn:hover,
.ldn-time-reset-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
.ldn-time-converter-result {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 20px;
}
.ldn-time-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #d4af37;
}
.ldn-time-input,
.ldn-time-select {
  width: 100%;
  padding: 12px 15px;
  border: none;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.2);
  color: white;
  font-size: 1rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}
.ldn-time-input:focus,
.ldn-time-select:focus {
  outline: none;
  background: rgba(0, 0, 0, 0.3);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}
.ldn-time-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}
.ldn-time-result-label {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #d4af37;
}
.ldn-time-result-time {
  font-family: "Poppins", monospace;
  font-size: 2rem;
  font-weight: 600;
}

/* Theme Section */
.ldn-time-theme-section {
  margin-bottom: 40px;
}
.ldn-time-theme-selector {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}
.ldn-time-theme-btn {
  padding: 15px 25px;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: white;
}
.ldn-time-theme-btn[data-theme="westminster"] {
  background: linear-gradient(45deg, #2c3e50, #466368);
}
.ldn-time-theme-btn[data-theme="foggy"] {
  background: linear-gradient(45deg, #bdc3c7, #2c3e50);
}
.ldn-time-theme-btn[data-theme="royal"] {
  background: linear-gradient(45deg, #13547a, #80d0c7);
}
.ldn-time-theme-btn[data-theme="tube"] {
  background: linear-gradient(45deg, #d63031, #0984e3);
}
.ldn-time-theme-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}
.ldn-time-theme-btn.ldn-time-theme-active {
  transform: scale(1.05);
  filter: brightness(1.2);
}

@keyframes ldn-time-blink {
  0%,
  50% {
    opacity: 1;
  }
  51%,
  100% {
    opacity: 0.3;
  }
}

/* Theme Variations */
.ldn-time-container.ldn-time-theme-foggy {
  background: linear-gradient(135deg, #d7d2cc, #304352, #d7d2cc);
}
.ldn-time-container.ldn-time-theme-royal {
  background: linear-gradient(135deg, #4b6cb7, #182848, #4b6cb7);
}
.ldn-time-container.ldn-time-theme-tube {
  background: linear-gradient(135deg, #ffffff, #e0e0e0);
  color: #2c3e50;
}
.ldn-time-theme-tube .ldn-time-city-name,
.ldn-time-theme-tube .ldn-time-sun-time,
.ldn-time-theme-tube .ldn-time-result-label,
.ldn-time-theme-tube .ldn-time-day-name,
.ldn-time-theme-tube .ldn-time-section-title,
.ldn-time-theme-tube .ldn-time-label {
  color: #d63031;
}
.ldn-time-theme-tube .ldn-time-input,
.ldn-time-theme-tube .ldn-time-select {
  background: rgba(0, 0, 0, 0.1);
  color: #2c3e50;
}
.ldn-time-theme-tube .ldn-time-btn {
  color: #2c3e50;
}
.ldn-time-theme-tube .ldn-time-btn.ldn-time-active {
  background: rgba(0, 0, 0, 0.1);
}
.ldn-time-theme-tube .ldn-time-btn:hover {
  background: rgba(0, 0, 0, 0.05);
}

/* View & Format States */
.ldn-time-view-digital .ldn-time-analog-wrapper {
  display: none;
}
.ldn-time-view-analog .ldn-time-current-time {
  display: none;
}
.ldn-time-format-24 .ldn-time-am-pm {
  display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .ldn-time-main-display {
    
    gap: 30px;
  }
  .ldn-time-current-time {
    min-width: auto;
    width: 100%;
    padding: 25px 20px;
  }
  .ldn-time-analog-clock {
    width: 250px;
    height: 250px;
  }
  .ldn-time-hour-number {
    font-size: 1rem;
  }
  .ldn-time-hour-number.n3,
  .ldn-time-hour-number.n6,
  .ldn-time-hour-number.n9,
  .ldn-time-hour-number.n12 {
    font-size: 1.2rem;
  }
  .ldn-time-hour-number.n1 {
    transform: rotate(30deg) translate(0, -105px) rotate(-30deg);
  }
  .ldn-time-hour-number.n2 {
    transform: rotate(60deg) translate(0, -105px) rotate(-60deg);
  }
  .ldn-time-hour-number.n3 {
    transform: rotate(90deg) translate(0, -105px) rotate(-90deg);
  }
  .ldn-time-hour-number.n4 {
    transform: rotate(120deg) translate(0, -105px) rotate(-120deg);
  }
  .ldn-time-hour-number.n5 {
    transform: rotate(150deg) translate(0, -105px) rotate(-150deg);
  }
  .ldn-time-hour-number.n6 {
    transform: rotate(180deg) translate(0, -105px) rotate(-180deg);
  }
  .ldn-time-hour-number.n7 {
    transform: rotate(210deg) translate(0, -105px) rotate(-210deg);
  }
  .ldn-time-hour-number.n8 {
    transform: rotate(240deg) translate(0, -105px) rotate(-240deg);
  }
  .ldn-time-hour-number.n9 {
    transform: rotate(270deg) translate(0, -105px) rotate(-270deg);
  }
  .ldn-time-hour-number.n10 {
    transform: rotate(300deg) translate(0, -105px) rotate(-300deg);
  }
  .ldn-time-hour-number.n11 {
    transform: rotate(330deg) translate(0, -105px) rotate(-330deg);
  }
  .ldn-time-hour-number.n12 {
    transform: rotate(0deg) translate(0, -105px) rotate(0deg);
  }

  .ldn-time-cities-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .ldn-time-converter {
    grid-template-columns: 1fr;
    padding: 20px;
  }
}
