/* Jade Mystique Architecture Studio - Custom Styles */

:root {
  --primary-color: #0D7377;
  --secondary-color: #14FFEC;
  --dark-bg: #0a1612;
  --light-bg: #f0f8f7;
  --text-dark: #1a1a1a;
  --text-light: #ffffff;
  --jade-gradient: linear-gradient(135deg, #0D7377 0%, #14FFEC 100%);
  --shadow-lg: 0 20px 60px rgba(13, 115, 119, 0.3);
  --shadow-xl: 0 30px 80px rgba(20, 255, 236, 0.4);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--dark-bg);
  color: var(--text-light);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Typography */
.display-1, .display-2, .display-3, .display-4, .display-5 {
  font-weight: 700 !important;
  letter-spacing: -0.02em;
  color: var(--text-light) !important;
}

.lead {
  font-size: 1.25rem !important;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.9) !important;
}

.text-white {
  color: var(--text-light) !important;
}

.text-muted {
  color: rgba(255, 255, 255, 0.6) !important;
}

/* Navbar Styles */
.navbar {
  background: rgba(13, 115, 119, 0.95) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  padding: 1rem 0 !important;
}

.navbar.scrolled {
  background: rgba(10, 22, 18, 0.98) !important;
  box-shadow: 0 6px 30px rgba(20, 255, 236, 0.2);
}

.navbar-brand {
  font-size: 1.5rem !important;
  color: var(--secondary-color) !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.3s ease;
}

.navbar-brand:hover {
  color: var(--text-light) !important;
  transform: scale(1.05);
}

.navbar-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500 !important;
  padding: 0.5rem 1.2rem !important;
  margin: 0 0.2rem;
  transition: all 0.3s ease;
  position: relative;
}

.navbar-dark .navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--secondary-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-dark .navbar-nav .nav-link:hover::after,
.navbar-dark .navbar-nav .nav-link.active::after {
  width: 80%;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
  color: var(--secondary-color) !important;
}

.navbar-toggler {
  border-color: var(--secondary-color) !important;
  padding: 0.5rem 0.75rem !important;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(20, 255, 236, 0.3) !important;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%2314FFEC' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, #0a1612 0%, #0D7377 50%, #1a4d50 100%);
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
}

.parallax-dragon {
  background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"%3E%3Cpath d="M0,100 Q300,50 600,100 T1200,100" fill="none" stroke="%2314FFEC" stroke-width="2" opacity="0.1"/%3E%3Cpath d="M0,200 Q300,150 600,200 T1200,200" fill="none" stroke="%2314FFEC" stroke-width="2" opacity="0.1"/%3E%3C/svg%3E');
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  animation: parallaxMove 20s ease-in-out infinite;
}

@keyframes parallaxMove {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

.floating-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--secondary-color);
  border-radius: 50%;
  animation: float 6s infinite ease-in-out;
  box-shadow: 0 0 10px var(--secondary-color);
}

.particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; }
.particle:nth-child(2) { left: 25%; top: 40%; animation-delay: 1s; }
.particle:nth-child(3) { left: 45%; top: 15%; animation-delay: 2s; }
.particle:nth-child(4) { left: 65%; top: 35%; animation-delay: 1.5s; }
.particle:nth-child(5) { left: 80%; top: 25%; animation-delay: 0.5s; }
.particle:nth-child(6) { left: 90%; top: 45%; animation-delay: 2.5s; }

@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0); opacity: 0.3; }
  25% { transform: translateY(-30px) translateX(10px); opacity: 0.8; }
  50% { transform: translateY(-60px) translateX(-10px); opacity: 1; }
  75% { transform: translateY(-30px) translateX(5px); opacity: 0.6; }
}

.mystical-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(20, 255, 236, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  animation: glow 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes glow {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.3); opacity: 0.8; }
}

/* Booking Widget */
.booking-widget {
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(15px);
  box-shadow: var(--shadow-xl) !important;
  border: 2px solid var(--secondary-color);
  transform: translateY(0);
  transition: all 0.4s ease;
}

.booking-widget:hover {
  transform: translateY(-10px);
  box-shadow: 0 40px 100px rgba(20, 255, 236, 0.5) !important;
}

.booking-widget .h4 {
  color: var(--primary-color) !important;
  font-weight: 700 !important;
}

.form-label {
  color: var(--text-dark) !important;
  font-weight: 600 !important;
  margin-bottom: 0.5rem;
}

.form-control, .form-select {
  border: 2px solid rgba(13, 115, 119, 0.3) !important;
  padding: 0.75rem 1rem !important;
  border-radius: 0.5rem !important;
  background: white !important;
  color: var(--text-dark) !important;
  transition: all 0.3s ease;
  font-weight: 500 !important;
}

.form-control:focus, .form-select:focus {
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 0 0.25rem rgba(13, 115, 119, 0.25) !important;
  background: white !important;
}

.form-control::placeholder {
  color: rgba(26, 26, 26, 0.5) !important;
}

/* Buttons */
.btn {
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border-radius: 0.5rem !important;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
  z-index: -1;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: var(--jade-gradient) !important;
  border: none !important;
  color: var(--text-light) !important;
  box-shadow: 0 4px 15px rgba(13, 115, 119, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(13, 115, 119, 0.6) !important;
  color: var(--text-light) !important;
}

.btn-outline-light {
  border: 2px solid var(--text-light) !important;
  color: var(--text-light) !important;
  background: transparent !important;
}

.btn-outline-light:hover {
  background: var(--text-light) !important;
  color: var(--primary-color) !important;
  border-color: var(--text-light) !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3) !important;
}

.btn-light {
  background: white !important;
  color: var(--primary-color) !important;
  border: 2px solid white !important;
}

.btn-light:hover {
  background: var(--primary-color) !important;
  color: white !important;
  border-color: var(--primary-color) !important;
  transform: translateY(-3px);
}

.btn-outline-secondary {
  border: 2px solid var(--primary-color) !important;
  color: var(--primary-color) !important;
  background: transparent !important;
}

.btn-outline-secondary:hover {
  background: var(--primary-color) !important;
  color: white !important;
  transform: translateY(-3px);
}

.btn-sm {
  padding: 0.5rem 1.5rem !important;
  font-size: 0.875rem !important;
}

.btn-lg {
  padding: 1rem 2.5rem !important;
  font-size: 1.1rem !important;
}

/* Cards */
.card {
  background: rgba(255, 255, 255, 0.98) !important;
  border: none !important;
  border-radius: 1rem !important;
  transition: all 0.4s ease;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(13, 115, 119, 0.4) !important;
}

.card-body {
  padding: 2rem !important;
}

.card-title {
  color: var(--primary-color) !important;
  font-weight: 700 !important;
  margin-bottom: 1rem !important;
}

.card-text {
  color: var(--text-dark) !important;
  line-height: 1.8;
}

.card-img-top {
  height: 250px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card:hover .card-img-top {
  transform: scale(1.1);
}

/* Suite Cards */
.suite-card {
  position: relative;
  height: 450px;
  border-radius: 1rem !important;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s ease;
}

.suite-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 0%, rgba(13, 115, 119, 0.9) 100%);
  z-index: 1;
  transition: all 0.4s ease;
}

.suite-card:hover::before {
  background: linear-gradient(180deg, transparent 0%, rgba(13, 115, 119, 0.7) 100%);
}

.suite-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 30px 70px rgba(20, 255, 236, 0.4) !important;
}

.suite-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  padding: 2rem;
  z-index: 2;
}

.suite-content {
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  border-radius: 0.75rem;
  transition: all 0.4s ease;
}

.suite-card:hover .suite-content {
  background: rgba(13, 115, 119, 0.8);
  transform: translateY(-10px);
}

.suite-content .h2 {
  color: var(--secondary-color) !important;
  font-weight: 700 !important;
}

.suite-content p {
  color: rgba(255, 255, 255, 0.9) !important;
}

.badge {
  background: var(--secondary-color) !important;
  color: var(--text-dark) !important;
  padding: 0.5rem 1rem;
  font-weight: 600 !important;
  border-radius: 0.5rem;
}

/* Achievement Cards */
.achievement-card {
  background: linear-gradient(135deg, rgba(13, 115, 119, 0.1) 0%, rgba(20, 255, 236, 0.1) 100%) !important;
  border: 2px solid rgba(20, 255, 236, 0.3) !important;
  transition: all 0.4s ease;
  padding: 2rem !important;
}

.achievement-card:hover {
  background: linear-gradient(135deg, rgba(13, 115, 119, 0.2) 0%, rgba(20, 255, 236, 0.2) 100%) !important;
  border-color: var(--secondary-color) !important;
  transform: scale(1.05);
}

.achievement-badge {
  width: 80px;
  height: 80px;
  background: var(--jade-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  box-shadow: 0 10px 30px rgba(20, 255, 236, 0.4);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.achievement-badge i {
  font-size: 2rem;
  color: white;
}

/* Timeline */
.timeline-wrapper {
  position: relative;
  padding: 2rem 0;
}

.timeline-item {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 3rem;
  border-left: 3px solid var(--secondary-color);
}

.timeline-badge {
  position: absolute;
  left: -15px;
  top: 0;
  width: 30px;
  height: 30px;
  background: var(--secondary-color);
  border: 4px solid var(--dark-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: timelinePulse 2s infinite;
}

@keyframes timelinePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(20, 255, 236, 0.7); }
  50% { box-shadow: 0 0 0 15px rgba(20, 255, 236, 0); }
}

.timeline-item h3 {
  color: var(--secondary-color) !important;
  font-weight: 700 !important;
  margin-bottom: 0.5rem;
}

.timeline-item p {
  color: rgba(255, 255, 255, 0.8) !important;
}

/* Amenity Icons */
.amenity-icon {
  width: 60px;
  height: 60px;
  background: white !important;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.amenity-icon:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 10px 25px rgba(13, 115, 119, 0.3);
  background: var(--jade-gradient) !important;
}

.amenity-icon i {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.amenity-icon:hover i {
  color: white;
}

.amenity-card {
  text-align: center;
  padding: 2rem 1rem;
  transition: all 0.3s ease;
}

.amenity-card:hover {
  background: rgba(20, 255, 236, 0.05) !important;
  border-radius: 1rem;
}

/* Filter Buttons */
.filter-btn {
  padding: 0.75rem 2rem;
  background: transparent;
  border: 2px solid var(--primary-color) !important;
  color: var(--text-light) !important;
  border-radius: 2rem !important;
  font-weight: 600 !important;
  transition: all 0.3s ease;
  cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--jade-gradient) !important;
  border-color: var(--secondary-color) !important;
  color: white !important;
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(20, 255, 236, 0.4);
}

/* Nav Pills */
.nav-pills .nav-link {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--text-light) !important;
  padding: 0.75rem 1.5rem;
  border-radius: 2rem !important;
  font-weight: 600 !important;
  transition: all 0.3s ease;
}

.nav-pills .nav-link:hover,
.nav-pills .nav-link.active {
  background: var(--jade-gradient) !important;
  border-color: var(--secondary-color);
  color: white !important;
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(20, 255, 236, 0.4);
}

/* Tab Content */
.tab-content {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 1rem;
  backdrop-filter: blur(10px);
}

.tab-pane {
  color: var(--text-light) !important;
}

/* Forms */
.form-step {
  background: rgba(255, 255, 255, 0.98);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.form-check-input {
  border: 2px solid var(--primary-color) !important;
  width: 1.5rem;
  height: 1.5rem;
}

.form-check-input:checked {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
}

.form-check-input:focus {
  box-shadow: 0 0 0 0.25rem rgba(13, 115, 119, 0.25) !important;
}

.form-check-label {
  color: var(--text-dark) !important;
  font-weight: 500 !important;
  margin-left: 0.5rem;
}

.invalid-feedback {
  color: #dc3545 !important;
  font-weight: 600 !important;
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

/* Accordion */
.accordion-item {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(20, 255, 236, 0.2) !important;
  margin-bottom: 1rem;
  border-radius: 0.75rem !important;
  overflow: hidden;
}

.accordion-button {
  background: rgba(13, 115, 119, 0.3) !important;
  color: var(--text-light) !important;
  font-weight: 600 !important;
  padding: 1.25rem 1.5rem;
  border: none !important;
}

.accordion-button:not(.collapsed) {
  background: var(--jade-gradient) !important;
  color: white !important;
  box-shadow: none !important;
}

.accordion-button:focus {
  box-shadow: none !important;
  border: none !important;
}

.accordion-button::after {
  filter: brightness(0) invert(1);
}

.accordion-body {
  background: rgba(255, 255, 255, 0.05) !important;
  color: rgba(255, 255, 255, 0.9) !important;
  padding: 1.5rem;
  border-top: 1px solid rgba(20, 255, 236, 0.2);
}

/* Alert */
.alert {
  border-radius: 0.75rem !important;
  border: none !important;
  padding: 1rem 1.5rem;
  font-weight: 500 !important;
}

.alert-info {
  background: rgba(20, 255, 236, 0.1) !important;
  color: var(--secondary-color) !important;
  border-left: 4px solid var(--secondary-color) !important;
}

/* Table */
.table {
  color: var(--text-light) !important;
}

.table-borderless tbody tr {
  border-bottom: 1px solid rgba(20, 255, 236, 0.1);
}

.table-borderless tbody tr:hover {
  background: rgba(20, 255, 236, 0.05) !important;
}

/* Sections */
section {
  padding: 5rem 0;
  position: relative;
}

.py-5 {
  padding-top: 5rem !important;
  padding-bottom: 5rem !important;
}

.pt-5 {
  padding-top: 5rem !important;
}

.pb-4 {
  padding-bottom: 3rem !important;
}

.pb-3 {
  padding-bottom: 2rem !important;
}

/* Icons */
.bi {
  display: inline-block;
  vertical-align: middle;
}

.bi-star-fill,
.bi-stars,
.bi-gem,
.bi-geo-alt-fill,
.bi-check-circle-fill,
.bi-telephone-fill,
.bi-trophy-fill,
.bi-heart-fill,
.bi-award-fill,
.bi-lightning-fill {
  color: var(--secondary-color) !important;
}

/* Sticky Elements */
.sticky-top {
  position: sticky;
  top: 80px;
  z-index: 100;
}

.sticky-lg-top {
  position: sticky;
  top: 100px;
}

/* Shadows */
.shadow {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
}

.shadow-sm {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important;
}

.shadow-lg {
  box-shadow: var(--shadow-lg) !important;
}

/* Pin Animation */
.pin-animation {
  animation: pinDrop 1s ease-out;
}

@keyframes pinDrop {
  0% { transform: translateY(-100px) scale(0); opacity: 0; }
  50% { transform: translateY(0) scale(1.2); }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

/* Utilities */
.rounded {
  border-radius: 0.5rem !important;
}

.rounded-3 {
  border-radius: 0.75rem !important;
}

.rounded-4 {
  border-radius: 1rem !important;
}

.rounded-circle {
  border-radius: 50% !important;
}

.object-fit-cover {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.img-fluid {
  max-width: 100%;
  height: auto;
}

.text-decoration-none {
  text-decoration: none !important;
}

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

.overflow-hidden {
  overflow: hidden;
}

/* Responsive Design */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(10, 22, 18, 0.98);
    padding: 1.5rem;
    border-radius: 0.75rem;
    margin-top: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  }

  .navbar-nav {
    gap: 0.5rem;
  }

  .navbar-dark .navbar-nav .nav-link {
    padding: 0.75rem 1rem !important;
    border-bottom: 1px solid rgba(20, 255, 236, 0.2);
  }

  .navbar-dark .navbar-nav .nav-link::after {
    display: none;
  }

  .hero-section {
    padding: 100px 0 60px;
    min-height: auto;
  }

  .display-2 {
    font-size: 2.5rem !important;
  }

  .display-3 {
    font-size: 2rem !important;
  }

  .display-4 {
    font-size: 1.75rem !important;
  }

  .suite-card {
    height: 350px;
  }

  .booking-widget {
    margin-top: 3rem;
  }

  section {
    padding: 3rem 0;
  }

  .py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }

  .btn-lg {
    padding: 0.875rem 2rem !important;
    font-size: 1rem !important;
  }
}

@media (max-width: 767.98px) {
  .display-2 {
    font-size: 2rem !important;
  }

  .lead {
    font-size: 1.1rem !important;
  }

  .suite-card {
    height: 300px;
  }

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

  .timeline-item {
    padding-left: 2rem;
  }

  .achievement-badge {
    width: 60px;
    height: 60px;
  }

  .achievement-badge i {
    font-size: 1.5rem;
  }

  .amenity-icon {
    width: 50px;
    height: 50px;
  }

  .amenity-icon i {
    font-size: 1.25rem;
  }

  .filter-btn {
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
  }
}

@media (max-width: 575.98px) {
  .navbar-brand {
    font-size: 1.25rem !important;
  }

  .hero-section {
    padding: 80px 0 40px;
  }

  .booking-widget {
    padding: 2rem 1.5rem !important;
  }

  .btn-lg {
    padding: 0.75rem 1.5rem !important;
    font-size: 0.95rem !important;
  }

  .suite-card {
    height: 250px;
  }

  .suite-content {
    padding: 1rem;
  }

  .suite-content .h2 {
    font-size: 1.5rem !important;
  }

  .card-body {
    padding: 1.5rem !important;
  }

  .form-step {
    padding: 1.5rem;
  }

  section {
    padding: 2rem 0;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .btn,
  .booking-widget,
  .floating-particles,
  .mystical-glow {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  .hero-section {
    background: white;
    color: black;
  }
}

/* Accessibility */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus Styles */
*:focus {
  outline: 3px solid var(--secondary-color);
  outline-offset: 2px;
}

button:focus,
a:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 3px solid var(--secondary-color);
  outline-offset: 2px;
}

/* Smooth Transitions */
* {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* Loading Animation */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(20, 255, 236, 0.3);
  border-radius: 50%;
  border-top-color: var(--secondary-color);
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-color);
}

/* Selection */
::selection {
  background: var(--secondary-color);
  color: var(--text-dark);
}

::-moz-selection {
  background: var(--secondary-color);
  color: var(--text-dark);
}