:root {
  --primary-color: #0066FF;
  --secondary-color: #0052CC;
  --dark-color: #1A1F36;
  --light-color: #F7FAFC;
  --border-color: #E2E8F0;
  --text-color: #1A1F36;
  --light-text: #4A5568;
  --lighter-text: #718096;
  --success-color: #38B2AC;
  --error-color: #E53E3E;
  --warning-color: #ED8936;
  --background-color: #F7FAFC;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  color: var(--text-color);
  background-color: var(--background-color);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--secondary-color);
}

/* Header */
header {
  background-color: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--dark-color);
}

.logo span {
  color: var(--primary-color);
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a {
  color: var(--text-color);
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--primary-color);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-btn {
  background-color: var(--primary-color);
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 500;
  transition: background-color 0.2s;
}

.contact-btn:hover {
  background-color: var(--secondary-color);
  color: white;
}

/* Hero Section */
.hero {
  background-color: white;
  padding: 80px 0;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
  color: var(--dark-color);
}

.hero p {
  font-size: 20px;
  color: var(--light-text);
  margin-bottom: 40px;
}

.search-container {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 16px 24px;
  font-size: 18px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  transition: border-color 0.2s;
}

.search-input:focus {
  outline: none;
  border-color: var(--primary-color);
}

.search-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}

.search-btn:hover {
  background-color: var(--secondary-color);
}

/* Featured Domains */
.domains-section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--dark-color);
}

.section-description {
  font-size: 18px;
  color: var(--light-text);
  max-width: 600px;
  margin: 0 auto;
}

/* Filters */
.filters {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  padding: 24px;
  margin-bottom: 40px;
}

.filters-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
}

.filters-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.filter-group {
  margin-bottom: 16px;
}

.filter-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--light-text);
}

.filter-group select,
.filter-group input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 16px;
  transition: border-color 0.2s;
}

.filter-group select:focus,
.filter-group input:focus {
  outline: none;
  border-color: var(--primary-color);
}

.filter-actions {
  display: flex;
  gap: 12px;
  align-items: flex-end;
}

.apply-filters-btn {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}

.apply-filters-btn:hover {
  background-color: var(--secondary-color);
}

.reset-filters-btn {
  background-color: white;
  color: var(--light-text);
  border: 1px solid var(--border-color);
  padding: 10px 16px;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.reset-filters-btn:hover {
  background-color: var(--border-color);
  color: var(--text-color);
}

/* Domain Cards */
.domains-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.domain-card {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.domain-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.domain-card-content {
  padding: 24px;
}

.domain-name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--dark-color);
}

.domain-description {
  color: var(--light-text);
  margin-bottom: 16px;
  font-size: 14px;
}

.domain-price {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 24px;
}

.domain-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 14px;
  color: var(--lighter-text);
}

.domain-category {
  background-color: var(--background-color);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
}

.domain-actions {
  display: flex;
  gap: 12px;
}

.buy-now-btn, .make-offer-btn {
  padding: 10px 0;
  border-radius: 6px;
  font-weight: 500;
  text-align: center;
  transition: background-color 0.2s;
  flex: 1;
}

.buy-now-btn {
  background-color: var(--primary-color);
  color: white;
}

.buy-now-btn:hover {
  background-color: var(--secondary-color);
  color: white;
}

.make-offer-btn {
  background-color: white;
  color: var(--text-color);
  border: 1px solid var(--border-color);
}

.make-offer-btn:hover {
  background-color: var(--background-color);
}

/* Status Badges */
.status-badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
}

.status-available {
  background-color: #E6FFFA;
  color: #2C7A7B;
}

.status-sold {
  background-color: #FED7D7;
  color: #9B2C2C;
}

.status-reserved {
  background-color: #FEEBC8;
  color: #9C4221;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0 4px;
  border-radius: 6px;
  transition: background-color 0.2s, color 0.2s;
}

.pagination a {
  background-color: white;
  color: var(--text-color);
  border: 1px solid var(--border-color);
}

.pagination a:hover {
  background-color: var(--background-color);
}

.pagination span {
  background-color: var(--primary-color);
  color: white;
}

/* Forms */
.form-section {
  padding: 80px 0;
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  padding: 32px;
}

.form-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--dark-color);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--light-text);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 16px;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.form-submit {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.2s;
  width: 100%;
}

.form-submit:hover {
  background-color: var(--secondary-color);
}

/* Alerts */
.alert {
  padding: 16px;
  border-radius: 6px;
  margin-bottom: 24px;
}

.alert-success {
  background-color: #E6FFFA;
  color: #2C7A7B;
  border: 1px solid #B2F5EA;
}

.alert-error {
  background-color: #FED7D7;
  color: #9B2C2C;
  border: 1px solid #FEB2B2;
}

/* Domain Detail */
.domain-detail {
  padding: 80px 0;
}

.domain-detail-header {
  text-align: center;
  margin-bottom: 48px;
}

.domain-detail-name {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--dark-color);
}

.domain-detail-price {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 16px;
}

.domain-detail-status {
  display: inline-block;
  margin-top: 16px;
  padding: 6px 16px;
  border-radius: 20px;
  font-weight: 500;
}

.domain-detail-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
}

.domain-detail-description {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  padding: 32px;
}

.domain-detail-description h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--dark-color);
}

.domain-detail-description p {
  margin-bottom: 16px;
  color: var(--light-text);
}

.domain-detail-actions {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  padding: 32px;
}

.domain-detail-actions h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--dark-color);
}

.action-btn {
  display: block;
  width: 100%;
  padding: 16px;
  margin-bottom: 16px;
  text-align: center;
  border-radius: 6px;
  font-weight: 500;
  transition: background-color 0.2s;
}

.buy-btn {
  background-color: var(--primary-color);
  color: white;
}

.buy-btn:hover {
  background-color: var(--secondary-color);
}

.offer-btn {
  background-color: white;
  color: var(--text-color);
  border: 1px solid var(--border-color);
}

.offer-btn:hover {
  background-color: var(--background-color);
}

.contact-seller-btn {
  background-color: white;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.contact-seller-btn:hover {
  background-color: var(--background-color);
}

.domain-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.stat-item {
  background-color: var(--background-color);
  padding: 16px;
  border-radius: 6px;
  text-align: center;
}

.stat-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: var(--light-text);
}

/* Features Section */
.features-section {
  padding: 80px 0;
  background-color: white;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.feature-card {
  text-align: center;
  padding: 32px;
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  background-color: var(--background-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 32px;
  height: 32px;
  color: var(--primary-color);
}

.feature-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--dark-color);
}

.feature-description {
  color: var(--light-text);
}

/* Testimonials */
.testimonials-section {
  padding: 80px 0;
  background-color: var(--background-color);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.testimonial-card {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  padding: 32px;
}

.testimonial-content {
  font-style: italic;
  margin-bottom: 24px;
  color: var(--light-text);
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin-right: 16px;
  background-color: var(--background-color);
}

.author-info h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--dark-color);
}

.author-info p {
  font-size: 14px;
  color: var(--lighter-text);
}

/* CTA Section */
.cta-section {
  padding: 80px 0;
  background-color: var(--primary-color);
  color: white;
  text-align: center;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 24px;
}

.cta-description {
  font-size: 18px;
  margin-bottom: 32px;
  opacity: 0.9;
}

.cta-btn {
  display: inline-block;
  background-color: white;
  color: var(--primary-color);
  padding: 16px 32px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 18px;
  transition: background-color 0.2s;
}

.cta-btn:hover {
  background-color: rgba(255, 255, 255, 0.9);
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: white;
  padding: 64px 0 32px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 48px;
  margin-bottom: 48px;
}

.footer-column h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 24px;
  color: white;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  font-size: 20px;
  font-weight: 700;
  color: white;
}

.footer-logo span {
  color: var(--primary-color);
}

.copyright {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
}

.social-link:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.social-link svg {
  width: 18px;
  height: 18px;
  color: white;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: white;
  margin: 10% auto;
  padding: 32px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  max-width: 500px;
  position: relative;
}

.close-modal {
  position: absolute;
  right: 24px;
  top: 24px;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  color: var(--lighter-text);
}

.close-modal:hover {
  color: var(--text-color);
}

.modal-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--dark-color);
}

/* Admin Styles */
.admin-header {
  background-color: var(--dark-color);
  color: white;
}

.admin-header .logo,
.admin-header .logo span {
  color: white;
}

.admin-nav {
  display: flex;
  gap: 24px;
}

.admin-nav a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
}

.admin-nav a:hover,
.admin-nav a.active {
  color: white;
}

.admin-container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.admin-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.admin-title h1 {
  font-size: 28px;
  font-weight: 700;
  color: var(--dark-color);
}

.admin-btn {
  background-color: var(--primary-color);
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 500;
  transition: background-color 0.2s;
}

.admin-btn:hover {
  background-color: var(--secondary-color);
  color: white;
}

.admin-card {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  padding: 24px;
  margin-bottom: 24px;
}

.admin-card-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--dark-color);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.admin-table th {
  font-weight: 600;
  color: var(--light-text);
  background-color: var(--background-color);
}

.admin-table tr:hover {
  background-color: var(--background-color);
}

.admin-actions {
  display: flex;
  gap: 8px;
}

.edit-btn,
.delete-btn,
.view-btn {
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
}

.view-btn {
  background-color: var(--background-color);
  color: var(--text-color);
}

.view-btn:hover {
  background-color: var(--border-color);
}

.edit-btn {
  background-color: var(--primary-color);
  color: white;
}

.edit-btn:hover {
  background-color: var(--secondary-color);
}

.delete-btn {
  background-color: var(--error-color);
  color: white;
}

.delete-btn:hover {
  background-color: #C53030;
}

/* Dashboard Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.stat-card {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  padding: 24px;
  text-align: center;
}

.stat-card-value {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.stat-card-label {
  color: var(--light-text);
  font-size: 14px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .domain-detail-content {
    grid-template-columns: 1fr;
  }
  
  .hero h1 {
    font-size: 36px;
  }
  
  .hero p {
    font-size: 18px;
  }
  
  .section-title {
    font-size: 30px;
  }
}

@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 16px;
    padding: 16px 0;
  }
  
  .nav-links {
    margin: 16px 0;
  }
  
  .hero {
    padding: 60px 0;
  }
  
  .hero h1 {
    font-size: 30px;
  }
  
  .hero p {
    font-size: 16px;
  }
  
  .search-container {
    flex-direction: column;
  }
  
  .search-input {
    padding: 12px 16px;
    font-size: 16px;
  }
  
  .search-btn {
    position: static;
    transform: none;
    width: 100%;
    margin-top: 12px;
    padding: 12px;
  }
  
  .domains-grid {
    grid-template-columns: 1fr;
  }
  
  .filters-form {
    grid-template-columns: 1fr;
  }
  
  .filter-actions {
    flex-direction: column;
  }
  
  .domain-detail-header {
    margin-bottom: 32px;
  }
  
  .domain-detail-name {
    font-size: 32px;
  }
  
  .domain-detail-price {
    font-size: 28px;
  }
  
  .features-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  
  .admin-title {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .admin-table {
    display: block;
    overflow-x: auto;
  }
}

@media (max-width: 480px) {
  .nav-links {
    flex-direction: column;
    gap: 12px;
  }
  
  .hero h1 {
    font-size: 24px;
  }
  
  .section-title {
    font-size: 24px;
  }
  
  .domain-detail-name {
    font-size: 24px;
  }
  
  .domain-detail-price {
    font-size: 22px;
  }
  
  .cta-title {
    font-size: 24px;
  }
  
  .cta-description {
    font-size: 16px;
  }
  
  .cta-btn {
    padding: 12px 24px;
    font-size: 16px;
  }
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--text-color);
  border-radius: 3px;
  transition: all 0.3s;
}

.mobile-menu {
  display: none;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  
  .nav-links {
    display: none;
  }
  
  .mobile-menu {
    display: block;
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100%;
    background-color: white;
    z-index: 1000;
    padding: 24px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: left 0.3s;
    overflow-y: auto;
  }
  
  .mobile-menu.active {
    left: 0;
  }
  
  .mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
  }
  
  .mobile-menu-close {
    font-size: 24px;
    cursor: pointer;
  }
  
  .mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  
  .mobile-nav-links a {
    color: var(--text-color);
    font-weight: 500;
    padding: 8px 0;
    display: block;
  }
  
  .mobile-nav-links a:hover {
    color: var(--primary-color);
  }
  
  .menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
  
  .menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
  }
  
  .menu-overlay.active {
    display: block;
  }
}

/* Login Page */
.login-container {
  max-width: 400px;
  margin: 80px auto;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  padding: 32px;
}

.login-logo {
  text-align: center;
  margin-bottom: 32px;
}

.login-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
  text-align: center;
  color: var(--dark-color);
}

.login-form .form-group {
  margin-bottom: 20px;
}

.login-form .form-submit {
  margin-top: 16px;
}

.login-footer {
  margin-top: 24px;
  text-align: center;
  font-size: 14px;
  color: var(--light-text);
}

.login-footer a {
  color: var(--primary-color);
  font-weight: 500;
}

/* Checkbox and Radio Styles */
.custom-control {
  position: relative;
  display: flex;
  align-items: center;
  padding-left: 30px;
  margin-bottom: 12px;
  cursor: pointer;
  user-select: none;
}

.custom-control-input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.custom-control-label {
  color: var(--light-text);
  font-size: 14px;
}

.custom-checkbox .custom-control-indicator {
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: white;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  transition: all 0.2s;
}

.custom-radio .custom-control-indicator {
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: white;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  transition: all 0.2s;
}

.custom-control-input:checked ~ .custom-control-indicator {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.custom-checkbox .custom-control-indicator:after {
  content: "";
  position: absolute;
  display: none;
  left: 7px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.custom-radio .custom-control-indicator:after {
  content: "";
  position: absolute;
  display: none;
  top: 6px;
  left: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: white;
}

.custom-control-input:checked ~ .custom-control-indicator:after {
  display: block;
}

/* Price Range Slider */
.range-slider {
  width: 100%;
  margin-top: 16px;
}

.range-slider-values {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--light-text);
}

.range-slider input[type="range"] {
  width: 100%;
  height: 6px;
  -webkit-appearance: none;
  background: var(--border-color);
  border-radius: 3px;
  outline: none;
}

.range-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary-color);
  cursor: pointer;
}

.range-slider input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary-color);
  cursor: pointer;
  border: none;
}

/* Tooltips */
.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip .tooltip-text {
  visibility: hidden;
  width: 200px;
  background-color: var(--dark-color);
  color: white;
  text-align: center;
  border-radius: 6px;
  padding: 8px;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -100px;
  opacity: 0;
  transition: opacity 0.3s;
  font-size: 14px;
  font-weight: normal;
}

.tooltip .tooltip-text::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: var(--dark-color) transparent transparent transparent;
}

.tooltip:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

/* Loader */
.loader-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
}

.loader {
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  border-top: 4px solid var(--primary-color);
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 60px 20px;
}

.empty-state-icon {
  font-size: 48px;
  color: var(--border-color);
  margin-bottom: 16px;
}

.empty-state-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--light-text);
  margin-bottom: 8px;
}

.empty-state-description {
  color: var(--lighter-text);
  max-width: 400px;
  margin: 0 auto 24px;
}

.empty-state-action {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 500;
  transition: background-color 0.2s;
}

.empty-state-action:hover {
  background-color: var(--secondary-color);
  color: white;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  z-index: 99;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--secondary-color);
}

/* Print Styles */
@media print {
  header, footer, .admin-nav, .admin-actions, .form-submit, .back-to-top {
    display: none !important;
  }
  
  body {
    background-color: white;
    font-size: 12pt;
    color: black;
  }
  
  .container, .admin-container {
    width: 100%;
    max-width: none;
    padding: 0;
    margin: 0;
  }
  
  .domain-card, .admin-card, .domain-detail-description, .domain-detail-actions {
    box-shadow: none;
    border: 1px solid #ddd;
  }
  
  .domain-detail-content {
    grid-template-columns: 1fr;
  }
  
  a {
    text-decoration: underline;
    color: black;
  }
  
  .admin-table th, .admin-table td {
    padding: 8pt;
  }
}

