* {
  box-sizing: border-box;
}

/* Main Header */
.main-header {
    background: white;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  padding: 0 20px;
  flex-wrap: wrap;
}

.logo-container {
    flex-shrink: 0;
}

.logo {
  max-width: 80px;
  width: 80px;
  height: auto;
  transition: opacity 0.2s ease;
  display: block;
}

.logo-container a {
  text-decoration: none;
  display: block;
}

.logo-container a:hover .logo {
  opacity: 0.8;
}

.header-content {
    flex-grow: 1;
    flex-shrink: 1;
    min-width: 0;
}

.header-content h1 {
    margin: 0 0 5px 0;
    font-size: 2rem;
    color: #333;
    white-space: nowrap;
}

@media (max-width: 1024px) {
  .header-content h1 {
    font-size: 1.5rem;
  }
  
  .header-content p {
    font-size: 0.9rem;
  }
}

.header-content p {
    margin: 0;
    color: #666;
    font-size: 1rem;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  text-align: center;
  background-color: #fce9f1;
  color: #333;
  margin: 0;
  padding: 0;
  line-height: 1.5;
}

header {
  background: #fff0f5;
  padding: 0 20px 40px 20px;
  margin: 0;
  width: 100%;
}

.header-top {
  background: linear-gradient(135deg, #e91e63, #d81b60);
  padding: 15px 0;
  text-align: center;
  margin: 0 -20px 30px -20px;
}

.social-top {
  display: flex;
  justify-content: center;
  align-items: center;
}

.social-link-top {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: white;
  font-weight: 600;
  font-size: 1rem;
  padding: 8px 16px;
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.social-link-top:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  color: white;
}

.social-icon-top {
  font-size: 1.2rem;
}

.social-text-top {
  font-size: 0.9rem;
}

h1 {
  margin: 0 0 30px 0;
  font-size: 2.5rem;
  font-weight: bold;
  color: #333;
}

.hero-text {
  max-width: 800px;
  margin: 0 auto 30px auto;
  line-height: 1.7;
  text-align: center;
  padding: 0 15px;
}

.hero-text p {
  margin: 0 0 25px 0;
  font-size: 1.1rem;
  color: #444;
  font-weight: 400;
  text-align: center;
}

.hero-text p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  
  .logo {
    max-width: 60px;
  }
  
  .header-content h1 {
    font-size: 1.8rem;
  }
  
  .header-content p {
    font-size: 0.9rem;
  }
  
  header {
    padding: 30px 15px;
  }
  
  h1 {
    font-size: 2rem;
    margin-bottom: 25px;
  }
  
  .hero-text {
    max-width: 100%;
    padding: 0 10px;
    margin-bottom: 25px;
  }
  
  .hero-text p {
    font-size: 1rem;
    margin-bottom: 20px;
    text-align: center;
  }
  
  /* Mobile: Show communities in horizontal scroll */
  .offerings-grid {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding: 8px 0;
    margin-bottom: 25px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
  }
  
  .offerings-grid::-webkit-scrollbar {
    display: none; /* Chrome/Safari/Opera */
  }
  
  .offering-card {
    flex: 0 0 140px;
    min-width: 140px;
    padding: 10px;
  }
  
  .offering-icon {
    font-size: 1.3rem;
    margin-bottom: 6px;
  }
  
  .offering-card h3 {
    font-size: 0.8rem;
    margin: 0 0 4px 0;
  }
  
  .more-communities {
    flex: 0 0 100px;
    min-width: 100px;
    padding: 8px;
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  header {
    padding: 25px 10px;
  }
  
  h1 {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }
  
  .hero-text p {
    font-size: 0.95rem;
    margin-bottom: 18px;
  }
  
  /* Extra small mobile: Even more compact */
  .offerings-grid {
    gap: 8px;
    padding: 6px 0;
  }
  
  .offering-card {
    flex: 0 0 120px;
    min-width: 120px;
    padding: 8px;
  }
  
  .offering-icon {
    font-size: 1.1rem;
    margin-bottom: 4px;
  }
  
  .offering-card h3 {
    font-size: 0.75rem;
    margin: 0 0 3px 0;
  }
  
  .more-communities {
    flex: 0 0 80px;
    min-width: 80px;
    padding: 6px;
    font-size: 0.7rem;
  }
}

.cta-btn {
  display: inline-block;
  margin: 20px auto 0 auto;
  padding: 15px 30px;
  background-color: #e91e63;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(233, 30, 99, 0.2);
}

.cta-btn:hover {
  background-color: #d81b60;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(233, 30, 99, 0.3);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.offerings-section {
  padding: 30px 0;
  background: linear-gradient(135deg, #fff5f8 0%, #fff 100%);
  margin: 0;
}

.section-intro {
  font-size: 1rem;
  color: #666;
  max-width: 800px;
  margin: 0 auto 25px;
  line-height: 1.6;
  text-align: center;
}

.offerings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-bottom: 30px;
}

.offering-card {
  background: white;
  border-radius: 8px;
  padding: 12px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
}

.offering-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(233, 30, 99, 0.15);
  border-color: #e91e63;
}

.offering-icon {
  font-size: 1.5rem;
  margin-bottom: 8px;
  display: block;
}

.offering-card h3 {
  margin: 0 0 6px 0;
  font-size: 0.9rem;
  color: #333;
  font-weight: 600;
}

.offering-card p {
  margin: 0;
  color: #666;
  font-size: 0.95rem;
  line-height: 1.5;
}

.more-communities {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  color: #666;
  font-style: italic;
  font-size: 0.9rem;
  opacity: 0.8;
}

.call-to-action {
  text-align: center;
  margin-top: 30px;
  padding: 20px;
  background: linear-gradient(135deg, #e91e63, #d81b60);
  border-radius: 15px;
  color: white;
}

  .highlight-text {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
  }
  
  .final-text {
    font-size: 1.1rem;
    margin: 0;
    opacity: 0.95;
    line-height: 1.6;
  }

  .coming-soon-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #e91e63 0%, #d81b60 100%);
    color: white;
    text-align: center;
  }

  .coming-soon-text {
    font-size: 1.3rem;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
    opacity: 0.95;
  }

  .waitlist-form {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 60px;
    flex-wrap: wrap;
  }

  .waitlist-form form {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .email-input {
    padding: 15px 20px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    min-width: 300px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  .waitlist-btn {
    padding: 15px 30px;
    background: white;
    color: #e91e63;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  .waitlist-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  }

  /* Download Section Styles */
  .download-section {
    text-align: center;
    margin-bottom: 60px;
  }

  .download-btn {
    display: inline-block;
    padding: 18px 40px;
    background: white;
    color: #e91e63;
    text-decoration: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
    margin-bottom: 20px;
  }

  .download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
    background: #f8f9fa;
  }

  .download-note {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
  }

  .playstore-image {
    max-width: 200px;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
  }

  .download-btn:hover .playstore-image {
    transform: scale(1.05);
  }

  .header-playstore-image {
    max-width: 180px;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
  }

  .cta-btn:hover .header-playstore-image {
    transform: scale(1.05);
  }

  /* Modal Styles */
  .modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    overflow-y: auto;
    padding: 20px;
    box-sizing: border-box;
  }

  .modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 40px;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: translateY(-50px);
    animation: modalSlideIn 0.3s ease-out forwards;
  }

  @keyframes modalSlideIn {
    from {
      opacity: 0;
      transform: translateY(-100px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 15px;
    right: 20px;
    cursor: pointer;
  }

  .close:hover {
    color: #e91e63;
  }

  .modal-content h3 {
    color: #e91e63;
    margin: 0 0 20px 0;
    font-size: 1.8rem;
  }

  .modal-content p {
    color: #666;
    line-height: 1.6;
    margin: 0;
  }

  .features-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
  }

  .feature-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px 20px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
  }

  .feature-icon {
    font-size: 3rem;
    margin-bottom: 15px;
  }

  .feature-item h3 {
    margin: 0 0 10px 0;
    font-size: 1.3rem;
    font-weight: 600;
  }

  .feature-item p {
    margin: 0;
    opacity: 0.9;
    line-height: 1.5;
  }

section {
  padding: 40px 20px;
  background: white;
  margin: 20px 0;
}

h2 {
  margin: 0 0 25px 0;
  font-size: 2.5rem;
  color: #333;
  text-align: center;
  font-weight: 700;
}

ul {
  list-style: none;
  padding: 0;
  max-width: 600px;
  margin: 0 auto;
}

ul li {
  margin: 15px 0;
  padding: 10px 0;
  font-size: 1.1rem;
  color: #555;
  border-bottom: 1px solid #f0f0f0;
}

ul li:last-child {
  border-bottom: none;
}

footer {
  padding: 40px 20px;
  font-size: 0.9rem;
  color: #777;
  background: #f8f8f8;
  margin-top: 40px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-section {
  flex: 1;
  min-width: 250px;
}

.footer-section p {
  margin: 5px 0;
}

.social-links {
  text-align: center;
}

.social-links h4 {
  margin: 0 0 15px 0;
  color: #333;
  font-size: 1.1rem;
}

.social-icons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #666;
  transition: all 0.3s ease;
  padding: 10px;
  border-radius: 10px;
  min-width: 80px;
}

.social-link:hover {
  transform: translateY(-3px);
  color: #e91e63;
}

.social-icon {
  font-size: 2rem;
  margin-bottom: 5px;
  display: block;
}

.social-text {
  font-size: 0.8rem;
  font-weight: 500;
}

.instagram:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: white;
}

.facebook:hover {
  background: #1877f2;
  color: white;
}

.twitter:hover {
  background: #1da1f2;
  color: white;
}

footer a {
  color: #e91e63;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.social-footer {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #eee;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  align-items: center;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 10px 20px;
  border-radius: 25px;
  background: white;
  border: 2px solid;
  transition: all 0.3s ease;
}

.instagram-link {
  color: #e91e63;
  border-color: #e91e63;
}

.instagram-link:hover {
  background: #e91e63;
  color: white;
  transform: translateY(-2px);
}

.facebook-link {
  color: #1877f2;
  border-color: #1877f2;
}

.facebook-link:hover {
  background: #1877f2;
  color: white;
  transform: translateY(-2px);
}

.youtube-link {
  color: #ff0000;
  border-color: #ff0000;
}

.youtube-link:hover {
  background: #ff0000;
  color: white;
  transform: translateY(-2px);
}

.social-icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  fill: currentColor;
  flex-shrink: 0;
}

.social-link:hover .social-icon {
  fill: currentColor;
}

.social-text {
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .social-footer {
    width: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .header-top {
    padding: 12px 0;
  }
  
  .social-link-top {
    padding: 6px 12px;
    font-size: 0.9rem;
  }
  
  .social-icon-top {
    font-size: 1rem;
  }
  
  .social-text-top {
    font-size: 0.8rem;
  }
  
  .cta-btn {
    padding: 12px 25px;
    font-size: 1rem;
  }
  
  section {
    padding: 30px 15px;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  ul li {
    font-size: 1rem;
  }
  

  
  .call-to-action {
    margin: 40px 15px 0;
    padding: 25px 20px;
  }
  
  .highlight-text {
    font-size: 1.2rem;
  }
  
  .final-text {
    font-size: 1rem;
  }
  
  .coming-soon-section {
    padding: 50px 0;
  }
  
  .coming-soon-text {
    font-size: 1.1rem;
    margin-bottom: 30px;
  }
  
  .waitlist-form {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  
  .waitlist-form form {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  
  .email-input {
    min-width: 250px;
    width: 100%;
    max-width: 300px;
  }
  
  .modal-content {
    margin: 5% auto;
    padding: 30px 20px;
    width: 95%;
    max-width: 400px;
    border-radius: 12px;
  }
  
  .modal-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
  }
  
  .modal-content p {
    font-size: 1rem;
    line-height: 1.5;
  }
  
  .close {
    top: 10px;
    right: 15px;
    font-size: 24px;
  }
  
  .features-preview {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .feature-item {
    padding: 25px 15px;
  }
  
  .feature-icon {
    font-size: 2.5rem;
  }
  
  .feature-item h3 {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .offerings-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .offering-card {
    padding: 18px;
  }
  
  .offering-icon {
    font-size: 2.2rem;
  }
  
  .offering-card h3 {
    font-size: 1.1rem;
  }
  
  .offering-card p {
    font-size: 0.9rem;
  }
  
  .call-to-action {
    padding: 20px 15px;
  }
  
  .highlight-text {
    font-size: 1.1rem;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    align-items: center;
  }
  
  .footer-section {
    width: 100%;
  }
  
  .social-footer {
    width: 100%;
    justify-content: center;
    align-items: center;
    display: flex;
  }
  
  .social-icons {
    gap: 15px;
  }
  
  .social-link {
    min-width: 70px;
    padding: 8px;
  }
  
  .social-icon {
    font-size: 1.5rem;
  }
  
  .social-text {
    font-size: 0.7rem;
  }
}

/* Users Page Styles */
.main-nav {
  display: flex;
  gap: 15px;
  margin-left: auto;
  flex-wrap: wrap;
  flex-shrink: 0;
  justify-content: flex-end;
}

.nav-link {
  text-decoration: none;
  color: #666;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 20px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: #e91e63;
  background-color: #fff0f5;
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
  .header-container {
    flex-wrap: wrap;
  }
  
  .header-content {
    order: 3;
    width: 100%;
    text-align: center;
  }
  
  .main-nav {
    gap: 8px;
    justify-content: center;
    width: 100%;
    flex-wrap: wrap;
    margin-left: 0;
    order: 2;
  }
  
  .nav-link {
    padding: 6px 12px;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .main-nav {
    gap: 6px;
    padding: 10px 0;
  }
  
  .nav-link {
    padding: 5px 10px;
    font-size: 0.75rem;
  }
}

.users-container {
  padding: 40px 20px;
  min-height: 60vh;
}

.users-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  gap: 20px;
  flex-wrap: wrap;
}

.user-count-display {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #fff0f5;
  border-radius: 20px;
  border: 2px solid #e91e63;
}

.user-count-display-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 60px 20px;
  text-align: center;
  min-height: 400px;
}

.total-users-label {
  color: #e91e63;
  font-weight: 600;
  font-size: 0.9rem;
}

.total-users-label-main {
  color: #e91e63;
  font-weight: 700;
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.total-users-count {
  background: #e91e63;
  color: white;
  padding: 4px 12px;
  border-radius: 15px;
  font-weight: 700;
  font-size: 1rem;
  min-width: 30px;
  text-align: center;
}

.total-users-count-main {
  background: linear-gradient(135deg, #e91e63, #ff4081);
  color: white;
  padding: 20px 40px;
  border-radius: 25px;
  font-weight: 900;
  font-size: 4rem;
  min-width: 120px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(233, 30, 99, 0.3);
  border: 4px solid #fff;
}

.total-users-count.filtered {
  background: #ff9800;
}

.total-users-count.no-users {
  background: #9e9e9e;
}

.search-container {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  max-width: 400px;
}

.search-input {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 25px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.search-input:focus {
  border-color: #e91e63;
}

.search-btn {
  padding: 12px 16px;
  background: #e91e63;
  color: white;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.search-btn:hover {
  background: #d81b60;
}

.filter-container {
  display: flex;
  align-items: center;
}

.filter-select {
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 25px;
  font-size: 1rem;
  outline: none;
  background: white;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.filter-select:focus {
  border-color: #e91e63;
}

.loading-spinner {
  text-align: center;
  padding: 60px 20px;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #e91e63;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.users-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.user-card {
  background: white;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.user-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-color: #e91e63;
}

.user-avatar {
  text-align: center;
  margin-bottom: 20px;
}

.user-avatar img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff0f5;
  box-shadow: 0 4px 15px rgba(233, 30, 99, 0.2);
}

.user-info {
  text-align: center;
  margin-bottom: 20px;
}

.user-name {
  margin: 0 0 8px 0;
  color: #333;
  font-size: 1.3rem;
  font-weight: 600;
}

.user-role {
  margin: 0 0 5px 0;
  color: #e91e63;
  font-weight: 500;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.user-location {
  margin: 0;
  color: #666;
  font-size: 0.9rem;
}

.user-stats {
  text-align: center;
}

.user-joined {
  color: #999;
  font-size: 0.8rem;
  font-style: italic;
}

.no-users {
  text-align: center;
  padding: 60px 20px;
  color: #666;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
}

.pagination-btn {
  padding: 10px 20px;
  background: #e91e63;
  color: white;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.pagination-btn:hover:not(:disabled) {
  background: #d81b60;
  transform: translateY(-2px);
}

.pagination-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
}

.page-info {
  color: #666;
  font-weight: 500;
}

.user-modal-content {
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
}

.user-detail-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid #f0f0f0;
}

.user-detail-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff0f5;
  box-shadow: 0 4px 15px rgba(233, 30, 99, 0.2);
}

.user-detail-info h2 {
  margin: 0 0 10px 0;
  color: #333;
  font-size: 1.8rem;
}

.user-detail-role {
  margin: 0 0 8px 0;
  color: #e91e63;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.user-detail-location {
  margin: 0;
  color: #666;
  font-size: 1rem;
}

.user-detail-body {
  color: #333;
}

.user-detail-body h3 {
  color: #e91e63;
  margin: 20px 0 10px 0;
  font-size: 1.2rem;
}

.user-detail-body p {
  margin: 0 0 15px 0;
  line-height: 1.6;
}

.user-meta {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 2px solid #f0f0f0;
}

.user-meta p {
  margin: 8px 0;
  font-size: 0.9rem;
  color: #666;
}

.error-message {
  text-align: center;
  padding: 40px 20px;
  color: #e74c3c;
}

.retry-btn {
  margin-top: 20px;
  padding: 12px 24px;
  background: #e91e63;
  color: white;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.retry-btn:hover {
  background: #d81b60;
}

/* Responsive Design for Users Page */
@media (max-width: 768px) {
  .users-controls {
    flex-direction: column;
    align-items: stretch;
  }
  
  .user-count-display {
    align-self: center;
    margin-bottom: 10px;
  }
  
  .user-count-display-main {
    padding: 40px 20px;
    min-height: 300px;
  }
  
  .total-users-label-main {
    font-size: 1.5rem;
  }
  
  .total-users-count-main {
    font-size: 3rem;
    padding: 15px 30px;
    min-width: 100px;
  }
  
  .search-container {
    max-width: none;
  }
  
  .users-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .user-card {
    padding: 20px;
  }
  
  .user-detail-header {
    flex-direction: column;
    text-align: center;
  }
  
  .user-detail-avatar {
    width: 100px;
    height: 100px;
  }
  
  .pagination {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .users-container {
    padding: 20px 15px;
  }
  
  .user-card {
    padding: 15px;
  }
  
  .user-avatar img {
    width: 80px;
    height: 80px;
  }
  
  .user-name {
    font-size: 1.1rem;
  }
  
  .search-input,
  .search-btn,
  .filter-select {
    padding: 10px 14px;
    font-size: 0.9rem;
  }
}

/* Table Creation Instructions Styles */
.table-creation-instructions {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
  max-width: 800px;
  margin: 0 auto;
}

.table-creation-instructions h3 {
  color: #e74c3c;
  margin-bottom: 20px;
  text-align: center;
}

.table-creation-instructions h4 {
  color: #e91e63;
  margin: 25px 0 15px 0;
}

.table-creation-instructions ol {
  margin: 15px 0;
  padding-left: 25px;
}

.table-creation-instructions li {
  margin: 10px 0;
  line-height: 1.6;
}

.table-creation-instructions a {
  color: #e91e63;
  text-decoration: none;
  font-weight: 600;
}

.table-creation-instructions a:hover {
  text-decoration: underline;
}

.sql-code {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0;
  overflow-x: auto;
}

.sql-code pre {
  margin: 0;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  line-height: 1.4;
  color: #333;
}

.sql-code code {
  background: none;
  padding: 0;
  color: inherit;
}

.table-creation-instructions strong {
  color: #e91e63;
}

/* WhatsApp Support Button - Professional Floating Button */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  animation: pulse-whatsapp 2s infinite;
  text-decoration: none;
}

.whatsapp-float:hover {
  background-color: #20BA5A;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-float:active {
  transform: scale(0.95);
}

.whatsapp-float svg {
  width: 35px;
  height: 35px;
  fill: #FFF;
}

.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #128C7E;
  color: white;
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: #128C7E;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
}

@keyframes pulse-whatsapp {
  0% {
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.6), 0 0 0 10px rgba(37, 211, 102, 0.1);
  }
  100% {
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  }
}

/* Responsive WhatsApp Button */
@media (max-width: 768px) {
  .whatsapp-float {
    width: 56px;
    height: 56px;
    bottom: 15px;
    right: 15px;
    font-size: 28px;
  }

  .whatsapp-float svg {
    width: 32px;
    height: 32px;
  }

  .whatsapp-tooltip {
    display: none;
  }
}

@media (max-width: 480px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 10px;
    right: 10px;
    font-size: 24px;
  }

  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
}
