/* General Styles */
:where([class^="ri-"])::before {
  content: "\f3c2";
}

body {
  font-family: 'Inter', sans-serif;
}

/* Gradient Styles */
.gradient-bg {
  background: linear-gradient(135deg, #1E90FF, #4169E1);
}

.gradient-text {
  background: linear-gradient(135deg, #1E90FF, #4169E1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Navigation Link Styles */
.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: #1E90FF;
  transition: width 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Custom Checkbox Styles */
.custom-checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #1E90FF;
  border-radius: 4px;
  outline: none;
  cursor: pointer;
  position: relative;
}

.custom-checkbox:checked {
  background-color: #1E90FF;
}

.custom-checkbox:checked::after {
  content: '';
  position: absolute;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  top: 2px;
  left: 6px;
  transform: rotate(45deg);
}

/* Custom Switch Styles */
.custom-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.custom-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 34px;
}

.switch-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

.circle-image {
    border-radius: 50%; /* 设置为圆形 */
    object-fit: cover; /* 确保图片填充整个区域 */
}

input:checked + .switch-slider {
  background-color: #1E90FF;
}

input:checked + .switch-slider:before {
  transform: translateX(20px);
}

/* Custom Range Styles */
.custom-range {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 5px;
  background: #e0e0e0;
  outline: none;
}

.custom-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #1E90FF;
  cursor: pointer;
}

.custom-range::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #1E90FF;
  cursor: pointer;
  border: none;
}

/* Custom Radio Styles */
.custom-radio {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #1E90FF;
  border-radius: 50%;
  outline: none;
  cursor: pointer;
  position: relative;
}

.custom-radio:checked::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: #1E90FF;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Tab Content Styles */
.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Payment Option Styles */
.payment-option {
  display: none;
}

.payment-option.active {
  display: block;
}

/* Hero Section Styles */
.hero-section {
  background-image: url('images/wallpaper-0.jpg');
  background-size: cover;
  background-position: center;
}
