/* Modern Component Styles - Based on SuperHTML Design */

/* Enhanced Modern Footer */
.modern-footer-enhanced {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

/* Light Mode Footer */
[data-theme="light"] .modern-footer-enhanced {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.modern-footer-enhanced::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient-primary);
  opacity: 0.5;
}

/* Footer Main Content */
.footer-main {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

/* Brand Section */
.footer-brand-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.footer-logo-img {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.brand-info h3 {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.brand-tagline {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin: 0;
}

.footer-description {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Light Mode Text Colors */
[data-theme="light"] .brand-tagline {
  color: rgba(0, 0, 0, 0.6);
}

[data-theme="light"] .footer-description {
  color: rgba(0, 0, 0, 0.7);
}

/* Social Links */
.footer-social-links {
  display: flex;
  gap: 1rem;
}

.social-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.social-btn:hover {
  transform: translateY(-2px);
  color: white;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.2);
}

.social-btn.discord:hover {
  background: rgba(114, 137, 218, 0.2);
  border-color: rgba(114, 137, 218, 0.3);
}

.social-btn.facebook:hover {
  background: rgba(24, 119, 242, 0.2);
  border-color: rgba(24, 119, 242, 0.3);
}

.social-btn.youtube:hover {
  background: rgba(255, 0, 0, 0.2);
  border-color: rgba(255, 0, 0, 0.3);
}

/* Light Mode Social Buttons */
[data-theme="light"] .social-btn {
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: rgba(0, 0, 0, 0.7);
}

[data-theme="light"] .social-btn:hover {
  color: rgba(0, 0, 0, 0.9);
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.2);
}

/* Services Grid */
.footer-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-column-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 1rem 0;
}

/* Light Mode Column Titles */
[data-theme="light"] .footer-column-title {
  color: rgba(0, 0, 0, 0.9);
}

.footer-column-title i {
  color: var(--primary-color);
  font-size: 1.2rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.footer-link:hover {
  background: rgba(99, 102, 241, 0.1);
  color: white;
  transform: translateX(5px);
}

/* Light Mode Footer Links */
[data-theme="light"] .footer-link {
  color: rgba(0, 0, 0, 0.6);
}

[data-theme="light"] .footer-link:hover {
  background: rgba(99, 102, 241, 0.1);
  color: rgba(0, 0, 0, 0.9);
}

.footer-link i {
  color: var(--primary-color);
  width: 16px;
  text-align: center;
}

/* Payment Methods Section */
.footer-payment-section {
  margin: 2rem 0;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 15px;
}

.payment-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 1.5rem 0;
  text-align: center;
  justify-content: center;
}

/* Light Mode Payment Section */
[data-theme="light"] .footer-payment-section {
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .payment-title {
  color: rgba(0, 0, 0, 0.9);
}

.payment-title i {
  color: var(--primary-color);
}

.payment-methods-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.payment-method {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.payment-method:hover {
  background: rgba(99, 102, 241, 0.1);
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateY(-2px);
}

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

.payment-method span {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  font-weight: 500;
}

/* Light Mode Payment Methods */
[data-theme="light"] .payment-method {
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .payment-method span {
  color: rgba(0, 0, 0, 0.7);
}

/* Features Banner */
.footer-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 2rem 0;
  padding: 2rem;
  background: rgba(99, 102, 241, 0.05);
  border: 1px solid rgba(99, 102, 241, 0.1);
  border-radius: 15px;
}

.feature-badge {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.feature-badge:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* Light Mode Features */
[data-theme="light"] .footer-features {
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.15);
}

[data-theme="light"] .feature-badge {
  background: rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .feature-badge:hover {
  background: rgba(0, 0, 0, 0.08);
}

.feature-badge i {
  font-size: 1.5rem;
  color: var(--primary-color);
  min-width: 24px;
}

.feature-info {
  display: flex;
  flex-direction: column;
}

.feature-title {
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
}

.feature-desc {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
}

/* Light Mode Feature Text */
[data-theme="light"] .feature-title {
  color: rgba(0, 0, 0, 0.9);
}

[data-theme="light"] .feature-desc {
  color: rgba(0, 0, 0, 0.5);
}

/* Footer Bottom */
.footer-bottom-enhanced {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-left {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.copyright {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  margin: 0;
}

.developer-credit {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  margin: 0;
}

/* Light Mode Footer Bottom */
[data-theme="light"] .footer-bottom-enhanced {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .copyright {
  color: rgba(0, 0, 0, 0.7);
}

[data-theme="light"] .developer-credit {
  color: rgba(0, 0, 0, 0.5);
}

.developer-credit i {
  color: var(--primary-color);
}

.footer-bottom-right {
  display: flex;
  align-items: center;
}

.footer-stats {
  display: flex;
  gap: 2rem;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

.stat-item i {
  color: var(--primary-color);
}

/* Light Mode Stats */
[data-theme="light"] .stat-item {
  color: rgba(0, 0, 0, 0.6);
}

/* Footer Responsive Design */
@media (max-width: 1024px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .footer-services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .footer-features {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .payment-methods-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .modern-footer-enhanced {
    padding: 3rem 0 1.5rem;
    margin-top: 3rem;
  }
  
  .footer-services-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-features {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .payment-methods-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-social-links {
    flex-wrap: wrap;
  }
  
  .footer-bottom-enhanced {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .footer-stats {
    flex-direction: column;
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  .footer-brand-logo {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
  
  .footer-logo-img {
    width: 50px;
    height: 50px;
  }
  
  .brand-info h3 {
    font-size: 1.3rem;
  }
  
  .footer-payment-section {
    padding: 1.5rem;
  }
  
  .payment-methods-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-features {
    padding: 1.5rem;
  }
  
  .feature-badge {
    padding: 0.75rem;
  }
  
  .social-btn {
    padding: 0.6rem 0.8rem;
    font-size: 0.85rem;
  }
}
.modern-comments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.modern-comment-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 1.5rem;
  position: relative;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  overflow: hidden;
}

/* Light mode comment cards */
[data-theme="light"] .modern-comment-card {
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
}

.modern-comment-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 20px 20px 0 0;
}

.modern-comment-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
  border-color: rgba(99, 102, 241, 0.3);
}

.comment-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.comment-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--primary-color);
  object-fit: cover;
}

.comment-user-info h4 {
  color: white;
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.comment-date {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin: 0;
}

/* Light mode comment text */
[data-theme="light"] .comment-user-info h4 {
  color: rgba(0, 0, 0, 0.9);
}

[data-theme="light"] .comment-date {
  color: rgba(0, 0, 0, 0.6);
}

.comment-resource {
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 10px;
  padding: 0.75rem;
  margin-bottom: 1rem;
}

.comment-resource a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.comment-resource a:hover {
  color: white;
}

.comment-content {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 1rem;
  font-style: italic;
}

/* Light mode comment content and resource */
[data-theme="light"] .comment-content {
  color: rgba(0, 0, 0, 0.8);
}

[data-theme="light"] .comment-resource {
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.2);
}

[data-theme="light"] .comment-resource a:hover {
  color: rgba(0, 0, 0, 0.9);
}

.comment-actions {
  display: flex;
  justify-content: flex-end;
}

.comment-stats {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 15px;
  padding: 1rem;
  text-align: center;
  margin-top: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.comment-stats .stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  display: block;
}

.comment-stats .stat-label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Light mode comment stats */
[data-theme="light"] .comment-stats {
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .comment-stats .stat-label {
  color: rgba(0, 0, 0, 0.7);
}

/* Modern User Panel */
.modern-user-panel {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 25px;
  padding: 2rem;
  backdrop-filter: blur(15px);
  position: relative;
  overflow: hidden;
}

.modern-user-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 25px 25px 0 0;
}

.user-panel-header {
  text-align: center;
  margin-bottom: 2rem;
}

.user-panel-header h3 {
  color: white;
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.user-avatar-section {
  text-align: center;
  margin-bottom: 2rem;
}

.modern-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 4px solid var(--primary-color);
  object-fit: cover;
  margin-bottom: 1rem;
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

.user-badge {
  background: var(--gradient-primary);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.user-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.login-form {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 15px;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.modern-input-group {
  margin-bottom: 1.5rem;
}

.modern-input-group label {
  color: white;
  font-weight: 500;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modern-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.modern-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.modern-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.guest-warning {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 15px;
  padding: 1rem;
  text-align: center;
  margin-bottom: 1.5rem;
  color: #fbbf24;
  font-weight: 500;
}

/* Sidebar Layout */
.modern-sidebar-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.modern-sidebar-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.modern-sidebar-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.15);
}

.sidebar-card-header {
  background: var(--gradient-primary);
  padding: 1rem 1.5rem;
  color: white;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sidebar-card-content {
  padding: 1.5rem;
}

.resource-preview {
  text-align: center;
}

.resource-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.resource-title {
  color: white;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.resource-meta {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.resource-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding: 0.5rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
}

.resource-stat {
  text-align: center;
}

.resource-stat .number {
  color: var(--primary-color);
  font-weight: 700;
  display: block;
}

.resource-stat .label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .modern-comments-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
  }
  
  .hosting-card {
    width: 100%;
    max-width: 500px;
  }
}

@media (max-width: 768px) {
  .modern-comments-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .modern-comment-card {
    padding: 1rem;
  }
  
  .comment-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .comment-avatar {
    width: 40px;
    height: 40px;
  }
  
  .comment-user-info h4 {
    font-size: 1rem;
  }
  
  .comment-date {
    font-size: 0.8rem;
  }
  
  .comment-resource {
    padding: 0.5rem;
  }
  
  .comment-content {
    font-size: 0.9rem;
  }
  
  .modern-sidebar-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .sidebar-card-content {
    padding: 1rem;
  }
  
  .resource-image {
    height: 150px;
  }
  
  .resource-stats {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .resource-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .resource-stat .number {
    font-size: 1.2rem;
  }
  
  .hosting-card {
    width: 100%;
    margin-bottom: 1rem;
  }
  
  .hosting-card-inner {
    flex-direction: column;
  }
  
  .hosting-visual {
    width: 100%;
  }
  
  .hosting-content {
    width: 100%;
    padding: 1rem;
  }
  
  .modern-btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .modern-comment-card {
    padding: 0.75rem;
    border-radius: 15px;
  }
  
  .comment-header {
    gap: 0.25rem;
  }
  
  .comment-avatar {
    width: 35px;
    height: 35px;
  }
  
  .comment-user-info h4 {
    font-size: 0.9rem;
  }
  
  .comment-date {
    font-size: 0.75rem;
  }
  
  .comment-content {
    font-size: 0.85rem;
    line-height: 1.4;
  }
  
  .comment-resource {
    padding: 0.4rem;
    margin-bottom: 0.75rem;
  }
  
  .comment-resource a {
    font-size: 0.85rem;
  }
  
  .comment-stats {
    padding: 0.75rem;
    margin-top: 1rem;
  }
  
  .comment-stats .stat-number {
    font-size: 1.5rem;
  }
  
  .comment-stats .stat-label {
    font-size: 0.8rem;
  }
  
  .sidebar-card-header {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }
  
  .sidebar-card-content {
    padding: 0.75rem;
  }
  
  .resource-title {
    font-size: 1rem;
    margin-bottom: 0.4rem;
  }
  
  .resource-meta {
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
  }
  
  .resource-image {
    height: 120px;
    border-radius: 8px;
  }
  
  .modern-btn {
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
    border-radius: 25px;
  }
  
  .hosting-content {
    padding: 0.75rem;
  }
  
  .hosting-title {
    font-size: 1.1rem;
  }
  
  .hosting-description p {
    font-size: 0.85rem;
    line-height: 1.4;
  }
}
/* Modern Buttons */
.modern-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.modern-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.modern-btn:hover::before {
  left: 100%;
}

.modern-btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-md);
}

.modern-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: white;
  text-decoration: none;
}

.modern-btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.modern-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  text-decoration: none;
}

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

.modern-btn-outline:hover {
  background: var(--primary-color);
  color: white;
  text-decoration: none;
}

.modern-btn-danger {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
  border: 2px solid #ef4444;
}

.modern-btn-danger:hover {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  color: white;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
}

.modern-btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

/* New Vertical Hosting Cards Design */
.hosting-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  height: auto;
  min-height: 450px;
  width: 565px;
}

.hosting-card.popular {
  border: 2px solid var(--primary-color);
  box-shadow: 0 6px 30px rgba(99, 102, 241, 0.15);
  transform: translateY(-5px);
}

.hosting-card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Top - Large Image */
.hosting-visual {
  width: 100%;
  height: 400px;
  position: relative;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  overflow: hidden;
}

.hosting-image {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.hosting-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.hosting-card:hover .hosting-image img {
  transform: scale(1.05);
}

.popular-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 25px;
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
  z-index: 10;
}

.popular-badge i {
  font-size: 0.7rem;
}

/* Bottom - Content */
.hosting-content {
  flex: 1;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hosting-header {
  margin-bottom: 0.8rem;
}

.hosting-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  line-height: 1.2;
  text-shadow: none;
}

.hosting-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.7rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 500;
}

.category-tag {
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary-color);
}

.date-tag {
  background: rgba(107, 114, 128, 0.1);
  color: #6b7280;
}

.hosting-description {
  flex-grow: 1;
  margin: 0.5rem 0;
}

.hosting-description p {
  color: #4b5563;
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
  text-shadow: none;
  font-weight: 400;
}

.hosting-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
}

.hosting-stats {
  display: flex;
  gap: 0.5rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
}

.stat-item i {
  color: var(--primary-color);
  font-size: 0.9rem;
}

.stat-number {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
  text-shadow: none;
}

.stat-label {
  font-size: 0.6rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  text-shadow: none;
}

.hosting-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-shadow: none;
}

.hosting-btn.btn-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, #8b5cf6 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.hosting-btn.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
  text-decoration: none;
  color: white;
}

.hosting-btn.btn-secondary {
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary-color);
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.hosting-btn.btn-secondary:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  text-decoration: none;
}

/* Dark Mode Support for Hosting Cards */
[data-theme="dark"] .hosting-card {
  background: var(--bg-secondary);
  border: 1px solid rgba(99, 102, 241, 0.2);
  color: var(--text-primary);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .hosting-card.popular {
  border: 2px solid var(--primary-color);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.2);
}

[data-theme="dark"] .hosting-visual {
  background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
}

[data-theme="dark"] .hosting-image {
  background: var(--bg-primary);
}

[data-theme="dark"] .hosting-title {
  color: var(--text-primary);
}

[data-theme="dark"] .hosting-description p,
[data-theme="dark"] .hosting-card .hosting-description p {
  color: var(--text-secondary) !important;
}

[data-theme="dark"] .category-tag {
  background: rgba(99, 102, 241, 0.2);
  color: var(--primary-color);
}

[data-theme="dark"] .date-tag {
  background: rgba(107, 114, 128, 0.2);
  color: var(--text-secondary);
}

[data-theme="dark"] .stat-number {
  color: var(--text-primary) !important;
}

[data-theme="dark"] .stat-label {
  color: var(--text-secondary) !important;
}

[data-theme="dark"] .hosting-btn.btn-secondary {
  background: rgba(99, 102, 241, 0.2);
  color: var(--primary-color);
  border: 1px solid rgba(99, 102, 241, 0.3);
}

/* Additional dark mode fixes for stats */
[data-theme="dark"] .hosting-card .stat-number {
  color: var(--text-primary) !important;
}

[data-theme="dark"] .hosting-card .stat-label {
  color: var(--text-secondary) !important;
}

/* Remove all text-shadow effects from hosting cards */
.hosting-card * {
  text-shadow: none !important;
}

.hosting-card p,
.hosting-card span,
.hosting-card h1,
.hosting-card h2,
.hosting-card h3,
.hosting-card h4,
.hosting-card h5,
.hosting-card h6 {
  text-shadow: none !important;
  filter: none !important;
}

/* Force light mode text colors for better readability */
[data-theme="light"] .hosting-card .hosting-title,
[data-theme="light"] .hosting-title {
  color: #0dcaf0 !important;
}

[data-theme="light"] .hosting-card .hosting-description p,
[data-theme="light"] .hosting-description p {
  color: #4b5563 !important;
}

[data-theme="light"] .hosting-card .stat-number,
[data-theme="light"] .stat-number {
  color: #0dcaf0 !important;
}

[data-theme="light"] .hosting-card .stat-label,
[data-theme="light"] .stat-label {
  color: #6b7280 !important;
}

[data-theme="light"] .hosting-card .date-tag,
[data-theme="light"] .date-tag {
  color: #6b7280 !important;
}

/* Additional specific overrides for light mode */
[data-theme="light"] .hosting-card h3 {
  color: #0dcaf0 !important;
}

[data-theme="light"] .hosting-card p {
  color: #4b5563 !important;
}

/* Mobile Optimizations for Hosting Cards */
@media (max-width: 768px) {
  .hosting-card {
    width: 100% !important;
    max-width: 100% !important;
    min-height: auto;
    margin-bottom: 1.5rem;
  }
  
  .hosting-card-inner {
    flex-direction: column;
  }
  
  .hosting-visual {
    height: 200px;
  }
  
  .hosting-content {
    padding: 1rem;
  }
  
  .hosting-header {
    margin-bottom: 0.75rem;
  }
  
  .hosting-title {
    font-size: 1.1rem;
    line-height: 1.3;
  }
  
  .hosting-tags {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  
  .tag {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
  }
  
  .hosting-description p {
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 1rem;
  }
  
  .hosting-actions {
    flex-direction: column;
    gap: 1rem;
  }
  
  .hosting-stats {
    justify-content: center;
  }
  
  .stat-item {
    flex-direction: column;
    text-align: center;
    gap: 0.25rem;
  }
  
  .stat-number {
    font-size: 1.2rem;
  }
  
  .stat-label {
    font-size: 0.75rem;
  }
  
  .hosting-btn {
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }
  
  .popular-badge {
    top: 0.5rem;
    right: 0.5rem;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
  }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
  .hosting-card {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 15px;
  }
  
  .hosting-visual {
    height: 180px;
  }
  
  .hosting-content {
    padding: 0.75rem;
  }
  
  .hosting-title {
    font-size: 1rem;
  }
  
  .hosting-description p {
    font-size: 0.8rem;
  }
  
  .tag {
    font-size: 0.7rem;
    padding: 0.2rem 0.4rem;
  }
  
  .hosting-btn {
    padding: 0.6rem 0.8rem;
    font-size: 0.85rem;
  }
}

/* Fix all text colors in light mode for sidebar and other sections */
[data-theme="light"] .list-unstyled,
[data-theme="light"] .list-unstyled li,
[data-theme="light"] .list-unstyled p,
[data-theme="light"] .list-unstyled span {
  color: #4b5563 !important;
}

/* Light mode text for mt-3 and list-unstyled elements */
[data-theme="light"] .mt-3,
[data-theme="light"] .mt-3 li,
[data-theme="light"] .mt-3 p,
[data-theme="light"] .mt-3 span,
[data-theme="light"] .list-unstyled,
[data-theme="light"] .list-unstyled li,
[data-theme="light"] .list-unstyled p,
[data-theme="light"] .list-unstyled span {
  color: #4b5563 !important;
}

/* Dark mode text for mt-3 and list-unstyled elements */
[data-theme="dark"] .mt-3,
[data-theme="dark"] .mt-3 li,
[data-theme="dark"] .mt-3 p,
[data-theme="dark"] .mt-3 span,
[data-theme="dark"] .list-unstyled,
[data-theme="dark"] .list-unstyled li,
[data-theme="dark"] .list-unstyled p,
[data-theme="dark"] .list-unstyled span {
  color: #e9ecef !important;
}

/* General light mode text fixes */
[data-theme="light"] .modern-box-wrapper,
[data-theme="light"] .modern-box-wrapper p,
[data-theme="light"] .modern-box-wrapper span,
[data-theme="light"] .modern-box-wrapper li {
  color: #4b5563 !important;
}

[data-theme="light"] .bdg-dark,
[data-theme="light"] .bdg-dark p,
[data-theme="light"] .bdg-dark span {
  color: #4b5563 !important;
}

/* Universal light mode text color fixes */
[data-theme="light"] .modern-features-grid p,
[data-theme="light"] .modern-features-grid span,
[data-theme="light"] .modern-features-grid li {
  color: #4b5563 !important;
}

[data-theme="light"] aside p,
[data-theme="light"] aside span,
[data-theme="light"] aside li {
  color: #4b5563 !important;
}

/* Fix for any remaining text elements */
[data-theme="light"] .text-white {
  color: #4b5563 !important;
}

[data-theme="light"] .bdg-s,
[data-theme="light"] .bdg-b,
[data-theme="light"] .bdg-bb {
  color: #4b5563 !important;
}

/* Use blue cursor as default for both themes */
body {
  cursor: url("../img/link.cur"), pointer !important;
}

a {
  cursor: url("../img/link.cur"), pointer !important;
}

a:hover {
  cursor: url("../img/link.cur"), pointer !important;
}

button,
.modern-btn,
.hosting-btn,
.btn-custom,
.btn-custom-red,
.btn-custom-green,
.btn-custom-emoji,
[role="button"] {
  cursor: url("../img/link.cur"), pointer !important;
}

input,
textarea,
select {
  cursor: text !important;
}

/* Server Locations Section */
.modern-locations-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(16, 185, 129, 0.05) 100%);
  position: relative;
  overflow: hidden;
}

.modern-locations-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.modern-map-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

.modern-map-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.modern-map-image {
  width: 100%;
  height: auto;
  display: block;
  filter: brightness(0.9) contrast(1.1);
}

.modern-location-point {
  position: absolute;
  cursor: pointer;
  z-index: 10;
}

.modern-location-point.germany {
  top: 32%;
  left: 51%;
}

.modern-location-point.italy {
  top: 42%;
  left: 52%;
}

.modern-location-point.bulgaria {
  top: 42%;
  left: 56%;
}

.modern-location-point.russia {
  top: 25%;
  left: 85%;
}

.point-dot {
  width: 14px;
  height: 14px;
  background: var(--primary-color);
  border-radius: 50%;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.4);
  border: 2px solid white;
}

.point-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background: var(--primary-color);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.location-tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  margin-bottom: 10px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.location-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: rgba(0, 0, 0, 0.9);
}

.location-tooltip h4 {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-color);
}

.location-tooltip p {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
}

.modern-location-point:hover .location-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-5px);
}

@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(2);
    opacity: 0;
  }
}

/* Light mode locations */
[data-theme="light"] .modern-locations-section {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(16, 185, 129, 0.08) 100%);
}

[data-theme="light"] .modern-map-wrapper {
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .point-dot {
  background: #6366f1;
  border: 2px solid #000000;
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.8), 0 0 30px rgba(99, 102, 241, 0.4);
}

[data-theme="light"] .point-pulse {
  background: rgba(99, 102, 241, 0.6);
}

[data-theme="light"] .location-tooltip {
  background: rgba(255, 255, 255, 0.95);
  color: rgba(0, 0, 0, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .location-tooltip::after {
  border-top-color: rgba(255, 255, 255, 0.95);
}

[data-theme="light"] .location-tooltip p {
  color: rgba(0, 0, 0, 0.6);
}

/* Why Choose Section */
.modern-why-choose-section {
  padding: 8rem 0;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(245, 158, 11, 0.05) 100%);
  position: relative;
  overflow: hidden;
}

.modern-why-choose-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 25% 25%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 75% 75%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
  animation: float 20s ease-in-out infinite;
  pointer-events: none;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(30px, -30px) rotate(120deg); }
  66% { transform: translate(-20px, 20px) rotate(240deg); }
}

.modern-features-detailed {
  display: grid;
  gap: 3rem;
  max-width: 900px;
  margin: 0 auto;
}

.modern-feature-item {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  padding: 3rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 25px;
  backdrop-filter: blur(15px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.modern-feature-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: all 0.4s ease;
}

.modern-feature-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.6s ease;
}

.modern-feature-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 50px rgba(99, 102, 241, 0.2);
  border-color: rgba(99, 102, 241, 0.4);
  background: rgba(255, 255, 255, 0.12);
}

.modern-feature-item:hover::before {
  opacity: 1;
  height: 6px;
}

.modern-feature-item:hover::after {
  left: 100%;
}

.modern-feature-icon {
  flex-shrink: 0;
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: white;
  box-shadow: 0 15px 35px rgba(99, 102, 241, 0.4);
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.modern-feature-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.modern-feature-icon::after {
  content: '';
  position: absolute;
  inset: -3px;
  background: var(--gradient-primary);
  border-radius: 28px;
  z-index: -1;
  opacity: 0;
  transition: all 0.4s ease;
}

.modern-feature-item:hover .modern-feature-icon {
  transform: rotate(5deg) scale(1.1);
  box-shadow: 0 20px 40px rgba(99, 102, 241, 0.5);
}

.modern-feature-item:hover .modern-feature-icon::before {
  transform: translateX(100%);
}

.modern-feature-item:hover .modern-feature-icon::after {
  opacity: 1;
}

.modern-feature-content h3 {
  color: white;
  font-size: 1.6rem;
  font-weight: 800;
  margin: 0 0 1.2rem 0;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
  transition: all 0.3s ease;
  position: relative;
}

.modern-feature-content h3::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.4s ease;
}

.modern-feature-item:hover .modern-feature-content h3::after {
  width: 60px;
}

.modern-feature-content p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  font-size: 1.05rem;
  margin: 0;
  font-weight: 400;
  transition: color 0.3s ease;
}

.modern-feature-item:hover .modern-feature-content p {
  color: rgba(255, 255, 255, 0.95);
}

/* Light mode why choose */
[data-theme="light"] .modern-why-choose-section {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(245, 158, 11, 0.08) 100%);
}

[data-theme="light"] .modern-feature-item {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(20px);
}

[data-theme="light"] .modern-feature-item:hover {
  box-shadow: 0 25px 50px rgba(99, 102, 241, 0.15);
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(99, 102, 241, 0.2);
}

[data-theme="light"] .modern-feature-content h3 {
  color: rgba(0, 0, 0, 0.9);
  -webkit-text-fill-color: rgba(0, 0, 0, 0.9);
}

[data-theme="light"] .modern-feature-content p {
  color: rgba(0, 0, 0, 0.75);
}

[data-theme="light"] .modern-feature-item:hover .modern-feature-content p {
  color: rgba(0, 0, 0, 0.85);
}

/* Resources Page Styles */
.modern-resources-section {
  padding: 2rem 0;
  min-height: calc(100vh - 200px);
}

.modern-resources-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 3rem;
  align-items: start;
}

.modern-resources-main {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  min-height: 600px;
}

.modern-resources-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Full Width Resources Layout */
.modern-resources-layout-full {
  display: block;
  width: 100%;
}

.modern-resources-main-full {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  min-height: 600px;
  width: 100%;
}

/* Resource Categories Styles */
.modern-resources-categories {
  width: 100%;
}

.modern-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.modern-category-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  backdrop-filter: blur(15px);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.modern-category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: all 0.4s ease;
}

.modern-category-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 50px rgba(99, 102, 241, 0.2);
  border-color: rgba(99, 102, 241, 0.4);
  background: rgba(255, 255, 255, 0.12);
}

.modern-category-card:hover::before {
  opacity: 1;
  height: 6px;
}

.modern-category-image {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.modern-category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.modern-category-card:hover .modern-category-image img {
  transform: scale(1.1);
}

.modern-category-content {
  padding: 1.5rem;
  text-align: center;
}

.modern-category-title {
  color: white;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.3s ease;
}

/* Resource List Styles */
.modern-resources-list {
  width: 100%;
}

.modern-resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.modern-resource-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  backdrop-filter: blur(15px);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.modern-resource-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: all 0.4s ease;
}

.modern-resource-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 50px rgba(99, 102, 241, 0.2);
  border-color: rgba(99, 102, 241, 0.4);
  background: rgba(255, 255, 255, 0.12);
}

.modern-resource-item:hover::before {
  opacity: 1;
  height: 6px;
}

.modern-resource-image {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.modern-resource-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.modern-resource-item:hover .modern-resource-image img {
  transform: scale(1.1);
}

.modern-resource-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modern-resource-item:hover .modern-resource-overlay {
  opacity: 1;
}

.modern-resource-stats {
  display: flex;
  gap: 1rem;
}

.modern-resource-downloads {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

.modern-resource-content {
  padding: 1.5rem;
  text-align: center;
}

/* Resource Details Page Styles */
.modern-resource-details {
  width: 100%;
  margin-bottom: 3rem;
}

.modern-resource-showcase {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  backdrop-filter: blur(15px);
  overflow: hidden;
  margin-top: 2rem;
}

.modern-resource-hero {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 2rem;
  padding: 2rem;
  align-items: start;
}

.modern-resource-image-container {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.modern-resource-hero-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.modern-resource-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.8) 0%, rgba(16, 185, 129, 0.8) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modern-resource-image-container:hover .modern-resource-overlay {
  opacity: 1;
}

.modern-resource-image-container:hover .modern-resource-hero-image {
  transform: scale(1.05);
}

.modern-resource-badge {
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-color);
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  backdrop-filter: blur(10px);
}

.modern-resource-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.modern-resource-name {
  color: white;
  font-size: 2.2rem;
  font-weight: 800;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.modern-resource-meta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.modern-meta-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.modern-meta-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateX(5px);
}

.modern-meta-item i {
  color: var(--primary-color);
  font-size: 1.2rem;
  width: 20px;
  text-align: center;
}

.meta-label {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  min-width: 80px;
}

.meta-value {
  color: white;
  font-weight: 600;
  flex: 1;
}

/* Sidebar Cards */
.modern-sidebar-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  backdrop-filter: blur(15px);
  overflow: hidden;
  transition: all 0.3s ease;
}

.modern-sidebar-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.3);
}

.modern-sidebar-header {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modern-sidebar-header h3 {
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modern-sidebar-content {
  padding: 1.5rem;
}

/* Sidebar User Profile Styles */
.modern-sidebar-user-profile {
  text-align: center;
}

.modern-sidebar-user-avatar {
  margin-bottom: 1rem;
}

.modern-sidebar-user-avatar img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid var(--primary-color);
  object-fit: cover;
}

.modern-sidebar-user-info {
  margin-bottom: 1.5rem;
}

.modern-sidebar-username {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: white;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.modern-sidebar-user-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
}

.sidebar-status-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  animation: status-pulse 2s infinite;
}

@keyframes status-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.modern-sidebar-user-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Login Form Styles */
.modern-login-form {
  text-align: center;
}

.modern-guest-avatar {
  margin-bottom: 1rem;
}

.modern-guest-avatar img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  opacity: 0.7;
}

.modern-login-message {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: #f59e0b;
  font-weight: 600;
  margin-bottom: 1.5rem;
  animation: fade 1.2s infinite;
}

@keyframes fade {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.modern-auth-form {
  margin-bottom: 1.5rem;
}

.modern-input-group {
  margin-bottom: 1rem;
  text-align: left;
}

.modern-input-group label {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.modern-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  color: white;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.modern-input:focus {
  outline: none;
  border-color: var(--primary-color);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.modern-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.modern-auth-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Resource Card Styles */
.modern-resource-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.modern-resource-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.2);
  border-color: rgba(99, 102, 241, 0.3);
}

.modern-resource-image {
  position: relative;
  overflow: hidden;
  height: 120px;
}

.modern-resource-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.modern-resource-card:hover .modern-resource-image img {
  transform: scale(1.05);
}

.modern-resource-info {
  padding: 1rem;
}

.modern-resource-title {
  color: white;
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 0.75rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  line-height: 1.3;
}

.modern-resource-meta {
  margin-bottom: 1rem;
}

.modern-resource-category {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(99, 102, 241, 0.2);
  color: #a5b4fc;
  padding: 0.3rem 0.6rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.modern-resource-stats {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
}

.modern-resource-date,
.modern-resource-downloads {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
}

.modern-btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  width: 100%;
  justify-content: center;
}

/* Light Mode Resources */
[data-theme="light"] .modern-resources-main {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .modern-resources-main-full {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .modern-category-card {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .modern-category-card:hover {
  box-shadow: 0 25px 50px rgba(99, 102, 241, 0.15);
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(99, 102, 241, 0.2);
}

[data-theme="light"] .modern-category-title {
  color: rgba(0, 0, 0, 0.9);
  -webkit-text-fill-color: rgba(0, 0, 0, 0.9);
}

[data-theme="light"] .modern-resource-item {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .modern-resource-item:hover {
  box-shadow: 0 25px 50px rgba(99, 102, 241, 0.15);
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(99, 102, 241, 0.2);
}

[data-theme="light"] .modern-resource-showcase {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .modern-resource-name {
  color: rgba(0, 0, 0, 0.9);
  -webkit-text-fill-color: rgba(0, 0, 0, 0.9);
}

[data-theme="light"] .modern-meta-item {
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .modern-meta-item:hover {
  background: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .meta-label {
  color: rgba(0, 0, 0, 0.6);
}

[data-theme="light"] .meta-value {
  color: rgba(0, 0, 0, 0.9);
}

[data-theme="light"] .modern-sidebar-card {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .modern-sidebar-card:hover {
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.1);
}

[data-theme="light"] .modern-sidebar-username,
[data-theme="light"] .modern-resource-title {
  color: rgba(0, 0, 0, 0.9);
}

[data-theme="light"] .modern-sidebar-user-status {
  color: rgba(0, 0, 0, 0.6);
}

[data-theme="light"] .modern-input-group label {
  color: rgba(0, 0, 0, 0.7);
}

[data-theme="light"] .modern-input {
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.2);
  color: rgba(0, 0, 0, 0.9);
}

[data-theme="light"] .modern-input:focus {
  background: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .modern-input::placeholder {
  color: rgba(0, 0, 0, 0.4);
}

[data-theme="light"] .modern-resource-card {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .modern-resource-card:hover {
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.15);
}

[data-theme="light"] .modern-resource-date,
[data-theme="light"] .modern-resource-downloads {
  color: rgba(0, 0, 0, 0.6);
}

/* Responsive Design for New Sections */
@media (max-width: 1024px) {
  .modern-locations-section,
  .modern-why-choose-section {
    padding: 4rem 0;
  }
  
  .modern-resources-layout {
    grid-template-columns: 1fr 250px;
    gap: 2rem;
  }
  
  .modern-map-container {
    padding: 1.5rem;
  }
  
  .modern-feature-item {
    padding: 2rem;
    gap: 1.5rem;
  }
  
  .modern-feature-icon {
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .modern-locations-section,
  .modern-why-choose-section {
    padding: 3rem 0;
  }
  
  .modern-resources-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .modern-resources-main,
  .modern-resources-main-full {
    padding: 1.5rem;
  }
  
  .modern-categories-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
  }
  
  .modern-resources-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
  }
  
  .modern-category-image,
  .modern-resource-image {
    height: 160px;
  }
  
  .modern-resource-hero {
    grid-template-columns: 300px 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
  }
  
  .modern-resource-hero-image {
    height: 250px;
  }
  
  .modern-resource-name {
    font-size: 1.8rem;
  }
  
  .modern-sidebar-card {
    border-radius: 15px;
  }
  
  .modern-sidebar-content {
    padding: 1rem;
  }
  
  .modern-sidebar-user-avatar img {
    width: 50px;
    height: 50px;
  }
  
  .modern-resource-image {
    height: 100px;
  }
  
  /* Responsive location points for mobile */
  .modern-location-point.germany {
    top: 36%;
    left: 51%;
  }

  .modern-location-point.italy {
    top: 46%;
    left: 52%;
  }

  .modern-location-point.bulgaria {
    top: 44%;
    left: 56%;
  }

  .modern-location-point.russia {
    top: 30%;
    left: 64%;
  }
  
  .modern-feature-item {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
    gap: 1rem;
  }
  
  .modern-feature-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    margin: 0 auto;
  }
  
  .modern-feature-content h3 {
    font-size: 1.3rem;
  }
  
  .modern-feature-content p {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .modern-resources-section {
    padding: 1rem 0;
  }
  
  .modern-resources-layout {
    gap: 1.5rem;
  }
  
  .modern-resources-main,
  .modern-resources-main-full {
    padding: 1rem;
    border-radius: 15px;
  }
  
  .modern-categories-grid,
  .modern-resources-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .modern-category-image,
  .modern-resource-image {
    height: 140px;
  }
  
  .modern-category-content,
  .modern-resource-content {
    padding: 1rem;
  }
  
  .modern-category-title {
    font-size: 1.1rem;
  }
  
  .modern-resource-hero {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem;
  }
  
  .modern-resource-hero-image {
    height: 200px;
  }
  
  .modern-resource-name {
    font-size: 1.5rem;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
  
  .modern-meta-item {
    padding: 0.75rem;
  }
  
  .meta-label {
    min-width: 60px;
    font-size: 0.9rem;
  }
  
  .modern-sidebar-card {
    border-radius: 12px;
  }
  
  .modern-sidebar-header {
    padding: 0.75rem 1rem;
  }
  
  .modern-sidebar-header h3 {
    font-size: 1rem;
  }
  
  .modern-sidebar-content {
    padding: 0.75rem;
  }
  
  .modern-sidebar-user-avatar img {
    width: 40px;
    height: 40px;
  }
  
  .modern-resource-image {
    height: 80px;
  }
  
  .modern-resource-title {
    font-size: 0.9rem;
  }
  
  .modern-btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .modern-locations-section,
  .modern-why-choose-section {
    padding: 2rem 0;
  }
  
  .modern-feature-item {
    padding: 1rem;
  }
  
  .modern-feature-icon {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }
  
  .location-tooltip {
    font-size: 0.8rem;
    padding: 0.5rem 0.75rem;
  }
}

.modern-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.1rem;
  margin-bottom: 1rem;
  padding: 0.5rem;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
  border-radius: 12px;
  margin: 0 1rem 1rem;
}

.modern-currency {
  font-size: 0.9rem;
  color: var(--primary-color);
  font-weight: 600;
}

.modern-amount {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  background: var(--gradient-primary);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.modern-period {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.modern-plan-features {
  margin-bottom: 1.5rem;
  padding: 0 1.5rem;
  list-style: none;
}

.modern-plan-features li {
  padding: 0.6rem 0;
  color: var(--text-secondary);
  position: relative;
  padding-left: 2rem;
  font-size: 0.9rem;
  line-height: 1.5;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.modern-plan-features li:last-child {
  border-bottom: none;
}

.modern-plan-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0.6rem;
  color: var(--secondary-color);
  font-weight: bold;
  width: 16px;
  height: 16px;
  background: var(--secondary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
}

.modern-plan-stats {
  text-align: center;
  margin-bottom: 1rem;
}

.modern-purchases {
  font-size: 0.75rem;
  color: var(--text-light);
  background: var(--bg-secondary);
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  display: inline-block;
  font-weight: 500;
}

.modern-plan-card .modern-btn {
  width: 100%;
  padding: 0.8rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
}

/* Modern Game Cards */
.modern-game-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.modern-game-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.modern-game-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.modern-game-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.modern-game-card:hover .modern-game-image img {
  transform: scale(1.1);
}

.modern-game-content {
  padding: 2rem;
}

.modern-game-content h3 {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.modern-game-content p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.modern-game-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.modern-feature-tag {
  background: var(--bg-secondary);
  color: var(--primary-color);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

.modern-game-pricing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.modern-game-pricing .price {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-color);
}

/* Modern Feature Cards */
.modern-feature-card {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.modern-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.modern-feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.modern-feature-card h3 {
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-weight: 600;
}

.modern-feature-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Modern Box Styling (for existing content) */
.modern-box-wrapper {
  background: white;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: all 0.3s ease;
}

.modern-box-wrapper:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.modern-box-title {
  background: var(--gradient-primary);
  color: white;
  padding: 1rem 1.5rem;
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.modern-box-content {
  padding: 1.5rem;
}

/* Dark Mode Component Styles */
[data-theme="dark"] .modern-plan-card {
  background: var(--bg-secondary);
  border: 2px solid var(--border-color);
}

[data-theme="dark"] .modern-plan-card.featured {
  border: 2px solid var(--primary-color);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

[data-theme="dark"] .modern-game-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
}

[data-theme="dark"] .modern-feature-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
}

[data-theme="dark"] .modern-box-wrapper {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
}

[data-theme="dark"] .modern-btn-outline {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

[data-theme="dark"] .modern-btn-outline:hover {
  background: var(--primary-color);
  color: white;
}

/* Light mode button styles */
[data-theme="light"] .modern-btn-danger {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
  border: 2px solid #ef4444;
}

[data-theme="light"] .modern-btn-danger:hover {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  color: white;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
}

[data-theme="dark"] .modern-purchases {
  background: var(--bg-primary);
  color: var(--text-secondary);
}

[data-theme="dark"] .modern-feature-tag {
  background: var(--bg-primary);
  color: var(--primary-color);
}

[data-theme="dark"] .modern-theme-toggle {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
}

[data-theme="dark"] .modern-theme-toggle:hover {
  background: var(--primary-color);
  color: white;
}

/* Payment Methods Styling */
.payment-methods {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.payment-img {
  height: 30px;
  width: auto;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.payment-img:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-md);
}

/* Footer Logo Styling */
.footer-logo-img {
  height: 60px;
  width: auto;
  transition: transform 0.3s ease;
}

.footer-logo-img:hover {
  transform: scale(1.05);
}

/* User Menu Styling */
.user-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  padding: 0.5rem 0;
  min-width: 150px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  margin-top: 10px;
  border: 1px solid var(--border-color);
}

.modern-user-profile:hover .user-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.user-link {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--text-primary);
  transition: background-color 0.3s ease;
  font-size: 0.9rem;
  text-decoration: none;
}

.user-link:hover {
  background: var(--bg-secondary);
  color: var(--primary-color);
  text-decoration: none;
}

/* Dark mode user menu */
[data-theme="dark"] .user-menu {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
}

[data-theme="dark"] .user-link {
  color: var(--text-primary);
}

[data-theme="dark"] .user-link:hover {
  background: var(--bg-primary);
  color: var(--primary-color);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .modern-plan-card.featured {
    transform: none;
  }
  
  .modern-plan-card.featured:hover {
    transform: translateY(-8px);
  }
  
  .modern-feature-card {
    padding: 1.5rem;
  }
  
  .modern-feature-icon {
    font-size: 2.5rem;
  }
  
  .modern-game-content {
    padding: 1.5rem;
  }
  
  .payment-methods {
    justify-content: center;
  }
  
  .payment-img {
    height: 25px;
  }
  
}

/* ===== MODERN RESOURCE CARDS ===== */
.modern-resource-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.modern-resource-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.3);
}

.modern-card-header {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modern-card-content {
  color: var(--text-primary);
  line-height: 1.6;
}

.modern-donation-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.modern-donation-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 107, 0, 0.15);
  border-color: rgba(255, 107, 0, 0.3);
}

.modern-emoji-panel {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.modern-no-comments {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  color: var(--text-secondary);
  font-style: italic;
}

/* ===== MODERN SUPPORT LAYOUT ===== */
.modern-support-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
    align-items: start;
}

.modern-support-main {
    min-width: 0; /* Prevents overflow */
}

/* ===== SUPPORT SECTION ENHANCEMENTS ===== */
.modern-support-section .modern-section-header h2 {
    background: linear-gradient(135deg, #6366f1, #8b5cf6, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.modern-support-section .modern-section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #ec4899);
    border-radius: 2px;
    animation: pulse 2s infinite;
}

/* Enhanced Card Headers */
.modern-card-header {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1)) !important;
    border-bottom: 2px solid rgba(99, 102, 241, 0.2) !important;
    position: relative;
    overflow: hidden;
}

.modern-card-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s infinite;
}

.modern-card-header i {
    color: #6366f1;
    margin-right: 8px;
    animation: bounce 2s infinite;
}

/* Sidebar Card Enhancements */
.modern-sidebar-card {
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(15px) !important;
    border: 1px solid rgba(99, 102, 241, 0.2) !important;
    border-radius: 16px !important;
    transition: all 0.4s ease !important;
    position: relative;
    overflow: hidden;
}

.modern-sidebar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #ec4899, #6366f1);
    background-size: 200% 100%;
    animation: gradient-move 3s linear infinite;
}

.modern-sidebar-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2) !important;
    border-color: rgba(99, 102, 241, 0.4) !important;
}

/* Support Schedule Enhancements */
.support-schedule-header {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(59, 130, 246, 0.1));
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 600;
    color: #10b981;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    margin-bottom: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border-left: 3px solid #6366f1;
    transition: all 0.3s ease;
}

.schedule-item:hover {
    background: rgba(99, 102, 241, 0.1);
    transform: translateX(5px);
    border-left-color: #8b5cf6;
}

.day-label {
    font-size: 11px;
    color: #ffffff;
    font-weight: 500;
}

.time-label {
    color: #10b981;
    font-size: 11px;
    font-weight: bold;
    background: rgba(16, 185, 129, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
}

/* Status Badge Enhancements */
.status-badge {
    padding: 8px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 1rem 0;
    animation: pulse-glow 2s infinite;
}

.status-online {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.status-offline {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.3);
}

/* Social Media Enhancements */
.social-header {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.1), rgba(168, 85, 247, 0.1));
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 600;
    color: #ec4899;
    border: 1px solid rgba(236, 72, 153, 0.2);
}

.modern-social-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    margin-bottom: 10px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modern-social-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.modern-social-btn:hover::before {
    left: 100%;
}

.discord-btn {
    background: linear-gradient(135deg, #5865F2, #4752C4);
}

.discord-btn:hover {
    background: linear-gradient(135deg, #6B73FF, #5865F2);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(88, 101, 242, 0.4);
}

.facebook-btn {
    background: linear-gradient(135deg, #1877F2, #166FE5);
}

.facebook-btn:hover {
    background: linear-gradient(135deg, #4267B2, #1877F2);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(24, 119, 242, 0.4);
}

.twitter-btn {
    background: linear-gradient(135deg, #1DA1F2, #0D8BD9);
}

.twitter-btn:hover {
    background: linear-gradient(135deg, #1DA1F2, #1991DB);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(29, 161, 242, 0.4);
}

.youtube-btn {
    background: linear-gradient(135deg, #FF0000, #CC0000);
}

.youtube-btn:hover {
    background: linear-gradient(135deg, #FF4444, #FF0000);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 0, 0, 0.4);
}

.modern-social-btn i {
    font-size: 20px;
    transition: all 0.3s ease;
}

.modern-social-btn:hover i {
    transform: scale(1.2) rotate(5deg);
}

.social-content {
    display: flex;
    flex-direction: column;
    color: white;
}

.social-title {
    font-weight: bold;
    font-size: 13px;
    margin-bottom: 2px;
}

.social-desc {
    font-size: 10px;
    opacity: 0.9;
}

/* ===== SUPPORT TABLE ENHANCEMENTS ===== */
.modern-table {
    background: rgba(255, 255, 255, 0.02) !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1) !important;
}

.modern-table thead th {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1)) !important;
    border: none !important;
    padding: 16px 12px !important;
    font-weight: 600 !important;
    color: #6366f1 !important;
    font-size: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.modern-table tbody tr {
    transition: all 0.3s ease !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.modern-table tbody tr:hover {
    background: rgba(99, 102, 241, 0.05) !important;
    transform: scale(1.01) !important;
}

.modern-table td {
    padding: 16px 12px !important;
    border: none !important;
    vertical-align: middle !important;
}

/* Ticket Status Badges */
.status-open {
    background: linear-gradient(135deg, #10b981, #059669) !important;
    color: white !important;
    padding: 4px 12px !important;
    border-radius: 20px !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3) !important;
}

.status-progress {
    background: linear-gradient(135deg, #f59e0b, #d97706) !important;
    color: white !important;
    padding: 4px 12px !important;
    border-radius: 20px !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3) !important;
}

.status-closed {
    background: linear-gradient(135deg, #6b7280, #4b5563) !important;
    color: white !important;
    padding: 4px 12px !important;
    border-radius: 20px !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    box-shadow: 0 2px 8px rgba(107, 114, 128, 0.3) !important;
}

/* Priority Badges */
.priority-high {
    background: linear-gradient(135deg, #ef4444, #dc2626) !important;
    color: white !important;
    padding: 4px 8px !important;
    border-radius: 12px !important;
    font-size: 9px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    animation: pulse-red 2s infinite !important;
}

.priority-medium {
    background: linear-gradient(135deg, #f59e0b, #d97706) !important;
    color: white !important;
    padding: 4px 8px !important;
    border-radius: 12px !important;
    font-size: 9px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
}

.priority-low {
    background: linear-gradient(135deg, #10b981, #059669) !important;
    color: white !important;
    padding: 4px 8px !important;
    border-radius: 12px !important;
    font-size: 9px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
}

.ticket-id {
    font-family: 'Courier New', monospace !important;
    background: rgba(99, 102, 241, 0.1) !important;
    color: #6366f1 !important;
    padding: 4px 8px !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    font-size: 11px !important;
}

.category-badge {
    background: rgba(139, 92, 246, 0.1) !important;
    color: #8b5cf6 !important;
    padding: 4px 8px !important;
    border-radius: 6px !important;
    font-size: 10px !important;
    font-weight: 500 !important;
}

/* ===== ANIMATIONS ===== */
@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes gradient-move {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(99, 102, 241, 0.3); }
    50% { box-shadow: 0 0 30px rgba(99, 102, 241, 0.5); }
}

@keyframes pulse-red {
    0%, 100% { box-shadow: 0 0 10px rgba(239, 68, 68, 0.3); }
    50% { box-shadow: 0 0 20px rgba(239, 68, 68, 0.6); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-3px); }
    60% { transform: translateY(-2px); }
}

/* ===== FORM ENHANCEMENTS ===== */
.modern-info-box {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(99, 102, 241, 0.1)) !important;
    border: 1px solid rgba(59, 130, 246, 0.2) !important;
    border-radius: 12px !important;
    padding: 20px !important;
    margin-bottom: 2rem !important;
    position: relative !important;
    overflow: hidden !important;
}

.modern-info-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #6366f1, #8b5cf6);
    background-size: 200% 100%;
    animation: gradient-move 3s linear infinite;
}

.modern-info-box h4 {
    color: #3b82f6 !important;
    margin-bottom: 1rem !important;
    font-weight: 600 !important;
}

.modern-info-list li {
    color: var(--text-secondary) !important;
    margin-bottom: 8px !important;
    padding-left: 8px !important;
    transition: all 0.3s ease !important;
}

.modern-info-list li:hover {
    color: #3b82f6 !important;
    transform: translateX(5px) !important;
}

.modern-info-list li i {
    color: #10b981 !important;
    margin-right: 8px !important;
}

/* ===== SUPPORT TICKET MODAL ENHANCEMENTS ===== */
.modal.show {
    background-color: rgba(0, 0, 0, 0.8) !important;
    backdrop-filter: blur(10px) !important;
}

.modal-content {
    background: var(--card-bg) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 16px !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3) !important;
    backdrop-filter: blur(20px) !important;
}

.modal-header {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1)) !important;
    border-bottom: 2px solid rgba(99, 102, 241, 0.2) !important;
    border-radius: 16px 16px 0 0 !important;
    padding: 20px !important;
}

.modal-title {
    color: var(--text-primary) !important;
    font-weight: 600 !important;
    font-size: 18px !important;
}

.modal-body {
    background: var(--card-bg) !important;
    color: var(--text-primary) !important;
    padding: 25px !important;
}

.modal-footer {
    background: var(--card-bg) !important;
    border-top: 1px solid var(--border-color) !important;
    border-radius: 0 0 16px 16px !important;
    padding: 20px !important;
}

.btn-close-white {
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 50% !important;
    width: 32px !important;
    height: 32px !important;
    opacity: 0.8 !important;
    transition: all 0.3s ease !important;
}

.btn-close-white:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    opacity: 1 !important;
    transform: scale(1.1) !important;
}

/* Modal Ticket Details */
.ticket-details .row {
    margin-bottom: 1.5rem;
}

.ticket-details strong {
    color: #6366f1 !important;
    font-weight: 600 !important;
}

.ticket-details p {
    color: var(--text-secondary) !important;
    margin-bottom: 0.5rem !important;
}

.ticket-initial-message {
    background: rgba(99, 102, 241, 0.05) !important;
    border: 1px solid rgba(99, 102, 241, 0.2) !important;
    border-radius: 12px !important;
    padding: 20px !important;
    margin-bottom: 1.5rem !important;
}

.ticket-initial-message h6 {
    color: #6366f1 !important;
    font-weight: 600 !important;
    margin-bottom: 1rem !important;
}

.ticket-initial-message p {
    color: var(--text-primary) !important;
    line-height: 1.6 !important;
}

/* Modal Reply Cards */
.card.border-primary {
    background: rgba(99, 102, 241, 0.05) !important;
    border: 1px solid rgba(99, 102, 241, 0.3) !important;
    border-radius: 12px !important;
}

.card.border-secondary {
    background: var(--card-bg) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 12px !important;
}

.card-body {
    padding: 16px !important;
}

.card-body strong {
    color: var(--text-primary) !important;
    font-weight: 600 !important;
}

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

.badge.bg-primary {
    background: linear-gradient(135deg, #6366f1, #4f46e5) !important;
    color: white !important;
    padding: 4px 8px !important;
    border-radius: 12px !important;
    font-size: 10px !important;
    font-weight: 600 !important;
}

.badge.bg-info {
    background: linear-gradient(135deg, #06b6d4, #0891b2) !important;
    color: white !important;
    padding: 4px 8px !important;
    border-radius: 12px !important;
    font-size: 10px !important;
    font-weight: 600 !important;
}

/* ===== FORM SELECT ENHANCEMENTS ===== */
.modern-select {
    background: var(--input-bg) !important;
    border: 2px solid var(--border-color) !important;
    border-radius: 12px !important;
    padding: 12px 16px !important;
    color: var(--text-primary) !important;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
    appearance: none !important;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236366f1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 16px !important;
    cursor: pointer !important;
}

.modern-select:focus {
    outline: none !important;
    border-color: #6366f1 !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1) !important;
    background-color: rgba(99, 102, 241, 0.02) !important;
}

.modern-select:hover {
    border-color: rgba(99, 102, 241, 0.5) !important;
    background-color: rgba(99, 102, 241, 0.02) !important;
}

.modern-select option {
    background: var(--card-bg) !important;
    color: var(--text-primary) !important;
    padding: 8px !important;
}

/* Force dark mode select dropdown styling */
[data-theme="dark"] .modern-select {
    color-scheme: dark !important;
}

[data-theme="dark"] .modern-select option {
    background: #1f2937 !important;
    color: #f9fafb !important;
}

[data-theme="light"] .modern-select {
    color-scheme: light !important;
}

[data-theme="light"] .modern-select option {
    background: #ffffff !important;
    color: #111827 !important;
}

/* Additional browser-specific fixes */
.modern-select {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

/* Firefox specific dropdown fix */
@-moz-document url-prefix() {
    .modern-select {
        background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236366f1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e") !important;
    }
    
    [data-theme="dark"] .modern-select option {
        background-color: #1f2937 !important;
        color: #f9fafb !important;
    }
}

/* Chrome/Safari/Edge specific fixes */
.modern-select::-webkit-scrollbar {
    width: 8px;
}

.modern-select::-webkit-scrollbar-track {
    background: var(--card-bg);
    border-radius: 4px;
}

.modern-select::-webkit-scrollbar-thumb {
    background: rgba(99, 102, 241, 0.3);
    border-radius: 4px;
}

.modern-select::-webkit-scrollbar-thumb:hover {
    background: rgba(99, 102, 241, 0.5);
}

/* Force dropdown colors for all browsers */
select.modern-select {
    background-color: var(--input-bg) !important;
    color: var(--text-primary) !important;
}

[data-theme="dark"] select.modern-select {
    background-color: #374151 !important;
    color: #f9fafb !important;
}

[data-theme="light"] select.modern-select {
    background-color: #ffffff !important;
    color: #111827 !important;
}

/* Override system select styles completely */
.modern-select {
    background-color: var(--input-bg) !important;
    color: var(--text-primary) !important;
}

/* Webkit browsers (Chrome, Safari, Edge) */
@media screen and (-webkit-min-device-pixel-ratio:0) {
    [data-theme="dark"] .modern-select option {
        background: #1f2937 !important;
        color: #f9fafb !important;
    }
    
    [data-theme="light"] .modern-select option {
        background: #ffffff !important;
        color: #111827 !important;
    }
}

/* Enhanced Input and Textarea */
.modern-input:focus,
.modern-textarea:focus {
    outline: none !important;
    border-color: #6366f1 !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1) !important;
    background-color: rgba(99, 102, 241, 0.02) !important;
}

.modern-input:hover,
.modern-textarea:hover {
    border-color: rgba(99, 102, 241, 0.5) !important;
}

/* Light Mode Overrides */
[data-theme="light"] .modal-content {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
}

[data-theme="light"] .modal-header {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(139, 92, 246, 0.08)) !important;
    border-bottom: 2px solid rgba(99, 102, 241, 0.15) !important;
}

[data-theme="light"] .modal-body {
    background: rgba(255, 255, 255, 0.95) !important;
}

[data-theme="light"] .modal-footer {
    background: rgba(255, 255, 255, 0.95) !important;
    border-top: 1px solid rgba(0, 0, 0, 0.1) !important;
}

[data-theme="light"] .ticket-initial-message {
    background: rgba(99, 102, 241, 0.03) !important;
    border: 1px solid rgba(99, 102, 241, 0.15) !important;
}

[data-theme="light"] .card.border-primary {
    background: rgba(99, 102, 241, 0.03) !important;
    border: 1px solid rgba(99, 102, 241, 0.2) !important;
}

[data-theme="light"] .card.border-secondary {
    background: rgba(255, 255, 255, 0.8) !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
}

/* Responsive Support Layout */
@media (max-width: 1024px) {
    .modern-support-layout {
        grid-template-columns: 1fr 300px;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .modern-support-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .modern-sidebar {
        order: -1; /* Put sidebar above main content on mobile */
    }
}

/* ===== MODERN SIDEBAR STYLES ===== */
.modern-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.modern-comment-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border-left: 3px solid var(--primary-color);
}

.modern-comment-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.3);
}

.comment-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.comment-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--primary-color);
  object-fit: cover;
}

.comment-user-info h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.comment-date {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin: 0;
}

.comment-content {
  margin: 0.8rem 0;
}

.comment-content p {
  color: var(--text-primary);
  line-height: 1.5;
  font-style: italic;
  margin: 0;
  font-size: 0.95rem;
}

.comment-resource {
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 6px;
  padding: 0.6rem;
  margin: 0.8rem 0;
}

.resource-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.resource-link:hover {
  color: var(--secondary-color);
  text-decoration: none;
}

.comment-actions {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.8rem;
  align-items: center;
}

.action-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  text-decoration: none;
}

.action-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.reply-btn:hover {
  background: rgba(99, 102, 241, 0.2);
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.edit-btn:hover {
  background: rgba(255, 193, 7, 0.2);
  border-color: #ffc107;
  color: #ffc107;
}

.delete-btn:hover {
  background: rgba(220, 53, 69, 0.2);
  border-color: #dc3545;
  color: #dc3545;
}

/* Comment stats styles removed - section no longer used */

/* Light Mode Styles for Resource Cards */
[data-theme="light"] .modern-resource-card {
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .modern-resource-card:hover {
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.3);
}

[data-theme="light"] .modern-card-content {
  color: rgba(0, 0, 0, 0.8);
}

[data-theme="light"] .modern-donation-card {
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .modern-emoji-panel {
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .modern-no-comments {
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: rgba(0, 0, 0, 0.6);
}

/* Light Mode Comments */
[data-theme="light"] .modern-comment-card {
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .modern-comment-card:hover {
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.3);
}

[data-theme="light"] .comment-user-info h4 {
  color: rgba(0, 0, 0, 0.9);
}

[data-theme="light"] .comment-date {
  color: rgba(0, 0, 0, 0.6);
}

[data-theme="light"] .comment-content p {
  color: rgba(0, 0, 0, 0.8);
}

[data-theme="light"] .comment-resource {
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.15);
}

[data-theme="light"] .action-btn {
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: rgba(0, 0, 0, 0.8);
}

[data-theme="light"] .action-btn:hover {
  background: rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 0, 0, 0.2);
}

/* Comment stats styles removed */

/* ===== MODERN COMMENT FORM ===== */
.modern-comment-form {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.modern-textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--text-primary);
  padding: 12px 16px;
  width: 100%;
  resize: vertical;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.5;
  transition: all 0.3s ease;
}

.modern-textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
  background: rgba(255, 255, 255, 0.08);
}

.modern-textarea::placeholder {
  color: var(--text-secondary);
  opacity: 0.7;
}

.modern-submit-btn {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border: none;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  justify-content: center;
  margin-top: 1rem;
}

.modern-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

.modern-submit-btn:active {
  transform: translateY(0);
}

/* Light Mode Comment Form */
[data-theme="light"] .modern-comment-form {
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .modern-textarea {
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: rgba(0, 0, 0, 0.9);
}

[data-theme="light"] .modern-textarea:focus {
  background: rgba(0, 0, 0, 0.05);
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

[data-theme="light"] .modern-textarea::placeholder {
  color: rgba(0, 0, 0, 0.5);
}

/* Override Bootstrap form-control backgrounds */
.form-control {
  background: #021633 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: var(--text-primary) !important;
}
.note-btn {
  color: #0d6efd !important;
}

.list-group-item {
  color: #0d6efd !important;
}

[data-theme="light"] .form-control {
  background: rgba(0, 0, 0, 0.03) !important;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  color: rgba(0, 0, 0, 0.9) !important;
}

/* Fix white background issues */
.text-center .bdg-red {
  background: rgba(220, 53, 69, 0.1) !important;
  border: 1px solid rgba(220, 53, 69, 0.2) !important;
  color: #dc3545 !important;
}

/* Fix specific white background issues */
.modern-comment-card,
.modern-resource-card,
.modern-donation-card {
  background: rgba(255, 255, 255, 0.05) !important;
}

[data-theme="light"] .modern-comment-card,
[data-theme="light"] .modern-resource-card,
[data-theme="light"] .modern-donation-card {
  background: rgba(0, 0, 0, 0.03) !important;
}

/* ===== MODERN LOGIN NOTICE ===== */
.modern-login-notice {
  background: rgba(255, 193, 7, 0.1);
  border: 1px solid rgba(255, 193, 7, 0.3);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.modern-login-notice i {
  color: #ffc107;
  font-size: 1.2rem;
}

.modern-login-notice span {
  color: var(--text-primary);
  font-size: 1rem;
}

.modern-login-btn {
  background: linear-gradient(135deg, #ffc107, #ff8c00);
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.modern-login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 193, 7, 0.3);
  color: white;
  text-decoration: none;
}

/* Light Mode Login Notice */
[data-theme="light"] .modern-login-notice {
  background: rgba(255, 193, 7, 0.08);
  border: 1px solid rgba(255, 193, 7, 0.2);
}

[data-theme="light"] .modern-login-notice span {
  color: rgba(0, 0, 0, 0.8);
}

/* COMMENT STATS REMOVED - User requested removal */

/* Fix white stripe between comments and footer */
.modern-resource-details {
  background: transparent !important;
}

/* Ensure no white backgrounds anywhere */
div:not(.modern-comment-card):not(.modern-resource-card):not(.modern-donation-card) {
  background-color: transparent !important;
}

/* Force transparent backgrounds for all containers */
.modern-container,
.modern-section,
section,
.container,
.row,
.col {
  background: transparent !important;
}

/* Nuclear option - remove all white backgrounds */
* {
  background-color: transparent !important;
}

/* Restore only the backgrounds we want */
.modern-comment-card,
.modern-resource-card,
.modern-donation-card,
.modern-comment-form,
.modern-login-notice {
  background: rgba(255, 255, 255, 0.05) !important;
}

[data-theme="light"] .modern-comment-card,
[data-theme="light"] .modern-resource-card,
[data-theme="light"] .modern-donation-card,
[data-theme="light"] .modern-comment-form,
[data-theme="light"] .modern-login-notice {
  background: rgba(0, 0, 0, 0.03) !important;
}

/* Ensure body keeps its background */
body {
  background: var(--bg-primary) !important;
}

/* ===== RESOURCE COMMENTS STYLES ===== */

/* Comments Section */
.modern-comments-section {
    padding: 2rem 0;
    background: rgba(255, 255, 255, 0.02) !important;
    backdrop-filter: blur(10px);
    border-radius: 20px;
    margin: 2rem 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Comment Form Card */
.modern-comment-form-card {
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(15px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.modern-comment-form-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modern-comment-form-wrapper {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
}

.modern-user-avatar {
    flex-shrink: 0;
}

.comment-form-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    object-fit: cover;
}

.modern-comment-input {
    flex: 1;
}

.modern-textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 1rem;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.95rem;
    line-height: 1.5;
    resize: vertical;
    min-height: 100px;
    transition: all 0.3s ease;
}

.modern-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    background: rgba(255, 255, 255, 0.08) !important;
}

.modern-textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Emoji Toolbar */
.modern-emoji-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem 0;
    margin-bottom: 1rem;
}

.emoji-quick-actions {
    display: flex;
    gap: 0.5rem;
}

.modern-emoji-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1.1rem;
}

.modern-emoji-btn:hover {
    background: var(--primary-color) !important;
    transform: scale(1.1);
}

.modern-emoji-toggle {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    color: var(--text-primary);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modern-emoji-toggle:hover {
    background: var(--primary-color) !important;
    border-color: var(--primary-color);
}

.modern-emoji-panel {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2) !important;
    border-radius: 12px;
    margin-top: 1rem;
    max-height: 200px;
    overflow-y: auto;
}

.modern-emoji-panel .btn-emoji {
    padding: 0.25rem;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s ease;
    font-size: 1.2rem;
}

.modern-emoji-panel .btn-emoji:hover {
    background: rgba(255, 255, 255, 0.1) !important;
}

/* Comment Actions */
.modern-comment-actions {
    padding: 0 1.5rem 1.5rem;
}

.modern-submit-btn {
    background: linear-gradient(135deg, var(--primary-color), #8b5cf6) !important;
    border: none;
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modern-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

/* Login Notice Card */
.modern-login-notice-card {
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(15px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
}

.login-notice-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
}

.login-notice-content i {
    font-size: 2rem;
    color: var(--primary-color);
}

.notice-text h4 {
    margin: 0 0 0.5rem 0;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.notice-text p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.modern-login-btn {
    background: var(--primary-color) !important;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modern-login-btn:hover {
    background: #5b21b6 !important;
    transform: translateY(-1px);
    color: white;
    text-decoration: none;
}

/* Comments Container - removed separate container, using modern-container instead */

.comments-stats {
    margin: 2rem 0 1.5rem 0;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05) !important;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.comments-stats h3 {
    margin: 0;
    color: var(--text-primary);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.comments-stats i {
    color: var(--primary-color);
}

/* No Comments Card */
.modern-no-comments-card {
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(15px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 2rem;
    text-align: center;
    margin-top: 2rem;
}

.no-comments-icon {
    margin-bottom: 1rem;
}

.no-comments-icon i {
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.7;
}

.no-comments-content h3 {
    margin: 0 0 0.5rem 0;
    color: var(--text-primary);
    font-size: 1.3rem;
}

.no-comments-content p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Comments Grid */
.modern-comments-grid {
    display: grid;
    gap: 1.5rem;
}

/* Comment Card - Enhanced from home.php */
.modern-comment-card {
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(15px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid var(--primary-color);
    overflow: hidden;
    transition: all 0.3s ease;
}

.modern-comment-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.comment-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.comment-user {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.comment-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    object-fit: cover;
}

.comment-user-info {
    flex: 1;
}

.comment-username {
    margin: 0 0 0.25rem 0;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.comment-username i {
    color: var(--primary-color);
}

.comment-date {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.comment-content {
    padding: 1.5rem;
}

.comment-content p {
    margin: 0;
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 0.95rem;
}

.comment-resource {
    padding: 0 1.5rem 1rem;
}

.resource-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(99, 102, 241, 0.1) !important;
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.resource-link:hover {
    background: rgba(99, 102, 241, 0.2) !important;
    border-color: var(--primary-color);
    color: var(--primary-color);
    text-decoration: none;
}

/* Comment Actions */
.comment-actions {
    padding: 0 1.5rem 1.5rem;
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.modern-action-btn {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    color: var(--text-primary);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modern-action-btn:hover {
    background: var(--primary-color) !important;
    border-color: var(--primary-color);
    color: white;
}

.modern-action-btn.delete-btn:hover {
    background: #ef4444 !important;
    border-color: #ef4444;
}

/* Reply Form */
.modern-reply-form {
    margin: 1rem 1.5rem 1.5rem;
    background: rgba(0, 0, 0, 0.2) !important;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.reply-form-header {
    background: rgba(255, 255, 255, 0.05) !important;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.reply-form-header i {
    color: var(--primary-color);
}

.reply-form-content {
    display: flex;
    gap: 1rem;
    padding: 1rem;
}

.reply-user-avatar {
    flex-shrink: 0;
}

.reply-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    object-fit: cover;
}

.reply-input-wrapper {
    flex: 1;
}

.reply-emoji-toolbar {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.reply-form-actions {
    padding: 0 1rem 1rem;
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

.modern-btn-cancel {
    background: rgba(239, 68, 68, 0.1) !important;
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    color: #ef4444;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modern-btn-cancel:hover {
    background: #ef4444 !important;
    color: white;
}

.modern-btn-submit {
    background: var(--primary-color) !important;
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    color: white;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modern-btn-submit:hover {
    background: #5b21b6 !important;
    border-color: #5b21b6;
}

/* Replies Container */
.modern-replies-container {
    margin: 1rem 1.5rem 1.5rem;
    padding-left: 2rem;
    border-left: 2px solid rgba(99, 102, 241, 0.3);
}

/* Reply Card */
.modern-reply-card {
    background: rgba(0, 0, 0, 0.2) !important;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1rem;
    overflow: hidden;
}

.reply-header {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.reply-user {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.reply-user-info {
    flex: 1;
}

.reply-username {
    margin: 0 0 0.25rem 0;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.reply-username i {
    color: var(--primary-color);
}

.reply-date {
    color: var(--text-secondary);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.reply-reference {
    padding: 0.75rem 1rem;
    background: rgba(99, 102, 241, 0.05) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.reply-to-text {
    display: block;
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.reply-preview {
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-style: italic;
}

.reply-content {
    padding: 1rem;
}

.reply-content p {
    margin: 0;
    color: var(--text-primary);
    line-height: 1.5;
    font-size: 0.9rem;
}

.reply-actions {
    padding: 0 1rem 1rem;
    display: flex;
    justify-content: flex-end;
}

/* Light Mode Styles */
[data-theme="light"] .modern-comments-section {
    background: rgba(0, 0, 0, 0.02) !important;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .modern-comment-form-card {
    background: rgba(0, 0, 0, 0.03) !important;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .modern-textarea {
    background: rgba(0, 0, 0, 0.03) !important;
    border: 1px solid rgba(0, 0, 0, 0.2);
    color: rgba(0, 0, 0, 0.9);
}

[data-theme="light"] .modern-textarea::placeholder {
    color: rgba(0, 0, 0, 0.5);
}

[data-theme="light"] .modern-emoji-btn {
    background: rgba(0, 0, 0, 0.05) !important;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .modern-emoji-toggle {
    background: rgba(0, 0, 0, 0.03) !important;
    border: 1px solid rgba(0, 0, 0, 0.2);
    color: rgba(0, 0, 0, 0.9);
}

[data-theme="light"] .modern-emoji-panel {
    background: rgba(0, 0, 0, 0.05) !important;
}

[data-theme="light"] .modern-login-notice-card {
    background: rgba(0, 0, 0, 0.03) !important;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .notice-text h4 {
    color: rgba(0, 0, 0, 0.9);
}

[data-theme="light"] .notice-text p {
    color: rgba(0, 0, 0, 0.6);
}

[data-theme="light"] .comments-stats {
    background: rgba(0, 0, 0, 0.03) !important;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .comments-stats h3 {
    color: rgba(0, 0, 0, 0.9);
}

[data-theme="light"] .modern-no-comments-card {
    background: rgba(0, 0, 0, 0.03) !important;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .no-comments-content h3 {
    color: rgba(0, 0, 0, 0.9);
}

[data-theme="light"] .no-comments-content p {
    color: rgba(0, 0, 0, 0.6);
}

[data-theme="light"] .modern-comment-card {
    background: rgba(0, 0, 0, 0.03) !important;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .comment-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .comment-username {
    color: rgba(0, 0, 0, 0.9);
}

[data-theme="light"] .comment-date {
    color: rgba(0, 0, 0, 0.6);
}

[data-theme="light"] .comment-content p {
    color: rgba(0, 0, 0, 0.8);
}

[data-theme="light"] .resource-link {
    background: rgba(99, 102, 241, 0.08) !important;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

[data-theme="light"] .modern-action-btn {
    background: rgba(0, 0, 0, 0.05) !important;
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: rgba(0, 0, 0, 0.8);
}

[data-theme="light"] .modern-reply-form {
    background: rgba(0, 0, 0, 0.05) !important;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .reply-form-header {
    background: rgba(0, 0, 0, 0.03) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    color: rgba(0, 0, 0, 0.9);
}

[data-theme="light"] .modern-btn-cancel {
    background: rgba(239, 68, 68, 0.08) !important;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

[data-theme="light"] .modern-reply-card {
    background: rgba(0, 0, 0, 0.05) !important;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .reply-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .reply-username {
    color: rgba(0, 0, 0, 0.9);
}

[data-theme="light"] .reply-date {
    color: rgba(0, 0, 0, 0.6);
}

[data-theme="light"] .reply-reference {
    background: rgba(99, 102, 241, 0.05) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .reply-preview {
    color: rgba(0, 0, 0, 0.6);
}

[data-theme="light"] .reply-content p {
    color: rgba(0, 0, 0, 0.8);
}

/* Responsive Design */
@media (max-width: 768px) {
    .modern-comment-form-wrapper {
        flex-direction: column;
        gap: 1rem;
    }
    
    .comment-form-avatar,
    .reply-avatar {
        width: 40px;
        height: 40px;
    }
    
    .modern-emoji-toolbar {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .emoji-quick-actions {
        justify-content: center;
    }
    
    .comment-actions {
        flex-wrap: wrap;
    }
    
    .reply-form-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .modern-replies-container {
        padding-left: 1rem;
        margin: 1rem 1rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .modern-comments-section {
        padding: 1.5rem 0;
        margin: 1.5rem 0;
    }
    
    .modern-comment-form-wrapper,
    .reply-form-content {
        padding: 1rem;
    }
    
    .comment-header,
    .comment-content,
    .reply-header,
    .reply-content {
        padding: 1rem;
    }
    
    .comment-actions,
    .reply-actions {
        padding: 0 1rem 1rem;
    }
    
    .modern-emoji-panel {
        max-height: 150px;
    }
}

/* ===== END RESOURCE COMMENTS STYLES ===== */

/* ===== MODERN MODAL STYLES ===== */

/* Modal Content */
.modern-modal-content {
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    position: relative;
    z-index: 1050;
}

/* Prevent modal from closing when clicking inside */
.modern-modal-content * {
    pointer-events: auto;
}

/* Modal Header */
.modern-modal-header {
    background: linear-gradient(135deg, var(--primary-color), #8b5cf6);
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modern-modal-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
}

.modern-modal-title i {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.modern-modal-title h5 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
}

.modern-modal-close {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modern-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* Modal Body */
.modern-modal-body {
    padding: 2rem;
}

.modern-input-group {
    margin-bottom: 1.5rem;
}

.modern-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.9rem;
}

.modern-label i {
    color: var(--primary-color);
    width: 16px;
}

.modern-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.modern-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    background: rgba(255, 255, 255, 0.08) !important;
}

.modern-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.modern-help-text {
    display: block;
    margin-top: 0.25rem;
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-style: italic;
}

/* Modal Footer */
.modern-modal-footer {
    padding: 1.5rem 2rem;
    background: rgba(0, 0, 0, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.modern-btn-cancel {
    background: rgba(239, 68, 68, 0.1) !important;
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    color: #ef4444;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modern-btn-cancel:hover {
    background: #ef4444 !important;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
}

.modern-btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #8b5cf6) !important;
    border: none;
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modern-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

/* Light Mode Modal Styles */
[data-theme="light"] .modern-modal-content {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .modern-modal-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .modern-modal-close {
    background: rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .modern-modal-close:hover {
    background: rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .modern-label {
    color: rgba(0, 0, 0, 0.9);
}

[data-theme="light"] .modern-input {
    background: rgba(0, 0, 0, 0.03) !important;
    border: 1px solid rgba(0, 0, 0, 0.2);
    color: rgba(0, 0, 0, 0.9);
}

[data-theme="light"] .modern-input:focus {
    background: rgba(0, 0, 0, 0.05) !important;
}

[data-theme="light"] .modern-input::placeholder {
    color: rgba(0, 0, 0, 0.5);
}

[data-theme="light"] .modern-help-text {
    color: rgba(0, 0, 0, 0.6);
}

[data-theme="light"] .modern-modal-footer {
    background: rgba(0, 0, 0, 0.03);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .modern-btn-cancel {
    background: rgba(239, 68, 68, 0.08) !important;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Responsive Modal Design */
@media (max-width: 768px) {
    .modern-modal-header {
        padding: 1rem;
    }
    
    .modern-modal-body {
        padding: 1.5rem;
    }
    
    .modern-modal-footer {
        padding: 1rem 1.5rem;
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .modern-btn-cancel,
    .modern-btn-primary {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .modern-modal-header {
        padding: 0.75rem;
    }
    
    .modern-modal-body {
        padding: 1rem;
    }
    
    .modern-modal-footer {
        padding: 0.75rem 1rem;
    }
    
    .modern-modal-title h5 {
        font-size: 1.1rem;
    }
    
    .modern-input-group {
        margin-bottom: 1rem;
    }
}

/* ===== END MODERN MODAL STYLES ===== */

/* ===== MODERN HOSTING CARDS DESIGN ===== */
.hosting-card-modern {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.08);
  width: 515px;
  min-height: unset;
}

.hosting-card-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.hosting-card-modern {
  height: 100%;
}

.hosting-card-modern.popular {
  border: 2px solid var(--primary-color);
  box-shadow: 0 6px 25px rgba(99, 102, 241, 0.2);
  width: 515px;
  height: 400px;
}

.hosting-card-modern.popular .hosting-description-modern {
  min-height: 80px;
  overflow-y: auto;
}

.hosting-card-modern.popular .hosting-description-modern {
  font-size: 0.8rem;
}

.hosting-card-modern.popular .hosting-description-modern p {
  margin: 0.25rem 0;
  line-height: 1.4;
}

.hosting-card-layout {
  display: flex;
  height: 100%;
  position: relative;
}

/* Left Side - Image Section */
.hosting-visual-modern {
  width: 250px;
  position: relative;
  overflow: visible;
  display: flex;
  flex-direction: column;
}

.hosting-image-modern {
  width: 100%;
  height: 200px;
  position: relative;
}

.hosting-image-modern img {
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease;
  background: #f8f9fa;
}

.hosting-card-modern:hover .hosting-image-modern img {
  transform: scale(1.05);
}

.hosting-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.8) 0%, rgba(59, 130, 246, 0.7) 50%, rgba(96, 165, 250, 0.6) 100%);
  pointer-events: none;
}

.popular-badge-modern {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  padding: 0.4rem 0.75rem;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  border: 1px solid rgba(99, 102, 241, 0.3);
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Hosting Description Below Image */
.hosting-description-modern {
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
  line-height: 1.4;
  color: #6b7280;
  background: rgba(249, 250, 251, 0.8);
  width: 100%;
  flex-shrink: 0;
}

.hosting-description-modern {
  font-size: 0.8rem;
  line-height: 1.4;
}

.hosting-description-modern p {
  margin: 0.25rem 0;
  line-height: 1.4;
  font-size: inherit;
}

.hosting-description-modern p:first-child {
  margin-top: 0;
}

.hosting-description-modern p:last-child {
  margin-bottom: 0;
}

/* Summernote HTML elements styling */
.hosting-description-modern span[style*="color: rgb(255, 0, 0)"],
.hosting-description-modern span[style*="color: red"] {
  color: #dc2626 !important;
  font-weight: 600;
}

.hosting-description-modern span[style*="color: rgb(0, 176, 80)"],
.hosting-description-modern span[style*="color: green"] {
  color: #16a34a !important;
  font-weight: 500;
}

.hosting-description-modern span[style*="color: rgb(0, 176, 240)"],
.hosting-description-modern span[style*="color: blue"] {
  color: #2563eb !important;
  font-weight: 500;
}

/* Right Side - Information */
.hosting-info-modern {
  flex: 1;
  padding: 1.2rem;
  padding-left: 0.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hosting-info-modern .hosting-header-modern {
  margin-bottom: 1rem;
}

.hosting-info-modern .hosting-title-modern {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.hosting-content-modern .hosting-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.hosting-content-modern .tag {
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.hosting-content-modern .category-tag {
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary-color);
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.hosting-content-modern .date-tag {
  background: rgba(107, 114, 128, 0.1);
  color: #6b7280;
  border: 1px solid rgba(107, 114, 128, 0.2);
}

.hosting-generation {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.generation-label {
  font-size: 0.85rem;
  color: #6b7280;
  font-weight: 500;
}

.generation-value {
  font-size: 0.85rem;
  color: #374151;
  font-weight: 600;
}

.hosting-specs {
  margin-bottom: 1rem;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 0;
  border-bottom: 1px solid #f3f4f6;
}

.spec-row:last-child {
  border-bottom: none;
}

.spec-label {
  font-size: 0.9rem;
  color: #374151;
  font-weight: 600;
  min-width: 80px;
}

.spec-value {
  font-size: 0.85rem;
  color: #6b7280;
  text-align: right;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.flag-icon {
  border-radius: 2px;
}

.hosting-pricing {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding: 0.75rem 0;
  border-top: 1px solid #f3f4f6;
  border-bottom: 1px solid #f3f4f6;
}

.price-main {
  display: flex;
  flex-direction: column;
}

.price-amount {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
}

.price-period {
  font-size: 0.75rem;
  color: #6b7280;
}

.price-hourly {
  display: flex;
  flex-direction: column;
  text-align: right;
}

.hourly-amount {
  font-size: 0.9rem;
  font-weight: 600;
  color: #374151;
}

.hourly-label {
  font-size: 0.75rem;
  color: #6b7280;
}

.hosting-content-modern .hosting-generation {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 1rem;
}

.hosting-content-modern .generation-label {
  font-size: 0.85rem;
  color: #6b7280;
  font-weight: 500;
}

.hosting-content-modern .generation-value {
  font-size: 0.85rem;
  color: #374151;
  font-weight: 600;
}

.hosting-info-modern .hosting-specs {
  margin-bottom: 1rem;
}

.hosting-info-modern .hosting-specs .spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f3f4f6;
}

.hosting-info-modern .hosting-specs .spec-row:last-child {
  border-bottom: none;
}

.hosting-info-modern .hosting-specs .spec-label {
  font-size: 0.9rem;
  color: #374151;
  font-weight: 600;
  min-width: 80px;
}

.hosting-info-modern .hosting-specs .spec-value {
  font-size: 0.85rem;
  color: #6b7280;
  text-align: right;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.info-badge {
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-weight: 600;
  display: inline-block;
}

.info-badge.free {
  background: #d1fae5;
  color: #10b981;
  border: 1px solid #10b981;
}

.info-badge.popular {
  background: #ddd6fe;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.hosting-info-modern .hosting-actions-modern {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid #f3f4f6;
  margin-bottom: 1rem;
}

.hosting-info-modern .order-btn {
  background: #374151;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.hosting-info-modern .order-btn:hover {
  background: #1f2937;
  color: white;
  text-decoration: none;
  transform: translateY(-1px);
}

.hosting-info-modern .hosting-footer-modern {
  display: flex;
  justify-content: center;
  align-items: end;
}

.hosting-info-modern .details-link {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.hosting-info-modern .details-link:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.hosting-info-modern .resource-info {
  font-size: 0.75rem;
  color: #10b981;
  font-weight: 600;
  background: #d1fae5;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.hosting-content-modern .hosting-stats {
  display: flex;
  gap: 1rem;
}

.hosting-content-modern .stat-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hosting-content-modern .stat-item i {
  color: var(--primary-color);
  font-size: 0.9rem;
}

.hosting-content-modern .stat-number {
  font-size: 0.9rem;
  font-weight: 600;
  color: #374151;
}

.hosting-content-modern .stat-label {
  font-size: 0.75rem;
  color: #6b7280;
}

.hosting-content-modern .hosting-btn {
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.hosting-content-modern .hosting-btn.btn-primary {
  background: var(--primary-color);
  color: white;
  border: 2px solid var(--primary-color);
}

.hosting-content-modern .hosting-btn.btn-secondary {
  background: #374151;
  color: white;
  border: 2px solid #374151;
}

.hosting-content-modern .hosting-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  text-decoration: none;
  color: white;
}

.hosting-content-modern .hosting-btn.btn-primary:hover {
  background: #5254f0;
  border-color: #5254f0;
}

.hosting-content-modern .hosting-btn.btn-secondary:hover {
  background: #1f2937;
  border-color: #1f2937;
}

.hosting-footer-modern {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.details-link {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.details-link:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.resource-info {
  font-size: 0.75rem;
  color: #10b981;
  font-weight: 600;
  background: #d1fae5;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

/* Dark Mode Support */
[data-theme="dark"] .hosting-card-modern {
  background: var(--bg-secondary);
  border-color: rgba(99, 102, 241, 0.2);
}

[data-theme="dark"] .hosting-title-modern {
  color: var(--text-primary);
}

[data-theme="dark"] .generation-value,
[data-theme="dark"] .spec-label,
[data-theme="dark"] .hourly-amount {
  color: var(--text-primary);
}

[data-theme="dark"] .generation-label,
[data-theme="dark"] .spec-value,
[data-theme="dark"] .price-period,
[data-theme="dark"] .hourly-label,
[data-theme="dark"] .setup-label {
  color: var(--text-secondary);
}

[data-theme="dark"] .spec-row {
  border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .hosting-pricing {
  border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .price-amount {
  color: var(--text-primary);
}

[data-theme="dark"] .hosting-description-modern {
  border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .hosting-description-modern p {
  color: var(--text-secondary);
}

/* Light mode styles for popular card description */
[data-theme="light"] .hosting-card-modern.popular .hosting-description-modern {
  background: rgba(99, 102, 241, 0.05);
  border-bottom: 1px solid rgba(99, 102, 241, 0.1);
}

[data-theme="light"] .hosting-card-modern.popular .hosting-description-modern p {
  color: #4b5563;
}

/* Light mode Summernote colors */
[data-theme="light"] .hosting-description-modern span[style*="color: rgb(255, 0, 0)"],
[data-theme="light"] .hosting-description-modern span[style*="color: red"] {
  color: #dc2626 !important;
}

[data-theme="light"] .hosting-description-modern span[style*="color: rgb(0, 176, 80)"],
[data-theme="light"] .hosting-description-modern span[style*="color: green"] {
  color: #16a34a !important;
}

[data-theme="light"] .hosting-description-modern span[style*="color: rgb(0, 176, 240)"],
[data-theme="light"] .hosting-description-modern span[style*="color: blue"] {
  color: #2563eb !important;
}

[data-theme="dark"] .stat-item-modern .stat-number {
  color: var(--text-primary);
}

[data-theme="dark"] .stat-item-modern .stat-label {
  color: var(--text-secondary);
}

/* Dark mode for new elements */
[data-theme="dark"] .hosting-content-modern .generation-value,
[data-theme="dark"] .hosting-specs-table .spec-label {
  color: var(--text-primary);
}

[data-theme="dark"] .hosting-content-modern .generation-label,
[data-theme="dark"] .hosting-specs-table .spec-value {
  color: var(--text-secondary);
}

[data-theme="dark"] .hosting-specs-table .spec-row {
  border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .hosting-content-modern .hosting-actions {
  border-color: rgba(255, 255, 255, 0.1);
}

/* Mobile Optimizations for Modern Hosting Cards */
@media (max-width: 768px) {
  .hosting-card-modern {
    width: 100% !important;
    height: auto;
    min-height: 400px;
  }
  
  .hosting-card-layout {
    flex-direction: column;
  }
  
  .hosting-visual-modern {
    width: 100%;
    height: auto;
    flex-direction: row;
  }
  
  .hosting-image-modern {
    width: 40%;
    height: 150px;
    flex-shrink: 0;
  }
  
  .hosting-image-modern img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .hosting-description-modern {
    width: 60%;
    padding: 0.5rem;
    font-size: 0.75rem;
    background: rgba(249, 250, 251, 0.9);
    border-bottom: none;
    border-left: 1px solid rgba(0, 0, 0, 0.05);
    overflow-y: auto;
    max-height: 150px;
  }
  
  .hosting-description-modern p {
    margin: 0.15rem 0;
    font-size: 0.7rem;
    line-height: 1.3;
  }
  
  .hosting-gradient-overlay {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.6) 0%, rgba(59, 130, 246, 0.5) 50%, rgba(96, 165, 250, 0.4) 100%);
  }
  
  .popular-badge-modern {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
  }
  
  .hosting-info-modern {
    padding: 1rem;
  }
  
  .hosting-content-modern .hosting-title {
    font-size: 1.1rem;
  }
  
  .hosting-content-modern .generation-label,
  .hosting-content-modern .generation-value {
    font-size: 0.8rem;
  }
  
  .hosting-specs-table .spec-label {
    font-size: 0.85rem;
    min-width: 70px;
  }
  
  .hosting-specs-table .spec-value {
    font-size: 0.8rem;
  }
  
  .hosting-specs-table .spec-row {
    padding: 0.4rem 0;
  }
  
  .info-badge {
    font-size: 0.7rem;
    padding: 0.15rem 0.4rem;
  }
  
  .hosting-content-modern .order-btn {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }
  
  .hosting-footer-info {
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .hosting-card-modern {
    width: 100% !important;
    max-width: 100% !important;
    height: auto;
    min-height: 350px;
    border-radius: 10px;
  }
  
  .hosting-visual-modern {
    height: auto;
    flex-direction: column;
  }
  
  .hosting-image-modern {
    width: 100%;
    height: 120px;
  }
  
  .hosting-image-modern img {
    object-fit: cover;
  }
  
  .hosting-description-modern {
    width: 100%;
    padding: 0.4rem;
    font-size: 0.7rem;
    max-height: 100px;
    border-left: none;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
  }
  
  .hosting-description-modern p {
    margin: 0.1rem 0;
    font-size: 0.65rem;
    line-height: 1.2;
  }
  
  .hosting-info-modern {
    padding: 0.75rem;
  }
  
  .hosting-content-modern .hosting-title {
    font-size: 0.95rem;
  }
  
  .hosting-content-modern .generation-label,
  .hosting-content-modern .generation-value {
    font-size: 0.75rem;
  }
  
  .hosting-specs-table .spec-label {
    font-size: 0.8rem;
    min-width: 60px;
  }
  
  .hosting-specs-table .spec-value {
    font-size: 0.75rem;
  }
  
  .info-badge {
    font-size: 0.65rem;
    padding: 0.1rem 0.3rem;
  }
  
  .hosting-content-modern .order-btn {
    padding: 0.5rem 0.8rem;
    font-size: 0.8rem;
  }
}

/* Mobile Dark Mode Styles */
@media (max-width: 768px) {
  [data-theme="dark"] .hosting-description-modern {
    background: rgba(31, 41, 55, 0.9);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  [data-theme="dark"] .hosting-description-modern p {
    color: var(--text-secondary);
  }
}

@media (max-width: 480px) {
  [data-theme="dark"] .hosting-description-modern {
    background: rgba(31, 41, 55, 0.9);
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
}

/* ===== END MODERN HOSTING CARDS DESIGN ===== */

/* ===== MODERN AUTH PAGES STYLES ===== */

/* Auth Section Container */
.modern-auth-section {
  min-height: calc(100vh - 200px);
  padding: 60px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0a0f1c 0%, #1a1f2e 100%);
  position: relative;
  overflow: hidden;
}

.modern-auth-section::before {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 50%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
  animation: float 20s ease-in-out infinite;
}

.modern-auth-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.modern-auth-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 20px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Auth Card */
.modern-auth-card {
  padding: 50px;
  background: rgba(15, 23, 42, 0.6);
}

.modern-auth-header {
  text-align: center;
  margin-bottom: 40px;
}

.modern-auth-logo {
  width: 100px;
  height: 100px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.modern-auth-logo img {
  width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
}

.modern-auth-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.modern-auth-title i {
  color: var(--primary-color);
  font-size: 24px;
}

.modern-auth-subtitle {
  color: var(--text-secondary);
  font-size: 16px;
}

/* Form Styles */
.modern-auth-form {
  margin-top: 30px;
}

.modern-form-group {
  margin-bottom: 25px;
  position: relative;
}

.modern-form-label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
}

.modern-form-label i {
  color: var(--primary-color);
  margin-right: 5px;
}

.modern-form-input {
  width: 100%;
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: var(--text-primary);
  font-size: 16px;
  transition: all 0.3s ease;
  position: relative;
}

.modern-form-input:focus {
  outline: none;
  border-color: var(--primary-color);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.modern-form-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

/* Password Input with Toggle */
.modern-password-input {
  position: relative;
}

.modern-password-toggle {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 5px;
  transition: color 0.3s ease;
}

.modern-password-toggle:hover {
  color: var(--primary-color);
}

/* Input Focus Line */
.modern-input-focus-line {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.modern-form-input:focus ~ .modern-input-focus-line {
  width: 100%;
}

/* Form Options */
.modern-form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

/* Custom Checkbox */
.modern-checkbox {
  display: flex;
  align-items: center;
  cursor: pointer;
  color: var(--text-secondary);
  font-size: 14px;
  position: relative;
  padding-left: 28px;
}

.modern-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.modern-checkbox-mark {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 20px;
  width: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  transition: all 0.3s ease;
}

.modern-checkbox input:checked ~ .modern-checkbox-mark {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.modern-checkbox-mark:after {
  content: "";
  position: absolute;
  display: none;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.modern-checkbox input:checked ~ .modern-checkbox-mark:after {
  display: block;
}

/* Modern Link */
.modern-link {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.modern-link:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

/* Form Actions */
.modern-form-actions {
  margin-top: 30px;
}

.modern-btn-full {
  width: 100%;
  padding: 14px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
}

/* Auth Divider */
.modern-auth-divider {
  position: relative;
  text-align: center;
  margin: 30px 0;
}

.modern-auth-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.modern-auth-divider span {
  background: rgba(15, 23, 42, 0.6);
  padding: 0 20px;
  color: var(--text-secondary);
  position: relative;
  font-size: 14px;
}

/* Auth Footer */
.modern-auth-footer {
  text-align: center;
}

.modern-auth-footer p {
  color: var(--text-secondary);
  margin-bottom: 15px;
  font-size: 14px;
}

/* Side Panel */
.modern-auth-side {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px;
  position: relative;
  overflow: hidden;
}

.modern-auth-side::before {
  content: '';
  position: absolute;
  width: 150%;
  height: 150%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  animation: float 30s linear infinite;
}

.modern-auth-side-content {
  position: relative;
  z-index: 1;
  color: white;
}

.modern-auth-side-content h3 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.modern-auth-side-content h3 i {
  font-size: 28px;
}

.modern-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
}

.modern-features-list li {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 16px;
}

.modern-features-list li:last-child {
  border-bottom: none;
}

.modern-features-list li i {
  color: #00ff80;
  font-size: 18px;
}

.modern-auth-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

.modern-auth-stats .stat-item {
  text-align: center;
  padding: 15px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  backdrop-filter: blur(10px);
}

.modern-auth-stats .stat-number {
  display: block;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 5px;
}

.modern-auth-stats .stat-label {
  font-size: 14px;
  opacity: 0.9;
}

/* Alerts */
.modern-alert {
  padding: 15px 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideDown 0.3s ease;
}

.modern-alert-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

.modern-alert-success {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #10b981;
}

/* Light Mode Styles for Auth Pages */
[data-theme="light"] .modern-auth-section {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

[data-theme="light"] .modern-auth-card {
  background: rgba(255, 255, 255, 0.95);
}

[data-theme="light"] .modern-auth-wrapper {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .modern-auth-title {
  color: rgba(0, 0, 0, 0.9);
}

[data-theme="light"] .modern-auth-subtitle {
  color: rgba(0, 0, 0, 0.6);
}

[data-theme="light"] .modern-form-label {
  color: rgba(0, 0, 0, 0.7);
}

[data-theme="light"] .modern-form-input {
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: rgba(0, 0, 0, 0.9);
}

[data-theme="light"] .modern-form-input:focus {
  background: rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .modern-form-input::placeholder {
  color: rgba(0, 0, 0, 0.4);
}

[data-theme="light"] .modern-password-toggle {
  color: rgba(0, 0, 0, 0.6);
}

[data-theme="light"] .modern-checkbox {
  color: rgba(0, 0, 0, 0.7);
}

[data-theme="light"] .modern-checkbox-mark {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .modern-auth-divider::before {
  background: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .modern-auth-divider span {
  background: rgba(255, 255, 255, 0.95);
  color: rgba(0, 0, 0, 0.6);
}

[data-theme="light"] .modern-auth-footer p {
  color: rgba(0, 0, 0, 0.6);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .modern-auth-wrapper {
    grid-template-columns: 1fr;
  }
  
  .modern-auth-side {
    display: none;
  }
  
  .modern-auth-card {
    padding: 40px;
  }
}

@media (max-width: 768px) {
  .modern-auth-section {
    padding: 40px 0;
  }
  
  .modern-auth-card {
    padding: 30px;
  }
  
  .modern-auth-logo {
    width: 80px;
    height: 80px;
  }
  
  .modern-auth-title {
    font-size: 24px;
  }
  
  .modern-form-options {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .modern-auth-card {
    padding: 20px;
  }
  
  .modern-auth-title {
    font-size: 20px;
  }
  
  .modern-auth-subtitle {
    font-size: 14px;
  }
  
  .modern-form-input {
    font-size: 14px;
    padding: 10px 12px;
  }
  
  .modern-btn-full {
    font-size: 14px;
    padding: 12px;
  }
}

/* Animations */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(30px, -30px) rotate(120deg);
  }
  66% {
    transform: translate(-20px, 20px) rotate(240deg);
  }
}

/* Modern Info Box */
.modern-info-box {
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.modern-info-box i {
  font-size: 24px;
  color: var(--primary-color);
}

.modern-info-box p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
}

/* Modern Help Box */
.modern-help-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 20px;
  margin-top: 30px;
}

.modern-help-box h4 {
  color: var(--text-primary);
  font-size: 16px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.modern-help-box h4 i {
  color: var(--primary-color);
}

.modern-help-box p {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 10px;
}

.modern-help-box ul {
  list-style: none;
  padding-left: 20px;
  margin: 0;
}

.modern-help-box ul li {
  color: var(--text-secondary);
  font-size: 14px;
  padding: 5px 0;
  position: relative;
}

.modern-help-box ul li:before {
  content: "•";
  position: absolute;
  left: -15px;
  color: var(--primary-color);
}

/* Modern Auth Links */
.modern-auth-links {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.modern-btn-outline {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.modern-btn-outline:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(99, 102, 241, 0.3);
}

/* Alert Info Style */
.modern-alert-info {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #3b82f6;
}

/* Light Mode Additions */
[data-theme="light"] .modern-info-box {
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.2);
}

[data-theme="light"] .modern-info-box p {
  color: rgba(0, 0, 0, 0.7);
}

[data-theme="light"] .modern-help-box {
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .modern-help-box h4 {
  color: rgba(0, 0, 0, 0.9);
}

[data-theme="light"] .modern-help-box p,
[data-theme="light"] .modern-help-box ul li {
  color: rgba(0, 0, 0, 0.6);
}

[data-theme="light"] .modern-alert-info {
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

/* Responsive for Auth Links */
@media (max-width: 480px) {
  .modern-auth-links {
    flex-direction: column;
  }
  
  .modern-btn-outline,
  .modern-btn-secondary {
    width: 100%;
    justify-content: center;
  }
}

/* Password Strength Checker */
.modern-password-strength {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 15px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.modern-password-strength h5 {
  color: var(--text-primary);
  font-size: 14px;
  margin-bottom: 10px;
  font-weight: 500;
}

.modern-password-strength ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.modern-password-strength ul li {
  color: var(--text-secondary);
  font-size: 13px;
  padding: 5px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modern-password-strength ul li i {
  font-size: 14px;
  color: #ef4444;
}

/* Password Example */
.password-example {
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 8px;
  padding: 10px 15px;
  font-family: 'Courier New', monospace;
  font-size: 16px;
  color: var(--primary-color);
  margin: 15px 0;
  text-align: center;
  letter-spacing: 1px;
}

/* Disabled Input Style */
.modern-form-input:disabled {
  background: rgba(255, 255, 255, 0.02);
  opacity: 0.7;
  cursor: not-allowed;
}

/* Light Mode Additions for Password Page */
[data-theme="light"] .modern-password-strength {
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .modern-password-strength h5 {
  color: rgba(0, 0, 0, 0.9);
}

[data-theme="light"] .modern-password-strength ul li {
  color: rgba(0, 0, 0, 0.7);
}

[data-theme="light"] .password-example {
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.2);
}

[data-theme="light"] .modern-form-input:disabled {
  background: rgba(0, 0, 0, 0.02);
}

/* ===== END MODERN AUTH PAGES STYLES ===== */

/* ===== USER PANEL STYLES ===== */
.modern-user-panel-section {
  padding: 100px 0 60px; /* Top padding to avoid navbar overlap */
  min-height: calc(100vh - 160px);
}

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

.modern-user-panel-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 30px;
  margin-top: 30px;
}

/* Panel Sidebar */
.modern-panel-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.modern-panel-nav {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 20px;
}

.modern-panel-nav h3 {
  color: var(--text-primary);
  font-size: 16px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.modern-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.modern-nav-list li {
  margin-bottom: 5px;
}

.modern-nav-list li.nav-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 15px 0;
}

.modern-nav-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 15px;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-size: 14px;
}

.modern-nav-list a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  transform: translateX(5px);
}

.modern-nav-list a.active {
  background: var(--primary-color);
  color: white;
}

.modern-nav-list a.admin-link {
  color: #f59e0b;
}

.modern-nav-list a.admin-link:hover {
  background: rgba(245, 158, 11, 0.1);
}

.modern-nav-list a.logout-link {
  color: #ef4444;
}

.modern-nav-list a.logout-link:hover {
  background: rgba(239, 68, 68, 0.1);
}

/* User Info Card */
.modern-user-info-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 20px;
}

.user-info-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.user-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--primary-color);
}

.user-details h4 {
  color: var(--text-primary);
  font-size: 16px;
  margin: 0 0 5px;
}

.user-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--text-secondary);
}

.user-status.online i {
  color: #10b981;
  font-size: 8px;
}

.user-stats {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stat-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 13px;
}

.stat-value {
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
}

/* Panel Content */
.modern-panel-content {
  flex: 1;
}

.modern-content-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 30px;
  min-height: 500px;
}

/* Error Box */
.modern-error-box {
  text-align: center;
  padding: 60px 20px;
}

.modern-error-box i {
  font-size: 48px;
  color: #ef4444;
  margin-bottom: 20px;
}

.modern-error-box h3 {
  color: var(--text-primary);
  font-size: 24px;
  margin-bottom: 10px;
}

.modern-error-box p {
  color: var(--text-secondary);
  margin-bottom: 30px;
}

/* Light Mode Styles for User Panel */
[data-theme="light"] .modern-panel-nav,
[data-theme="light"] .modern-user-info-card,
[data-theme="light"] .modern-content-card {
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .modern-panel-nav h3 {
  color: rgba(0, 0, 0, 0.9);
}

[data-theme="light"] .modern-nav-list a {
  color: rgba(0, 0, 0, 0.6);
}

[data-theme="light"] .modern-nav-list a:hover {
  background: rgba(0, 0, 0, 0.05);
  color: rgba(0, 0, 0, 0.9);
}

[data-theme="light"] .modern-nav-list a.active {
  background: var(--primary-color);
  color: white;
}

[data-theme="light"] .modern-nav-list li.nav-divider {
  background: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .user-info-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .user-details h4 {
  color: rgba(0, 0, 0, 0.9);
}

[data-theme="light"] .user-status {
  color: rgba(0, 0, 0, 0.6);
}

[data-theme="light"] .stat-label {
  color: rgba(0, 0, 0, 0.6);
}

[data-theme="light"] .stat-value {
  color: rgba(0, 0, 0, 0.9);
}

[data-theme="light"] .modern-error-box h3 {
  color: rgba(0, 0, 0, 0.9);
}

[data-theme="light"] .modern-error-box p {
  color: rgba(0, 0, 0, 0.6);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .modern-user-panel-layout {
    grid-template-columns: 240px 1fr;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .modern-user-panel-layout {
    grid-template-columns: 1fr;
  }
  
  .modern-panel-sidebar {
    display: none; /* Hide sidebar on mobile, could be replaced with hamburger menu */
  }
  
  .modern-content-card {
    padding: 20px;
  }
}

/* Dashboard Styles */
.modern-dashboard {
  padding: 0;
}

.modern-dashboard-header {
  margin-bottom: 30px;
}

.modern-dashboard-header h2 {
  color: var(--text-primary);
  font-size: 28px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.modern-dashboard-header p {
  color: var(--text-secondary);
  font-size: 16px;
}

/* Stats Grid */
.modern-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.modern-stat-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: all 0.3s ease;
}

.modern-stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
  border-color: var(--primary-color);
}

.modern-stat-card .stat-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: white;
}

.modern-stat-card .stat-content h3 {
  color: var(--text-primary);
  font-size: 24px;
  margin: 0;
  font-weight: 600;
}

.modern-stat-card .stat-content p {
  color: var(--text-secondary);
  font-size: 14px;
  margin: 0;
}

/* Quick Actions */
.modern-quick-actions {
  margin-bottom: 40px;
}

.modern-quick-actions h3 {
  color: var(--text-primary);
  font-size: 20px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.modern-action-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.modern-action-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.modern-action-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
  border-color: var(--primary-color);
  background: rgba(99, 102, 241, 0.1);
}

.modern-action-card .action-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-size: 24px;
  color: white;
}

.modern-action-card h4 {
  color: var(--text-primary);
  font-size: 16px;
  margin: 0 0 5px;
  font-weight: 600;
}

.modern-action-card p {
  color: var(--text-secondary);
  font-size: 13px;
  margin: 0;
}

/* Recent Activity */
.modern-activity-section {
  margin-bottom: 40px;
}

.modern-activity-section h3 {
  color: var(--text-primary);
  font-size: 20px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.modern-activity-list {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
}

.modern-activity-empty {
  text-align: center;
  padding: 40px 20px;
}

.modern-activity-empty i {
  font-size: 48px;
  color: rgba(255, 255, 255, 0.2);
  margin-bottom: 15px;
}

.modern-activity-empty p {
  color: var(--text-secondary);
  font-size: 14px;
}

/* Light Mode Dashboard */
[data-theme="light"] .modern-dashboard-header h2 {
  color: rgba(0, 0, 0, 0.9);
}

[data-theme="light"] .modern-dashboard-header p {
  color: rgba(0, 0, 0, 0.7);
}

[data-theme="light"] .modern-stat-card,
[data-theme="light"] .modern-action-card,
[data-theme="light"] .modern-activity-list {
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .modern-stat-card:hover,
[data-theme="light"] .modern-action-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-color);
}

[data-theme="light"] .modern-stat-card .stat-content h3,
[data-theme="light"] .modern-action-card h4 {
  color: rgba(0, 0, 0, 0.9);
}

[data-theme="light"] .modern-stat-card .stat-content p,
[data-theme="light"] .modern-action-card p {
  color: rgba(0, 0, 0, 0.6);
}

[data-theme="light"] .modern-quick-actions h3,
[data-theme="light"] .modern-activity-section h3 {
  color: rgba(0, 0, 0, 0.9);
}

[data-theme="light"] .modern-activity-empty i {
  color: rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .modern-activity-empty p {
  color: rgba(0, 0, 0, 0.6);
}

/* Responsive Dashboard */
@media (max-width: 1024px) {
  .modern-stats-grid,
  .modern-action-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .modern-stats-grid,
  .modern-action-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .modern-stat-card {
    padding: 15px;
  }
  
  .modern-action-card {
    padding: 20px;
  }
}

/* Settings Page Styles */
.modern-settings {
  padding: 0;
}

.modern-settings-header {
  margin-bottom: 30px;
}

.modern-settings-header h2 {
  color: var(--text-primary);
  font-size: 28px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.modern-settings-header p {
  color: var(--text-secondary);
  font-size: 16px;
}

.modern-settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.modern-settings-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  overflow: hidden;
}

.modern-card-header {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  padding: 25px;
  color: white;
}

.modern-card-header h3 {
  font-size: 20px;
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.modern-card-header p {
  margin: 0;
  opacity: 0.9;
  font-size: 14px;
}

.modern-card-body {
  padding: 30px;
}

.modern-settings-form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* Avatar Section */
.modern-avatar-section {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.modern-avatar-preview {
  position: relative;
  width: 80px;
  height: 80px;
}

.modern-avatar-image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid var(--primary-color);
  object-fit: cover;
}

.modern-avatar-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  cursor: pointer;
}

.modern-avatar-preview:hover .modern-avatar-overlay {
  opacity: 1;
}

.modern-avatar-overlay i {
  color: white;
  font-size: 20px;
}

.modern-avatar-info h4 {
  color: var(--text-primary);
  font-size: 16px;
  margin: 0 0 5px;
}

.modern-avatar-info p {
  color: var(--text-secondary);
  font-size: 13px;
  margin: 0 0 15px;
}

/* Password Requirements */
.modern-password-requirements {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 20px;
}

.modern-password-requirements h5 {
  color: var(--text-primary);
  font-size: 14px;
  margin-bottom: 15px;
  font-weight: 500;
}

.modern-password-requirements ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.modern-password-requirements ul li {
  color: var(--text-secondary);
  font-size: 13px;
  padding: 5px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modern-password-requirements ul li i {
  color: var(--secondary-color);
  font-size: 12px;
}

/* Light Mode Settings */
[data-theme="light"] .modern-settings-header h2 {
  color: rgba(0, 0, 0, 0.9);
}

[data-theme="light"] .modern-settings-header p {
  color: rgba(0, 0, 0, 0.7);
}

[data-theme="light"] .modern-settings-card {
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .modern-avatar-section,
[data-theme="light"] .modern-password-requirements {
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .modern-avatar-info h4 {
  color: rgba(0, 0, 0, 0.9);
}

[data-theme="light"] .modern-avatar-info p {
  color: rgba(0, 0, 0, 0.6);
}

[data-theme="light"] .modern-password-requirements h5 {
  color: rgba(0, 0, 0, 0.9);
}

[data-theme="light"] .modern-password-requirements ul li {
  color: rgba(0, 0, 0, 0.7);
}

/* Responsive Settings */
@media (max-width: 1024px) {
  .modern-settings-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .modern-avatar-section {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  
  .modern-card-body {
    padding: 20px;
  }
  
  .modern-card-header {
    padding: 20px;
  }
}

/* Orders Page Styles */
.modern-orders {
  padding: 0;
}

.modern-orders-header {
  margin-bottom: 30px;
}

.modern-orders-header h2 {
  color: var(--text-primary);
  font-size: 28px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.modern-orders-header p {
  color: var(--text-secondary);
  font-size: 16px;
}

/* Orders Filter */
.modern-orders-filter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 20px;
}

.modern-filter-tabs {
  display: flex;
  gap: 10px;
}

.modern-filter-tab {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modern-filter-tab:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
}

.modern-filter-tab.active {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

/* Orders List - Enhanced Modern Design */
.modern-orders-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
  padding: 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(99, 102, 241, 0.03) 100%);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(15px);
  position: relative;
  overflow: hidden;
}

.modern-orders-list::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  opacity: 0.8;
}

.modern-orders-list::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.05) 0%, transparent 70%);
  animation: rotateGlow 20s linear infinite;
  pointer-events: none;
}

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

.modern-order-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.modern-order-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  opacity: 0;
  transition: all 0.4s ease;
}

.modern-order-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 60px rgba(99, 102, 241, 0.2);
  border-color: rgba(99, 102, 241, 0.4);
  background: rgba(255, 255, 255, 0.08);
}

.modern-order-card:hover::before {
  opacity: 1;
  height: 4px;
}

.modern-order-header {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.order-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.order-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: white;
}

.order-details h3 {
  color: var(--text-primary);
  font-size: 18px;
  margin: 0 0 5px;
}

.order-details p {
  color: var(--text-secondary);
  font-size: 14px;
  margin: 0 0 5px;
}

.order-id {
  color: var(--text-secondary);
  font-size: 12px;
  font-family: monospace;
}

/* Status Badges */
.status-badge {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 5px;
}

.status-active {
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-pending {
  background: rgba(245, 158, 11, 0.2);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.status-completed {
  background: rgba(99, 102, 241, 0.2);
  color: #6366f1;
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.status-cancelled {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.status-expired {
  background: rgba(156, 163, 175, 0.2);
  color: #9ca3af;
  border: 1px solid rgba(156, 163, 175, 0.3);
}

.modern-order-body {
  padding: 20px;
}

.order-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.order-stats .stat-item {
  text-align: center;
}

.order-stats .stat-label {
  color: var(--text-secondary);
  font-size: 12px;
  display: block;
  margin-bottom: 5px;
}

.order-stats .stat-value {
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
}

.order-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

/* Empty State */
.modern-orders-empty {
  text-align: center;
  padding: 60px 20px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
}

.modern-orders-empty .empty-icon {
  font-size: 64px;
  color: rgba(255, 255, 255, 0.2);
  margin-bottom: 20px;
}

.modern-orders-empty h3 {
  color: var(--text-primary);
  font-size: 24px;
  margin-bottom: 10px;
}

.modern-orders-empty p {
  color: var(--text-secondary);
  margin-bottom: 30px;
}

/* Pagination */
.modern-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 20px;
}

.pagination-info {
  color: var(--text-secondary);
  font-size: 14px;
}

/* Light Mode Orders */
[data-theme="light"] .modern-orders-header h2 {
  color: rgba(0, 0, 0, 0.9);
}

[data-theme="light"] .modern-orders-header p {
  color: rgba(0, 0, 0, 0.7);
}

[data-theme="light"] .modern-orders-filter {
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .modern-orders-list {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.02) 0%, rgba(99, 102, 241, 0.05) 100%);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .modern-orders-list::after {
  background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
}

[data-theme="light"] .modern-order-card {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .modern-order-card:hover {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 20px 60px rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.3);
}

[data-theme="light"] .modern-orders-empty {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .modern-filter-tab {
  color: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .modern-filter-tab:hover {
  background: rgba(0, 0, 0, 0.05);
  color: rgba(0, 0, 0, 0.9);
}

[data-theme="light"] .modern-order-header {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.01));
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .order-details h3 {
  color: rgba(0, 0, 0, 0.9);
}

[data-theme="light"] .order-details p,
[data-theme="light"] .order-id {
  color: rgba(0, 0, 0, 0.6);
}

[data-theme="light"] .order-stats .stat-label {
  color: rgba(0, 0, 0, 0.6);
}

[data-theme="light"] .order-stats .stat-value {
  color: rgba(0, 0, 0, 0.9);
}

[data-theme="light"] .modern-orders-empty .empty-icon {
  color: rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .modern-orders-empty h3 {
  color: rgba(0, 0, 0, 0.9);
}

[data-theme="light"] .modern-orders-empty p,
[data-theme="light"] .pagination-info {
  color: rgba(0, 0, 0, 0.6);
}

/* Responsive Orders */
@media (max-width: 1024px) {
  .modern-orders-filter {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  
  .modern-filter-tabs {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .modern-orders-list {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    padding: 15px;
  }
}

@media (max-width: 768px) {
  .modern-order-header {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
  
  .order-stats {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .order-actions {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .modern-filter-tabs {
    grid-template-columns: repeat(2, 1fr);
    display: grid;
    gap: 10px;
  }
  
  .modern-orders-list {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 10px;
  }
  
  .modern-order-card:hover {
    transform: translateY(-4px) scale(1.01);
  }
}

/* ===== ALERT MESSAGES ===== */
.modern-alert {
  padding: 1rem 1.5rem;
  margin: 1rem 0;
  border-radius: 12px;
  border: 1px solid;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
  backdrop-filter: blur(10px);
  animation: slideInDown 0.3s ease-out;
}

.modern-alert i {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.modern-alert-success {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.3);
  color: #22c55e;
}

.modern-alert-error {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

.modern-alert-warning {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.3);
  color: #f59e0b;
}

.modern-alert-info {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.3);
  color: #3b82f6;
}

/* Light mode alert styles */
[data-theme="light"] .modern-alert-success {
  background: rgba(34, 197, 94, 0.08);
  border-color: rgba(34, 197, 94, 0.2);
  color: #16a34a;
}

[data-theme="light"] .modern-alert-error {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.2);
  color: #dc2626;
}

[data-theme="light"] .modern-alert-warning {
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.2);
  color: #d97706;
}

[data-theme="light"] .modern-alert-info {
  background: rgba(59, 130, 246, 0.08);
  border-color: rgba(59, 130, 246, 0.2);
  color: #2563eb;
}

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

/* ===== END USER PANEL STYLES ===== */

/* ===== 404 ERROR PAGE STYLES ===== */

.modern-404-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 0;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(16, 185, 129, 0.05) 100%);
  position: relative;
  overflow: hidden;
}

.modern-404-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.modern-404-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.modern-404-icon {
  font-size: 4rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
  filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.3));
}

.modern-404-number {
  margin-bottom: 2rem;
}

.error-number {
  font-size: 8rem;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  text-shadow: 0 0 30px rgba(99, 102, 241, 0.5);
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.5));
  }
  to {
    filter: drop-shadow(0 0 30px rgba(99, 102, 241, 0.8));
  }
}

.modern-404-title h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.modern-404-description {
  margin-bottom: 3rem;
}

.modern-404-description p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

.modern-404-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

.modern-404-suggestions {
  margin-top: 4rem;
}

.modern-404-suggestions h3 {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2rem;
}

.modern-suggestions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.modern-suggestion-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.modern-suggestion-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.modern-suggestion-card:hover::before {
  transform: scaleX(1);
}

.modern-suggestion-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  border-color: rgba(99, 102, 241, 0.3);
}

.modern-suggestion-card i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  display: block;
}

.modern-suggestion-card h4 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.modern-suggestion-card p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.modern-btn-sm {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--gradient-primary);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
}

.modern-btn-sm:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
  color: white;
  text-decoration: none;
}

/* Light Mode 404 Styles */
[data-theme="light"] .modern-404-section {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(16, 185, 129, 0.08) 100%);
}

[data-theme="light"] .modern-suggestion-card {
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .modern-suggestion-card:hover {
  border-color: rgba(99, 102, 241, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .modern-404-description p {
  color: rgba(0, 0, 0, 0.7);
}

[data-theme="light"] .modern-suggestion-card p {
  color: rgba(0, 0, 0, 0.6);
}

[data-theme="light"] .modern-suggestion-card h4 {
  color: rgba(0, 0, 0, 0.9);
}

[data-theme="light"] .modern-404-suggestions h3 {
  color: rgba(0, 0, 0, 0.9);
}

[data-theme="light"] .modern-404-title h1 {
  color: rgba(0, 0, 0, 0.9);
}

/* Responsive Design for 404 Page */
@media (max-width: 1024px) {
  .error-number {
    font-size: 6rem;
  }
  
  .modern-404-title h1 {
    font-size: 2rem;
  }
  
  .modern-404-description p {
    font-size: 1.1rem;
  }
  
  .modern-suggestions-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .modern-404-section {
    padding: 2rem 0;
    min-height: 70vh;
  }
  
  .error-number {
    font-size: 5rem;
  }
  
  .modern-404-title h1 {
    font-size: 1.8rem;
  }
  
  .modern-404-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .modern-btn {
    width: 100%;
    max-width: 280px;
  }
  
  .modern-suggestions-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .modern-suggestion-card {
    padding: 1.5rem;
  }
  
  .modern-suggestion-card i {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .modern-404-icon {
    font-size: 3rem;
  }
  
  .error-number {
    font-size: 4rem;
  }
  
  .modern-404-title h1 {
    font-size: 1.5rem;
  }
  
  .modern-404-description p {
    font-size: 1rem;
  }
  
  .modern-404-suggestions h3 {
    font-size: 1.5rem;
  }
  
  .modern-suggestion-card {
    padding: 1rem;
  }
}

/* ===== END 404 ERROR PAGE STYLES ===== */
