body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
    monospace;
}

/* Sayfa yüklenirken tema değişimi flash etkisini önleme */
html {
  visibility: hidden;
}

html.theme-loaded {
  visibility: visible;
  transition: background-color 0.3s ease;
}

/*
 * IMPORTANT HAMBURGER MENU FIX
 * ---------------------------
 * High priority fix that ensures hamburger menus ONLY show on portrait phone orientation
 * and remain hidden on all other screen sizes.
 */

/* Hide hamburger menu buttons by default on all screens */
.menu-toggle-btn,
.menu-toggle-btn-left,
.nav-menu-toggle {
  display: none !important;
}

/* Only show hamburger menu on portrait phone orientation */
@media (max-width: 767px) and (orientation: portrait) {
  /* Show hamburger menu buttons */
  .menu-toggle-btn,
  .menu-toggle-btn-left,
  .nav-menu-toggle {
    display: flex !important;
  }
  
  /* Make room for hamburger buttons */
  .header {
    padding: 0 10px !important;
    display: flex !important;
    align-items: center !important;
    position: relative !important;
    justify-content: space-between !important;
  }
  
  /* Fix logo positioning */
  .logo {
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 10 !important;
  }
  
  /* Position fix for left menu button - keep it at the far left */
  .menu-toggle-btn-left {
    position: relative !important; 
    transform: none !important;
    top: auto !important;
    margin: auto 0 !important;
    left: 0 !important;
    z-index: 25 !important;
    padding-left: 0 !important;
  }
  
  /* Position fix for right menu button - keep it at the far right */
  .menu-toggle-btn {
    position: relative !important;
    transform: none !important;
    top: auto !important;
    margin: auto 0 !important;
    right: 0 !important;
    z-index: 25 !important;
    padding-right: 0 !important;
  }
  
  /* Fix the hover states */
  .menu-toggle-btn:hover,
  .menu-toggle-btn-left:hover {
    transform: scale(1.1) !important;
  }
  
  /* Nav buttons container position */
  .nav-buttons {
    position: relative !important;
    right: 0 !important;
    display: flex !important;
    align-items: center !important;
  }
  
  /* Hide regular navigation elements in mobile portrait */
  .nav-buttons-group:not(.theme-toggle) {
    display: none !important;
  }
  
  /* Ensure menu toggle is displayed and properly positioned */
  .nav-menu-toggle {
    display: flex !important;
    margin-left: auto !important;
  }
}

/* Make sure hamburger menu NEVER shows on desktop or landscape */
@media (min-width: 768px), (max-width: 767px) and (orientation: landscape) {
  /* Hide hamburger menu buttons */
  .menu-toggle-btn,
  .menu-toggle-btn-left,
  .nav-menu-toggle {
    display: none !important;
  }
  
  /* Show regular navigation buttons */
  .nav-buttons-group {
    display: flex !important;
  }
  
  /* Adjust header padding to normal */
  .header {
    padding: 0 20px !important;
  }
  
  /* Make sure main navigation is visible */
  .main-nav {
    display: block !important;
  }
  
  /* Ensure any open mobile menus are closed */
  .mobile-menu-open .mobile-menu-container,
  .mobile-menu-open-left .mobile-menu-container-left {
    visibility: hidden !important;
    opacity: 0 !important;
    right: -320px !important;
    left: -320px !important;
  }
  
  .mobile-menu-open .mobile-menu-overlay,
  .mobile-menu-open-left .mobile-menu-overlay {
    visibility: hidden !important;
    opacity: 0 !important;
  }
} 
/* Reset body and html */
body, html {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden; /* Prevent horizontal scroll */
  scroll-behavior: smooth;
}

/* Cookie settings link */
.cookie-settings-link {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 999;
}

.cookie-settings-button {
  background-color: #fff;
  background-color: var(--bg-color, #fff);
  color: #333;
  color: var(--text-color, #333);
  border: 1px solid #dee2e6;
  border: 1px solid var(--border-color, #ccc);
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 0.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: all 0.2s ease;
}

.cookie-settings-button:hover {
  background-color: #f5f5f5;
  background-color: var(--light-bg-color, #f5f5f5);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.cookie-settings-button i {
  font-size: 0.9rem;
}

[data-theme='dark'] .cookie-settings-button {
  background-color: #ffffff;
  background-color: var(--bg-primary, #222);
  color: #eee;
  color: var(--text-color, #eee);
  border-color: #dee2e6;
  border-color: var(--border-color, #444);
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

[data-theme='dark'] .cookie-settings-button:hover {
  background-color: #333;
  background-color: var(--light-bg-color, #333);
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
  .cookie-settings-link {
    bottom: 10px;
    left: 10px;
  }
  
  .cookie-settings-button {
    padding: 6px 10px;
    font-size: 0.75rem;
  }
}

/* Hide scrollbar in mobile view */
@media (max-width: 768px) {
  body, html {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
  }
  
  body::-webkit-scrollbar, 
  html::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
    width: 0;
  }
}

.App {
  text-align: center;
  margin: 0;
  padding: 0;
}

.App-logo {
  height: 40vmin;
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .App-logo {
    animation: App-logo-spin infinite 20s linear;
  }
}

.App-header {
  background-color: #282c34;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: calc(10px + 2vmin);
  color: white;
}

.App-link {
  color: #61dafb;
}

@keyframes App-logo-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.app {
  margin: 0;
  padding: 0;
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

/* Header ve nav'ı birleştiren container */
.header-nav-container {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1002;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

[data-theme='dark'] .header-nav-container {
  box-shadow: 0 2px 15px rgba(0,0,0,0.3);
}

/* Header ayarları güncellendi */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #ffffff;
  background-color: var(--header-bg);
  width: 100%;
  height: 130px;
  padding: 0 40px;
  margin: 0;
  box-sizing: border-box;
  position: relative;
  z-index: 1001;
  overflow: hidden;
  border-bottom: none; /* Alt çizgiyi kaldır */
  left: 0; /* Ensure header starts from the left edge */
  right: 0; /* Ensure header extends to the right edge */
}

[data-theme='dark'] .header {
  box-shadow: none; /* Shadow'u container'a taşıdık */
  background-color: #ffffff;
  background-color: var(--bg-primary);
}

.staff-background {
  position: absolute;
  width: 100%;
  height: 120px;
  background-image: url(/static/media/musical-staff.c676cb9aab3f573c1f43.svg);
  background-repeat: repeat-x;
  background-size: contain;
  opacity: 0.2;
  z-index: 1;
  left: 0; /* Ensure background starts from the left edge */
  right: 0; /* Ensure background extends to the right edge */
  top: 0; /* Position from the top */
}

[data-theme='dark'] .staff-background {
  opacity: 0.07;
}

.logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  z-index: 30; /* Increased from 10 to make it higher priority */
  width: auto;
}

.logo-button {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 31; /* Increased from 11 to make it higher priority */
}

.logo-button:focus-visible {
  outline: 2px solid #c85a28;
  outline-offset: 3px;
  box-shadow: 0 0 0 3px rgba(200,90,30,0.15);
}

.logo-image {
  display: block;
  margin: 0 auto;
  height: 120px;
  width: auto;
  object-fit: contain;
  pointer-events: auto; /* Ensure clicks are captured */
}

[data-theme='dark'] .logo-image {
  filter: drop-shadow(0 0 4px rgba(220, 90, 40, 0.98)) drop-shadow(0 0 8px rgba(240, 100, 50, 0.85));
}

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

.header-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  width: 100%;
  z-index: 20;
}

.nav-buttons {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 20;
  flex-shrink: 0;
  position: relative;
  right: 20px;
}

.nav-buttons-group {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Menü toggle butonu (mobil görünüm için) */
.nav-menu-toggle {
  display: none;
}

.menu-toggle-btn {
  background: transparent;
  border: none;
  color: #212529;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  position: absolute;
  right: 15px; /* Kesin olarak sağ tarafta pozisyonlandır */
  top: 50%;
  transform: translateY(-50%);
  z-index: 25;
}

.menu-toggle-btn:hover {
  color: rgba(200, 80, 30, 1);
  transform: translateY(-50%) scale(1.1);
}

/* Left menu toggle button styles */
.menu-toggle-btn-left {
  background: transparent;
  border: none;
  color: #212529;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  position: absolute;
  left: 15px; /* Kesin olarak sol tarafta pozisyonlandır */
  top: 50%;
  transform: translateY(-50%);
  z-index: 25;
}

.menu-toggle-btn-left:hover {
  background-color: rgba(200, 80, 30, 0.1);
  color: rgba(200, 80, 30, 1);
  transform: translateY(-50%) scale(1.1);
}

@media (max-width: 768px) {
  .header {
    padding: 0 15px !important; /* Padding'i azaltıyoruz butonları kenarlara yaklaştırmak için */
    position: relative; /* Butonların absolute pozisyonlandırması için */
  }
  
  /* Logo ortada dursun diye hizalama */
  .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
  }
}

/* Responsive düzenlemeler */
@media (max-width: 767px) and (orientation: portrait) {
  .menu-toggle-btn,
  .menu-toggle-btn-left {
    display: flex !important;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 25;
  }
  
  .menu-toggle-btn {
    right: 10px !important; /* Kesin sağ kenara */
  }
  
  .menu-toggle-btn-left {
    left: 10px !important; /* Kesin sol kenara */
  }
  
  .header {
    padding: 0 10px !important;
    height: 80px !important;
  }
}

@media (min-width: 768px), (max-width: 767px) and (orientation: landscape) {
  .menu-toggle-btn,
  .menu-toggle-btn-left {
    display: none !important;
  }
  
  .header {
    padding: 0 20px !important;
  }
}

/* Responsive düzenlemeler */
@media (max-width: 1160px) {
  .nav-buttons-group .theme-toggle {
    font-size: 0.9rem;
    padding: 6px 12px;
  }
  
  .nav-buttons-group .btn {
    padding: 6px 12px;
    font-size: 0.9rem;
  }
  
  .theme-toggle {
    font-size: 0.9rem;
    padding: 6px 12px;
    z-index: 20; /* Maintain higher z-index */
  }
}

@media (max-width: 1060px) {
  .nav-buttons-group .btn span {
    display: none;
  }
  
  .nav-buttons-group .btn i {
    margin-right: 0;
    font-size: 1.1rem;
  }
  
  .nav-buttons-group .theme-toggle {
    padding: 6px 10px;
  }
  
  .theme-toggle span {
    display: none;
  }
  
  .theme-toggle {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border-radius: 50%;
    z-index: 20; /* Maintain higher z-index */
  }
}

@media (max-width: 768px) {
  .nav-buttons-group {
    display: none;
  }
  
  .nav-menu-toggle {
    display: block;
  }
  
  .header {
    height: 90px;
    padding: 0 20px;
  }
  
  .logo-image {
    height: 80px;
  }
  
  .theme-toggle {
    width: 40px;
    height: 40px;
    padding: 0;
    font-size: 1.1rem;
    margin-right: 5px;
    z-index: 20; /* Maintain higher z-index */
    position: relative; /* Ensure positioning context */
  }
  
  .menu-toggle-btn-left {
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
  }
  
  .header {
    padding: 0 60px;
  }
}

.btn {
  padding: 8px 16px;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.btn.primary {
  background-color: #f8f9fa;
  background-color: var(--bg-secondary);
  color: #212529;
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.btn.secondary {
  background-color: #d86a5a;
  color: #fff;
}

[data-theme='dark'] .btn.primary {
  background-color: #2d2d38;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Main nav ayarları güncellendi */
.main-nav {
  background-color: #ffffff;
  background-color: var(--nav-bg);
  padding: 10px 15px;
  border-bottom: 1px solid #dee2e6;
  border-bottom: 1px solid var(--border-color);
  position: relative;
  width: 100%;
  z-index: 1000;
  box-sizing: border-box;
  white-space: nowrap;
  box-shadow: 0 4px 8px -4px rgba(0,0,0,0.1);
  scrollbar-width: thin;
  scrollbar-color: rgba(200, 80, 30, 0.5) rgba(0, 0, 0, 0.1);
  overflow-x: auto;
}

/* Webkit tarayıcılar için scrollbar stilini ayarla */
.main-nav::-webkit-scrollbar {
  height: 6px;
}

.main-nav::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 10px;
}

.main-nav::-webkit-scrollbar-thumb {
  background-color: rgba(200, 80, 30, 0.4);
  border-radius: 10px;
}

.main-nav::-webkit-scrollbar-thumb:hover {
  background-color: rgba(200, 80, 30, 0.6);
}

.main-nav ul {
  display: flex;
  justify-content: flex-start;
  list-style: none;
  gap: 15px;
  padding: 0;
  margin: 0 auto;
  max-width: 1400px;
  flex-wrap: nowrap;
  position: relative;
}

.main-nav li {
  display: flex;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}

.main-nav a {
  text-decoration: none;
  color: #212529;
  color: var(--text-primary);
  font-weight: 500;
  padding: 6px 10px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  background-color: transparent;
  border: 2px solid transparent;
  display: block;
  text-align: center;
  white-space: nowrap;
}

/* Hover effect for light theme */
[data-theme='light'] .main-nav a:hover {
  background-color: rgba(180,70,25,255);
  color: #ffffff;
  border: 2px solid rgba(180,70,25,255);
  border-radius: 20px;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Hover effect for dark theme */
[data-theme='dark'] .main-nav a:hover {
  background-color: rgba(180,70,25,255);
  color: #ffffff;
  border: 2px solid rgba(180,70,25,255);
  border-radius: 20px;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Update profile rating badge styles for better responsiveness */
.profile-rating-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  -webkit-backdrop-filter: blur(5px);
          backdrop-filter: blur(5px);
  z-index: 2;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  transform-origin: top right;
}

[data-theme='dark'] .profile-rating-badge {
  background-color: rgba(45, 45, 60, 0.9);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.profile-rating-badge .rating-value {
  font-weight: 600;
  color: #333;
  margin-left: 2px;
}

[data-theme='dark'] .profile-rating-badge .rating-value {
  color: #fff;
}

/* Responsive adjustments matching profile card scaling */
@media (max-width: 1200px) {
  .profile-rating-badge {
    transform: scale(0.9);
    top: 8px;
    right: 8px;
  }
}

@media (max-width: 992px) {
  .profile-rating-badge {
    transform: scale(0.85);
    top: 6px;
    right: 6px;
  }
}

@media (max-width: 768px) {
  .profile-rating-badge {
    transform: scale(0.8);
    top: 5px;
    right: 5px;
  }
}

@media (max-width: 576px) {
  .profile-rating-badge {
    transform: scale(0.75);
    top: 4px;
    right: 4px;
  }
}

.musicians-grid {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 20px;
  margin-top: 20px;
}

.musician-card {
  display: flex;
  align-items: center;
  background-color: #ffffff;
  background-color: var(--card-bg);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 10px var(--shadow-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  padding: 10px 15px;
  width: 100%;
}

.musician-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.musician-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  width: 100%;
}

.musician-image {
  width: 60px;
  height: 60px;
  overflow: hidden;
  border-radius: 50%;
  flex-shrink: 0;
  margin-right: 15px;
}

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

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

.musician-card h3 {
  padding: 0;
  margin: 0;
  font-size: 1.1em;
  color: #212529;
  color: var(--text-primary);
  text-align: left;
}

.musician-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.category-tag {
  background-color: #e9ecef;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.9rem;
  color: #495057;
}

.loading {
  text-align: center;
  padding: 40px;
  font-size: 1.2rem;
  color: #666;
}

.error {
  text-align: center;
  padding: 40px;
  color: #dc3545;
  font-size: 1.2rem;
}

/* Category section base styles */
.category-section {
  margin: 10px auto;
  padding: 15px;
  background: #f0f0f0;
  background: var(--card-bg-darker);
  border-radius: 16px;
  border: 3px solid #adb5bd;
  box-shadow: 0 8px 24px rgba(108, 117, 125, 0.3);
  max-width: 1200px;
  position: relative;
  z-index: 900;
  transition: all 0.3s ease;
  transform: scale(0.9);
  transform-origin: center top;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .category-section {
    margin: 10px auto;
    width: calc(100% - 20px); /* Responsive width with a bit of margin */
    transform: scale(1);
    border-radius: 16px; /* Maintain rounded corners */
    max-width: 100%; /* Full width of container */
    overflow: visible; /* Ensure content doesn't get cut off */
  }
}

/* Smoother transition for medium screens */
@media (max-width: 1100px) {
  .category-section {
    width: calc(100% - 10px);
    padding: 12px;
    margin: 8px auto;
    transform: none;
  }
  
  .category-section:hover {
    /* Remove transform: translateY(-2px) on hover, keep only box-shadow */
    /* transform: translateY(-2px); */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), 0 0 15px rgba(200, 80, 30, 0.4);
  }
}

@media (max-width: 768px) {
  .category-section {
    padding: 12px 8px;
    margin: 8px auto;
    border-width: 3px; /* Keep full border */
    border-radius: 16px; /* Maintain rounded corners */
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.2);
    width: calc(100% - 8px);
  }
}

.category-section > * {
  transform-origin: top center;
}

.category-section:hover {
  /* Remove transform: scale(0.9) and translateY(-2px) on hover, keep only box-shadow and border-color */
  /* transform: scale(0.9) translateY(-2px); */
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4), 0 0 25px rgba(200, 80, 30, 0.6);
  border-color: rgba(200, 80, 30, 1);
  filter: drop-shadow(0 0 4px rgba(200, 80, 30, 0.5));
}

[data-theme='dark'] .category-section {
  background-color: #18181f;
  border: 3px solid #3a3a45;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.category-header {
  margin-bottom: 15px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 0 5px;
}

.category-header h2 {
  color: #212529;
  color: var(--text-primary);
  margin: 0;
  padding-bottom: 10px;
  font-weight: 600;
  font-size: 1.15rem;
  position: relative;
  display: inline-block;
  border-bottom: none;
  width: 100%;
}

.category-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: rgba(200,80,30,0.8);
  border-radius: 2px;
}

.category-header h2 a {
  text-decoration: none;
  color: #212529;
  color: var(--text-primary);
  transition: color 0.3s ease;
}

.category-header h2 a:hover {
  color: rgba(200,80,30,255);
}

.see-all {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.see-all:hover {
  text-decoration: none;
}

.see-all-container {
  display: flex;
  justify-content: center;
  margin-top: 10px;
  margin-bottom: 0;
  animation: fadeIn 0.3s ease 0.5s forwards;
  opacity: 0;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.see-all-button {
  padding: 10px 25px;
  background: linear-gradient(135deg, rgba(220, 90, 40, 1) 0%, rgba(180, 70, 25, 1) 100%);
  color: white;
  border: none;
  border-radius: 30px;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(200, 80, 30, 0.25);
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  text-decoration: none;
}

.see-all-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(200, 80, 30, 0.4);
  text-decoration: none;
}

.no-users-container {
  padding: 15px 0;
  text-align: center;
  height: 320px; /* Match minimum height of profile cards */
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  background-color: var(--card-bg);
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  margin: 10px 0;
}

.no-users {
  color: #6c757d;
  color: var(--text-secondary);
  font-style: italic;
  margin: 0;
  padding: 20px;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.4;
}

.musician-city {
  margin: 5px 0 0;
  color: #6c757d;
  color: var(--text-secondary);
  font-size: 0.9em;
  text-align: left;
}

.musician-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1 1;
}

.profile-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
}

.details {
  margin: 10px 0;
}

.star {
  color: #ddd;
}

.star.filled {
  color: gold;
}

.edit-button {
  background-color: rgba(200,80,30,255);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
}

.load-more {
  display: block;
  margin: 20px auto;
  padding: 10px 20px;
  background-color: rgba(200,80,30,255);
  color: #ffffff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 20px 20px;
}

.musician-card a {
  text-decoration: none;
  color: inherit;
}

.nav-buttons a {
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.nav-buttons a.primary {
  background-color: rgba(200,80,30,255);
  color: #fff;
  transition: all 0.3s ease;
}

.nav-buttons a.secondary {
  background-color: rgba(200,80,30,255);
  color: #fff;
  transition: all 0.3s ease;
}

[data-theme='dark'] .nav-buttons a.primary,
[data-theme='dark'] .nav-buttons a.secondary {
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3), 0 0 5px rgba(220, 90, 40, 0.4);
}

.nav-buttons button {
  /* Add these styles if you're using a button element for logout */
  border: none;
  cursor: pointer;
  font-size: 1rem;
  /* Match your existing button styles */
}

.nav-buttons button.btn.secondary {
  /* Match your existing secondary button styles */
}

/* Profile image sizes */
.profile-image-large {
  width: 400px;
  height: 400px;
  border-radius: 8px;
  object-fit: cover;
}

.profile-image-medium {
  width: 200px;
  height: 200px;
  border-radius: 8px;
  object-fit: cover;
}

.profile-image-small {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
}

.discover-button {
  display: block;
  width: -webkit-fit-content;
  width: fit-content;
  margin: 0 auto;
  padding: 10px 30px;
  background-color: rgba(200,80,30,255);
  color: white;
  text-decoration: none;
  border-radius: 20px;
  font-size: 0.9em;
  transition: all 0.3s ease;
}

.discover-button:hover {
  background-color: rgba(180,70,25,255);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

:root {
  /* Light theme variables */
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --text-primary: #212529;
  --text-secondary: #6c757d;
  --border-color: #dee2e6;
  --nav-bg: #ffffff;
  --card-bg: #ffffff;
  --card-bg-darker: #f0f0f0;
  --btn-primary-bg: #007bff;
  --btn-primary-text: #ffffff;
  --btn-secondary-bg: #6c757d;
  --btn-secondary-text: #ffffff;
  --link-color: #007bff;
  --header-bg: #ffffff;
  --shadow-color: rgba(0, 0, 0, 0.1);
}

[data-theme='dark'] {
  --bg-primary: #1a1c20;
  --bg-secondary: #1e2124;
  --text-primary: #eeeeee;
  --text-secondary: #B9BBBE;
  --border-color: #444444;
  --nav-bg: #1a1c20;
  --card-bg: #2d2d38;
  --card-bg-darker: #18181f;
  --btn-primary-bg: #7289DA;
  --btn-primary-text: #FFFFFF;
  --btn-secondary-bg: #2C2F33;
  --btn-secondary-text: #FFFFFF;
  --link-color: #7289DA;
  --header-bg: #161922;
  --shadow-color: rgba(0, 0, 0, 0.3);
}

/* Apply theme variables to existing elements */
body {
  background-color: #ffffff;
  background-color: var(--bg-primary);
  color: #212529;
  color: var(--text-primary);
}

.header {
  background-color: #ffffff;
  background-color: var(--header-bg);
  border-bottom: 1px solid #dee2e6;
  border-bottom: 1px solid var(--border-color);
}

.musician-card {
  background-color: #ffffff;
  background-color: var(--card-bg);
  border: 1px solid #dee2e6;
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 4px var(--shadow-color);
}

.musician-card h3 {
  color: #212529;
  color: var(--text-primary);
}

.musician-card p {
  color: #6c757d;
  color: var(--text-secondary);
}

.btn.primary {
  background-color: #007bff;
  background-color: var(--btn-primary-bg);
  color: #ffffff;
  color: var(--btn-primary-text);
}

.btn.secondary {
  background-color: #6c757d;
  background-color: var(--btn-secondary-bg);
  color: #ffffff;
  color: var(--btn-secondary-text);
}

.theme-toggle {
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid #dee2e6;
  border: 1px solid var(--border-color);
  background-color: #f8f9fa;
  background-color: var(--bg-secondary);
  color: #212529;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  z-index: 20; /* Increased z-index to be higher than logo (which is 10) */
}

.theme-toggle:hover {
  background-color: rgba(180,70,25,255);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

a {
  color: #007bff;
  color: var(--link-color);
}

/* Ana sayfa için özel stiller - Kategori ve navigasyon çubuğu sorununu çözmek için */
.home-page {
  margin: 0;
  padding: 0;
  position: relative;
  overflow-x: hidden;
}

/* Musical decorations for homepage background */
.home-page {
  position: relative;
}

/* Müzikal nota dekorasyonları */
.home-page::before {
  content: '♪ ♫ ♩ ♬ ♪ ♫ ♩ ♬ ♪ ♫ ♩ ♬ ♪ ♫ ♩ ♬ ♪ ♫ ♩ ♬ ♪ ♫ ♩ ♬ ♪ ♫ ♩ ♬ ♪ ♫ ♩ ♬';
  position: fixed;
  top: 12%;
  left: -5%;
  width: 110%;
  font-size: 30px;
  color: rgba(255, 255, 255, 0.03);
  word-spacing: 30px;
  letter-spacing: 15px;
  transform: rotate(-3deg);
  z-index: 0;
}

/* Müzikal enstrüman dekorasyonu */
.home-page::after {
  content: '♪ ♫ ♩ ♬ ♪ ♫ ♩ ♬ ♪ ♫ ♩ ♬ ♪ ♫ ♩ ♬ ♪ ♫ ♩ ♬ ♪ ♫ ♩ ♬ ♪ ♫ ♩ ♬ ♪ ♫ ♩ ♬';
  position: fixed;
  bottom: 8%;
  left: -5%;
  width: 110%;
  font-size: 30px;
  color: rgba(255, 255, 255, 0.03);
  word-spacing: 30px;
  letter-spacing: 15px;
  transform: rotate(2deg);
  z-index: 0;
}

/* Add nota sembolleri to the top left */
.home-page::before, .home-page::after, .home-page .top-left-notes {
  pointer-events: none;
}

.home-page .top-left-notes {
  content: '♪ ♫ ♩ ♬';
  position: fixed;
  top: 2%;
  left: 1.5%;
  font-size: 38px;
  color: rgba(255, 255, 255, 0.06);
  word-spacing: 18px;
  letter-spacing: 8px;
  z-index: 1;
  pointer-events: none;
}

/* Remove floating notes and instrument emojis */
.home-page .main-content::before,
.home-page .main-content::after,
.home-page .header::after,
.home-page .header::before,
[data-theme='dark'] .home-page .category-section:nth-child(odd)::before,
[data-theme='dark'] .home-page .category-section:nth-child(even)::before,
[data-theme='dark'] .home-page .note-1,
[data-theme='dark'] .home-page .note-2,
[data-theme='dark'] .home-page .note-3,
[data-theme='dark'] .home-page .note-4,
[data-theme='dark'] .home-page .note-5 {
  display: none !important;
}

/* Center nota sembolleri in main-content as before */
.main-content::after {
  content: '♩ ♪ ♫ ♬ ♩ ♪ ♫ ♬ ♩ ♪ ♫ ♬ ♩ ♪ ♫ ♬ ♩ ♪ ♫ ♬ ♩ ♪ ♫ ♬';
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-1deg);
  font-size: 32px;
  color: rgba(255, 255, 255, 0.03);
  word-spacing: 35px;
  letter-spacing: 15px;
  width: 200%;
}

/* Floating notes animation for dynamic effect */
@keyframes float {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(5deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

.home-page .main-content::before {
  content: '♫';
  position: fixed;
  top: 30%;
  left: 15%;
  font-size: 60px;
  color: rgba(180, 70, 25, 0);
  animation: float 8s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

/* Add additional floating musical notes for better distribution */
.home-page .main-content::after {
  content: '♩';
  position: fixed;
  top: 40%;
  right: 15%;
  font-size: 60px;
  color: rgba(180, 70, 25, 0);
  animation: float 7s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.home-page .header::after {
  content: '♪';
  position: fixed;
  top: 65%;
  right: 25%;
  font-size: 70px;
  color: rgba(180, 70, 25, 0);
  animation: float 9s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.home-page .header::before {
  content: '♬';
  position: fixed;
  top: 20%;
  right: 10%;
  font-size: 55px;
  color: rgba(180, 70, 25, 0);
  animation: float 10s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

/* Dark theme adjustments */
[data-theme='dark'] .home-page::before {
  content: '♪ ♫ ♩ ♬ ♪ ♫ ♩ ♬ ♪ ♫ ♩ ♬ ♪ ♫ ♩ ♬ ♪ ♫ ♩ ♬ ♪ ♫ ♩ ♬ ♪ ♫ ♩ ♬ ♪ ♫ ♩ ♬';
  position: fixed;
  top: 12%;
  left: -5%;
  width: 110%;
  font-size: 30px;
  color: rgba(255, 255, 255, 0.03);
  word-spacing: 30px;
  letter-spacing: 15px;
  transform: rotate(-3deg);
  z-index: 0;
}

[data-theme='dark'] .home-page::after {
  content: '🎵 🎸 🎹 🎷 🎺 🎻 🥁 🎼 🎵 🎸 🎹 🎷 🎺 🎻 🥁 🎼 🎵 🎸 🎹 🎷 🎺 🎻 🥁 🎼';
  position: fixed;
  bottom: 8%;
  right: -5%;
  width: 110%;
  font-size: 25px;
  color: rgba(255, 255, 255, 0.03);
  word-spacing: 40px;
  letter-spacing: 20px;
  transform: rotate(2deg);
}

[data-theme='dark'] .main-content::after {
  content: '♩ ♪ ♫ ♬ ♩ ♪ ♫ ♬ ♩ ♪ ♫ ♬ ♩ ♪ ♫ ♬ ♩ ♪ ♫ ♬ ♩ ♪ ♫ ♬';
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-1deg);
  font-size: 32px;
  color: rgba(255, 255, 255, 0.03);
  word-spacing: 35px;
  letter-spacing: 15px;
  width: 200%;
}

/* Ekstra müzikal notalar - koyu tema için */
[data-theme='dark'] .home-page .main-content::before,
[data-theme='dark'] .home-page .main-content::after,
[data-theme='dark'] .home-page .header::after,
[data-theme='dark'] .home-page .header::before {
  color: rgba(255, 255, 255, 0.03);
}

/* Koyu tema için ekstra süslemeler */
[data-theme='dark'] .home-page .category-section:nth-child(odd)::before {
  content: '♫ ♪';
  position: fixed;
  top: 35%;
  left: 10%;
  font-size: 85px;
  color: rgba(255, 255, 255, 0.02);
  opacity: 0.6;
  transform: rotate(-10deg);
  pointer-events: none;
  z-index: 0;
}

[data-theme='dark'] .home-page .category-section:nth-child(even)::before {
  content: '♩ ♬';
  position: fixed;
  bottom: 25%;
  right: 12%;
  font-size: 95px;
  color: rgba(255, 255, 255, 0.018);
  opacity: 0.7;
  transform: rotate(8deg);
  pointer-events: none;
  z-index: 0;
}

/* Yüzen notalar - koyu tema için ekstra animasyonlu notalar */
@keyframes float-slow {
  0% { transform: translateY(0) rotate(0deg); opacity: 0.7; }
  50% { transform: translateY(-20px) rotate(10deg); opacity: 1; }
  100% { transform: translateY(0) rotate(0deg); opacity: 0.7; }
}

@keyframes float-medium {
  0% { transform: translateY(0) rotate(0deg); opacity: 0.6; }
  50% { transform: translateY(-15px) rotate(-5deg); opacity: 0.9; }
  100% { transform: translateY(0) rotate(0deg); opacity: 0.6; }
}

@keyframes float-fast {
  0% { transform: translateY(0) rotate(0deg); opacity: 0.5; }
  50% { transform: translateY(-10px) rotate(8deg); opacity: 0.8; }
  100% { transform: translateY(0) rotate(0deg); opacity: 0.5; }
}

[data-theme='dark'] .home-page::before {
  animation: float-slow 15s ease-in-out infinite;
}

[data-theme='dark'] .home-page::after {
  animation: float-medium 12s ease-in-out infinite;
}

[data-theme='dark'] .main-content::after {
  animation: float-fast 10s ease-in-out infinite;
}

[data-theme='dark'] .home-page .note-1 {
  content: '♪';
  position: fixed;
  top: 15%;
  left: 85%;
  font-size: 70px;
  color: rgba(255, 255, 255, 0.025);
  animation: float-slow 9s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

[data-theme='dark'] .home-page .note-2 {
  content: '♫';
  position: fixed;
  top: 70%;
  left: 15%;
  font-size: 80px;
  color: rgba(255, 255, 255, 0.02);
  animation: float-medium 14s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

[data-theme='dark'] .home-page .note-3 {
  content: '♬';
  position: fixed;
  top: 40%;
  left: 75%;
  font-size: 60px;
  color: rgba(255, 255, 255, 0.022);
  animation: float-fast 11s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

[data-theme='dark'] .home-page .note-4 {
  content: '♩';
  position: fixed;
  top: 25%;
  left: 8%;
  font-size: 50px;
  color: rgba(255, 255, 255, 0.024);
  animation: float-medium 8s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

[data-theme='dark'] .home-page .note-5 {
  content: '🎵';
  position: fixed;
  top: 60%;
  left: 80%;
  font-size: 45px;
  color: rgba(255, 255, 255, 0.022);
  animation: float-slow 13s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

/* Ana sayfadaki ilk kategori için ekstra üst margin - removed extra margin */
.home-page .category-section:first-child {
  margin-top: 0; /* Removed extra margin (was 100px) */
}

/* Main content düzenlemesi */
.home-page .main-content {
  padding-top: 60px; /* Ana sayfa içeriği için extra padding */
}

/* Diğer sayfalar için içerik padding'i */
.app:not(.home-page) {
  padding-top: 0;
}

/* Enstrüman Tamiri/Akort için özel geniş kategori */
.main-nav li.wide-category {
  max-width: none;
}

.main-nav li.wide-category a {
  white-space: nowrap;
  padding-left: 8px;
  padding-right: 8px;
  font-size: 0.9rem; /* Reverted back to original size */
}

/* Search section with reduced spacing */
.search-section {
  background: transparent;
  padding: 15px;
  text-align: center;
  margin: 10px auto 20px;
  max-width: 800px;
  position: relative;
  overflow: visible;
  box-shadow: none;
}

.search-section h2 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #212529;
  color: var(--text-primary);
  font-weight: 600;
}

.search-container {
  width: 100%;
  max-width: 650px;
  margin: 0 auto;
  position: relative;
}

.search-form {
  display: flex;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  position: relative;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  filter: none;
  transition: all 0.3s ease;
}

.search-form:hover {
  filter: none;
  transform: none;
}

/* Dropdown styles */
.search-results-dropdown {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  right: 0;
  background-color: #ffffff;
  background-color: var(--bg-primary);
  border-radius: 12px;
  max-height: 350px;
  overflow-y: auto;
  z-index: 1000;
  box-shadow: 0 6px 24px rgba(0,0,0,0.2);
  border: 1px solid rgba(200, 80, 30, 0.15);
  padding: 8px 0;
  margin-top: 5px;
  width: 100%;
}

[data-theme='dark'] .search-results-dropdown {
  background-color: #ffffff;
  background-color: var(--card-bg);
  border: 1px solid rgba(200, 80, 30, 0.2);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.search-result-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  margin: 0 8px;
  border-radius: 8px;
}

.search-result-item:last-child {
  border-bottom: none;
}

.search-result-item:hover {
  background-color: rgba(200,80,30,0.08);
}

[data-theme='dark'] .search-result-item {
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

[data-theme='dark'] .search-result-item:hover {
  background-color: rgba(200,80,30,0.15);
}

.search-result-info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1;
}

.search-result-img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid rgba(200, 80, 30, 0.3);
  background-color: rgba(200, 80, 30, 0.05);
}

.search-result-profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.search-result-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: #212529;
  color: var(--text-primary);
}

.search-result-city {
  font-size: 0.85rem;
  color: #6c757d;
  color: var(--text-secondary);
  margin-left: 10px;
  flex-shrink: 0;
}

/* Search result item styling for categories */
.search-result-category {
  background-color: rgba(220, 88, 43, 0.05);
  margin: 0 8px;
  border-radius: 8px;
}

.search-result-category:hover {
  background-color: rgba(220, 88, 43, 0.1);
}

.search-result-meta {
  display: flex;
  align-items: center;
  margin-left: auto;
  padding-left: 12px;
}

.search-result-type {
  background-color: rgba(220, 88, 43, 0.8);
  color: white;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-block;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

[data-theme='dark'] .search-result-category {
  background-color: rgba(220, 88, 43, 0.15);
}

[data-theme='dark'] .search-result-category:hover {
  background-color: rgba(220, 88, 43, 0.25);
}

[data-theme='dark'] .search-result-type {
  background-color: rgba(220, 88, 43, 0.9);
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.search-input {
  flex: 1 1;
  padding: 14px 20px;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  background: #f8f9fa;
  background: var(--bg-secondary);
  color: #212529;
  color: var(--text-primary);
  outline: none;
  transition: all 0.3s ease;
  box-shadow: 0 0 0 2px rgba(220,90,40,0.3);
  margin-right: 10px;
  min-width: 0;
}

.search-input-full {
  max-height: 35px;
  width: 100%;
  margin-right: 0;
  border-radius: 50px;
  font-size: 1.2rem;
  padding: 18px 25px;
  height: 35px;
}

.search-input:hover {
  box-shadow: 0 0 0 3px rgba(220,90,40,0.5), 0 0 15px rgba(220,90,40,0.3);
}

.search-input:focus {
  box-shadow: 0 0 0 3px rgba(220,90,40,0.6), 0 0 20px rgba(220,90,40,0.4);
  transform: none;
}

[data-theme='dark'] .search-input {
  box-shadow: 0 0 0 2px rgba(220,90,40,0.4);
}

[data-theme='dark'] .search-input:hover {
  box-shadow: 0 0 0 3px rgba(220,90,40,0.6), 0 0 15px rgba(220,90,40,0.4);
}

[data-theme='dark'] .search-input:focus {
  box-shadow: 0 0 0 3px rgba(220,90,40,0.7), 0 0 20px rgba(220,90,40,0.5);
}

.search-button {
  padding: 14px 25px;
  background: linear-gradient(135deg, rgba(220,90,40,1) 0%, rgba(180,70,25,1) 100%);
  color: #ffffff;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: none;
  z-index: 1;
  min-width: 100px;
  flex-shrink: 0;
}

.search-button:hover {
  background: linear-gradient(135deg, rgba(240,100,50,1) 0%, rgba(200,80,30,1) 100%);
  transform: translateY(-2px);
  box-shadow: none;
}

/* Mobil görünüm düzenlemeleri */
@media (max-width: 768px) {
  .search-section {
    max-width: 90%;
    padding: 20px;
  }
  
  .search-form {
    max-width: 100%;
    gap: 10px;
  }
  
  .search-input {
    font-size: 0.9rem;
    padding: 12px 16px;
    margin-right: 5px;
  }
  
  .search-input-full {
    margin-right: 0;
  }
  
  .search-results-dropdown {
    position: absolute;
    top: calc(100% - 1px);
    max-height: 250px;
    width: 100%;
  }
}

.nav-buttons .btn {
  position: relative;
  overflow: hidden;
}

.nav-buttons .btn:active {
  transform: scale(0.92);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Create ripple effect on button click */
.nav-buttons .btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  z-index: 0;
  pointer-events: none;
}

.nav-buttons .btn:active::after {
  width: 150%;
  height: 150%;
  opacity: 1;
  transition: all 0.3s ease;
}

/* Add effect to logo */
.logo a:active img {
  transform: scale(0.95);
  filter: brightness(1.2);
}

/* Add effect to social media icons */
.social-media-header a:active {
  transform: scale(0.92);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.social-media-header .email:active {
  background-color: #D13321;
}

.social-media-header .twitter:active {
  background-color: #0B91DE;
}

.social-media-header .telegram:active {
  background-color: #0077B5;
}

.social-media-header .instagram:active {
  background-color: #C13584;
}

/* Musician Row Hover Effect - Light Theme */
.category-section .musician-row:hover {
  background-color: #32353b;
  color: #ffffff;
}

/* Musician Row Hover Effect - Dark Theme */
[data-theme='dark'] .category-section .musician-row:hover {
  background-color: #32353b;
  color: #ffffff;
}

/* Header Cell Hover Effect - Light Theme */
.category-section .header-cell:hover {
  background-color: rgba(180,70,25,0.1);
  color: #000000;
}

/* Header Cell Hover Effect - Dark Theme */
[data-theme='dark'] .category-section .header-cell:hover {
  background-color: #23272A;
  color: #ffffff;
}

/* Add styles for musician tables in category sections */
.category-section .musician-table {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  margin-bottom: 20px;
}

.category-section .table-header {
  display: flex;
  background-color: #f8f9fa;
  border-bottom: 1px solid #dee2e6;
  font-weight: bold;
}

.category-section .header-cell {
  padding: 12px 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background-color 0.2s;
}

.category-section .header-cell:hover {
  background-color: #23272A;
}

.category-section .header-cell span {
  margin-right: 5px;
}

.category-section .header-cell i {
  color: #adb5bd;
}

.category-section .header-cell.sorted-asc i,
.category-section .header-cell.sorted-desc i {
  color: #007bff;
}

.category-section .sorted-asc i::before {
  content: "\f0dd"; /* fa-sort-up */
}

.category-section .sorted-desc i::before {
  content: "\f0de"; /* fa-sort-down */
}

.category-section .table-body {
  background-color: #fff;
}

.category-section .musician-row {
  display: flex;
  border-bottom: 1px solid #dee2e6;
  text-decoration: none;
  color: #333;
  transition: background-color 0.2s;
  align-items: stretch;
  flex-wrap: nowrap;
}

.category-section .musician-row:last-child {
  border-bottom: none;
}

.category-section .musician-row:hover {
  background-color: #32353b;
  color: #ffffff;
}

.category-section .cell {
  padding: 12px 15px;
  display: flex;
  align-items: center;
}

.category-section .musician-name {
  display: flex;
  align-items: center;
  font-weight: 500;
}

.category-section .musician-profile-pic {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 10px;
  background-color: #f5f5f5;
}

.category-section .musician-profile-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-section .rating-display {
  display: flex;
  align-items: center;
}

.category-section .rating-value {
  margin-left: 8px;
  color: #666;
  font-size: 0.9rem;
}

/* Cells widths */
.header-cell.name, .cell.musician-name {
  flex: 2 1;
  min-width: 200px;
}

.header-cell.city, .cell.musician-city {
  flex: 1 1;
  min-width: 100px;
}

.header-cell.subcategories, .cell.musician-subcategories {
  flex: 1.5 1;
  min-width: 150px;
  max-width: 200px;
  padding: 8px 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cell.musician-subcategories {
  font-size: 0.9em;
  color: #6c757d;
  color: var(--text-secondary);
}

.header-cell.rating, .cell.musician-rating {
  flex: 1 1;
  min-width: 120px;
}

@media (max-width: 768px) {
  .header-cell.subcategories, .cell.musician-subcategories {
    display: none;
  }
}

/* Dark mode */
[data-theme='dark'] {
  --bg-primary: #1a1c20;
  --bg-secondary: #1e2124;
  --card-bg: #2d2d38;
  --text-primary: #eeeeee;
  --text-secondary: #B9BBBE;
  --btn-primary-bg: #7289DA;
  --btn-primary-text: #FFFFFF;
  --btn-secondary-bg: #2C2F33;
  --btn-secondary-text: #FFFFFF;
  --border-color: #444444;
  --shadow-color: rgba(0, 0, 0, 0.3);
  --link-color: #7289DA;
  --nav-bg: #1a1c20;
}

[data-theme='dark'] .category-section {
  background-color: #18181f;
  border: 3px solid #3a3a45;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

[data-theme='dark'] .category-section:hover {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4), 0 0 12px rgba(220, 90, 40, 0.7);
  border-color: rgba(220, 90, 40, 1);
  filter: drop-shadow(0 0 4px rgba(220, 90, 40, 0.6));
}

[data-theme='dark'] .category-section .musician-table {
  background-color: #36393F;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

[data-theme='dark'] .category-section .table-header {
  background-color: #2c2f33;
  border-bottom: 1px solid #444;
}

[data-theme='dark'] .category-section .header-cell:hover {
  background-color: #23272A;
}

[data-theme='dark'] .category-section .musician-row {
  border-bottom: 1px solid #444;
  color: #e1e1e1;
}

[data-theme='dark'] .category-section .musician-row:hover {
  background-color: #32353b;
}

[data-theme='dark'] .category-section .table-body {
  background-color: #36393F;
}

[data-theme='dark'] .category-section .musician-profile-pic {
  background-color: #23272A;
}

[data-theme='dark'] .category-section .rating-value {
  color: #B9BBBE;
}

/* Dark mode musician card styles */
[data-theme='dark'] .musician-card {
  background-color: #2d2d3d;
  border: 4px solid #dee2e6;
  border: 4px solid var(--border-color);
}

[data-theme='dark'] .musician-card:hover {
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3), 0 0 5px rgba(200, 80, 30, 0.15);
  border-color: rgba(220, 90, 40, 0.5);
}

/* Improving hover effects for other elements */

/* Override potential global musician-row hover styles as well */
.musician-row:hover {
  background-color: rgba(180,70,25,0.1) !important;
  color: #000000 !important;
}

[data-theme='dark'] .musician-row:hover {
  background-color: rgba(180,70,25,0.2) !important;
  color: #ffffff !important;
}

[data-theme='dark'] .staff-background {
  opacity: 0.1; /* Slightly less visible in dark mode */
  filter: invert(1); /* Invert the colors for dark mode */
}

/* Active category styles to match hover effect */
.main-nav ul li.active-category {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Default shadow, dark theme might override */
  border-radius: 20px; /* Match hover border-radius */
}

.main-nav ul li.active-category a {
  background-color: rgba(180,70,25,255); /* Match hover background */
  color: #ffffff; /* Match hover text color */
  border: 2px solid rgba(180,70,25,255); /* Match hover border */
  border-radius: 20px; /* Match hover border-radius */
}

/* Dark theme specific active category shadow */
[data-theme='dark'] .main-nav ul li.active-category {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

/* Remove redundant/conflicting active category styles */
.main-nav ul li.active-category:hover {
  /* Hover styles are now the same as active styles, so no specific hover needed */
}

/* Remove the dark theme specific filter as it's now global */
[data-theme='dark'] .logo-image {
  /* The filter is now applied globally, no need to repeat here */
  /* filter: drop-shadow(0 0 15px rgba(200, 80, 30, 0.6)); */ /* Orange glow in dark mode */
}

/* Kategori Carousel Sistemi */
.category-carousel {
  position: relative;
  margin: 20px auto;
  width: 100%;
  overflow: hidden;
  padding-bottom: 40px; /* Space for controls */
}

.carousel-container {
  display: flex;
  transition: transform 0.5s ease;
  width: 100%;
}

.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  padding: 10px;
}

/* Make category sections in carousel fill available space */
.carousel-slide .category-section {
  flex-grow: 1;
  flex-shrink: 1;
  flex-basis: calc(50% - 20px);
  min-width: 300px;
  margin: 0 0 20px 0;
  transition: all 0.3s ease;
  max-width: 100%; /* Ensure it doesn't overflow its container */
  overflow: visible; /* Allow content to be visible */
}

/* Ensure there's spacing between cards in the same slide */
.carousel-slide .category-section:not(:last-child) {
  margin-right: 15px; /* Reduced from 20px to prevent overflow */
}

.carousel-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 0;
  gap: 30px;
}

.carousel-button {
  background: rgba(200, 80, 30, 1);
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.carousel-button:hover {
  background: rgba(220, 90, 40, 1);
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.carousel-button:active {
  transform: scale(0.95);
}

.carousel-button.prev {
  left: 10px;
}

.carousel-button.next {
  right: 10px;
}

.carousel-indicators {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.carousel-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ccc;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-indicator.active {
  background-color: rgba(200, 80, 30, 1);
  transform: scale(1.2);
}

/* For mobile devices */
@media (max-width: 768px) {
  .carousel-slide {
    flex-direction: column;
  }
  
  .carousel-slide .category-section {
    flex: 1 1 100%;
    min-width: 100%;
    margin-right: 0;
  }
  
  .carousel-controls {
    gap: 15px;
  }
  
  .carousel-button {
    width: 36px;
    height: 36px;
  }
  
  .carousel-indicator {
    width: 10px;
    height: 10px;
  }
}

/* Dark theme adjustments */
[data-theme='dark'] .carousel-button {
  background: rgba(220, 90, 40, 0.9);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

[data-theme='dark'] .carousel-button:hover {
  background: rgba(240, 100, 50, 1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

[data-theme='dark'] .carousel-indicator {
  background-color: #555;
}

[data-theme='dark'] .carousel-indicator.active {
  background-color: rgba(240, 100, 50, 1);
}

/* Profil Carousel Stilleri - Modern Versiyon 3.0 */

.category-content {
  padding: 5px 0 0;
}

/* Kaldırılan sıralama kontrolleri */
.sorting-header {
  display: none;
}

/* Profile Carousel Container */
.profile-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-bottom: 30px;
  padding: 0;
}

.profile-carousel-container {
  width: 100%;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: visible;
}

/* Profile carousel track with fixed 3 columns */
.profile-carousel-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 15px;
  gap: 15px;
  padding: 10px 0;
  width: 100%;
  align-items: start;
}

/* Profile Cards Styling - Modern Design */
.profile-card {
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  background-color: var(--card-bg);
  border-radius: 12px; /* Add consistent rounded corners to profile cards */
  padding: 0;
  text-decoration: none;
  color: #212529;
  color: var(--text-primary);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
  height: 100%;
  max-width: 100%;
}

.profile-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
  border-color: rgba(200, 80, 30, 0.2);
}

/* Profile card with larger images */
.profile-image-container {
  width: 98%; /* Increased from 85% */
  /* padding-bottom: 98%;  Kaldırıldı */
  position: relative;
  overflow: hidden;
  margin: 0 auto; /* Center the container */
}

.profile-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.8s ease;
}

.profile-card:hover .profile-image {
  transform: translate(-50%, -50%) scale(1.08);
}

/* Rating Badge */
.profile-rating-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 30px;
  padding: 5px 10px;
  display: flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  -webkit-backdrop-filter: blur(5px);
          backdrop-filter: blur(5px);
  z-index: 1;
}

.profile-rating-badge .rating-value {
  font-weight: bold;
  color: #333;
  margin-left: 3px;
}

.profile-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px;
  background-color: #ffffff;
  background-color: var(--card-bg);
  flex-grow: 1;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

[data-theme='dark'] .profile-details {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.profile-name {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  color: #212529;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-city {
  color: #212529;
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
  background-color: rgba(200, 80, 30, 0.08);
  padding: 4px 10px;
  border-radius: 12px;
  margin: 0;
  width: -webkit-fit-content;
  width: fit-content;
}

.profile-city i {
  color: rgba(200, 80, 30, 0.9);
  font-size: 0.8rem;
  width: 14px;
  text-align: center;
}

.profile-categories {
  color: #6c757d;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
}

.profile-categories i {
  color: rgba(200, 80, 30, 0.9);
  font-size: 0.8rem;
  width: 14px;
  text-align: center;
}

.profile-subcategories,
.profile-reviews {
  color: #6c757d;
  color: var(--text-secondary);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 4px;
}

.profile-subcategories i,
.profile-reviews i {
  color: rgba(200, 80, 30, 0.8);
  font-size: 0.75rem;
  width: 14px;
  text-align: center;
}

/* Dark mode styling for city */
[data-theme='dark'] .profile-city {
  background-color: rgba(200, 80, 30, 0.15);
  color: #212529;
  color: var(--text-primary);
}

/* Profile Carousel Controls - Modern 3.0 */
.profile-carousel-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 10;
  width: 100%;
  padding: 0 20px; /* Add padding to move controls inward */
}

.profile-carousel-controls .carousel-button {
  width: 40px;
  height: 40px;
  background-color: rgba(200, 80, 30, 0.9);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  pointer-events: auto;
  opacity: 0.9;
}

.profile-carousel-controls .carousel-button.prev {
  position: absolute;
  left: 50px; /* Changed from 20px to 50px to move much further inward */
}

.profile-carousel-controls .carousel-button.next {
  position: absolute;
  right: 50px; /* Changed from 20px to 50px to move much further inward */
}

.profile-carousel-controls .carousel-button:hover {
  background-color: rgba(220, 90, 40, 1);
  transform: scale(1.1);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  opacity: 1;
}

/* Carousel indikatörlerini kaldır */
.carousel-indicators {
  display: none;
}

/* Empty Card Styles */
.empty-card {
  display: none; /* Hide empty cards in all views */
}

.empty-card:hover {
  transform: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.empty-card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  color: #6c757d;
  color: var(--text-secondary);
  text-align: center;
  padding: 20px;
}

.empty-card-content i {
  font-size: 3rem;
  opacity: 0.3;
}

.empty-card-content p {
  font-size: 0.9rem;
  opacity: 0.7;
  max-width: 150px;
  margin: 0;
}

/* Dark Theme Adjustments */
[data-theme='dark'] .profile-card {
  background-color: #2d2d3d;
  border-color: rgba(255, 255, 255, 0.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

[data-theme='dark'] .profile-card:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3), 0 0 10px rgba(200, 80, 30, 0.15);
  border-color: rgba(220, 90, 40, 0.3);
}

[data-theme='dark'] .profile-rating-badge {
  background-color: rgba(45, 45, 60, 0.9);
}

[data-theme='dark'] .profile-rating-badge .rating-value {
  color: #eee;
}

/* Dark Theme for Empty Cards */
[data-theme='dark'] .empty-card {
  border-color: rgba(255, 255, 255, 0.1);
}

[data-theme='dark'] .empty-card-content i,
[data-theme='dark'] .empty-card-content p {
  color: rgba(255, 255, 255, 0.5);
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
  .profile-carousel-track {
    gap: 12px;
  }

  .profile-image-container {
    height: auto;
    width: 98%;
    /* padding-bottom: 98%;  Kaldırıldı */
    margin: 0 auto;
  }

  .profile-details {
    padding: 10px;
    gap: 5px;
  }

  .profile-name {
    font-size: 1rem;
  }

  .profile-city {
    font-size: 0.85rem;
    padding: 3px 8px;
  }

  .profile-categories {
    font-size: 0.85rem;
  }

  .profile-subcategories,
  .profile-reviews {
    font-size: 0.8rem;
  }

  .profile-rating-badge {
    padding: 5px 10px;
    font-size: 0.85rem;
    gap: 5px;
    border-radius: 25px;
  }
}

@media (max-width: 992px) {
  .profile-carousel-track {
    gap: 10px;
  }
  
  .profile-image-container {
    height: auto;
    width: 98%;
    /* padding-bottom: 98%;  Kaldırıldı */
    margin: 0 auto;
  }
  
  .profile-details {
    padding: 8px;
    gap: 4px;
  }

  .profile-name {
    font-size: 0.9rem;
  }

  .profile-city {
    font-size: 0.8rem;
    padding: 3px 7px;
    border-radius: 10px;
  }

  .profile-categories {
    font-size: 0.8rem;
  }

  .profile-subcategories,
  .profile-reviews {
    font-size: 0.75rem;
  }

  .profile-rating-badge {
    padding: 4px 8px;
    font-size: 0.8rem;
    gap: 4px;
    border-radius: 25px;
  }
}

@media (max-width: 768px) {
  .profile-carousel-track {
    gap: 8px;
  }
  
  .profile-image-container {
    height: auto;
    width: 98%;
    /* padding-bottom: 98%;  Kaldırıldı */
    margin: 0 auto;
  }
  
  .profile-details {
    padding: 6px;
    gap: 3px;
  }

  .profile-name {
    font-size: 0.8rem;
  }

  .profile-city {
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 8px;
  }

  .profile-categories {
    font-size: 0.75rem;
  }

  .profile-subcategories,
  .profile-reviews {
    font-size: 0.7rem;
  }

  .profile-rating-badge {
    padding: 3px 6px;
    font-size: 0.75rem;
    gap: 3px;
    border-radius: 20px;
    top: 8px;
    right: 8px;
  }
}

@media (max-width: 576px) {
  .profile-carousel-track {
    gap: 6px;
  }

  .profile-image-container {
    height: auto;
    width: 98%;
    /* padding-bottom: 98%;  Kaldırıldı */
    margin: 0 auto;
  }

  .profile-details {
    padding: 5px;
    gap: 2px;
  }

  .profile-name {
    font-size: 0.7rem;
  }

  .profile-city {
    font-size: 0.65rem;
    padding: 2px 5px;
    border-radius: 6px;
  }

  .profile-categories {
    font-size: 0.65rem;
  }

  .profile-subcategories,
  .profile-reviews {
    font-size: 0.6rem;
  }

  .profile-rating-badge {
    padding: 2px 5px;
    font-size: 0.65rem;
    gap: 2px;
    border-radius: 15px;
    top: 6px;
    right: 6px;
  }
}

.home-page .header {
  position: relative;
  left: 0;
  right: 0;
  z-index: 1002;
}

.home-page .main-nav {
  position: relative;
  left: 0;
  right: 0;
  z-index: 1001;
}

.home-page .main-content {
  padding-top: 10px;
  position: relative;
  z-index: 1000;
}

/* Ana sayfadaki ilk kategori için ekstra üst margin - removed extra margin */
.home-page .category-section:first-child {
  margin-top: 10px;
}

/* Main content düzenlemesi */
.home-page .main-content {
  padding-top: 20px;
}

.confirmation-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.cancel-delete-button {
  background-color: #6c757d;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.cancel-delete-button:hover {
  background-color: #5a6268;
}

.confirm-delete-button {
  background-color: #dc3545;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.confirm-delete-button:hover {
  background-color: #c82333;
}

/* Add smooth transition for all elements */
* {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

/* Loading Spinner Styles */
.loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  width: 100%;
  position: absolute;
  z-index: -1;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
}

[data-theme='dark'] .loading-container {
  opacity: 0;
}

.loading-spinner {
  width: 0;
  height: 0;
  opacity: 0;
  position: absolute;
  visibility: hidden;
}

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

.loading-container p {
  position: absolute;
  opacity: 0;
  visibility: hidden;
  font-size: 0;
  overflow: hidden;
  height: 0;
  width: 0;
}

.social-media-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: 20px;
    margin-right: auto;
    position: relative;
    z-index: 1002; /* Ensure it's above other elements */
}

.social-media-header a {
    color: #212529;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    position: relative;
    z-index: 1002; /* Ensure links are clickable */
    background-color: transparent;
}

.social-media-header a:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    background-color: #f8f9fa;
    background-color: var(--bg-secondary);
}

.social-media-header .email:hover {
    color: #ffffff;
    background-color: #EA4335;
}

.social-media-header .twitter:hover {
    color: #ffffff;
    background-color: #1DA1F2;
}

.social-media-header .telegram:hover {
    color: #ffffff;
    background-color: #0088cc;
}

.social-media-header .instagram:hover {
    color: #ffffff;
    background-color: #E1306C;
}

/* Dark theme adjustments */
[data-theme='dark'] .social-media-header a {
    color: #e0e0e0;
    color: var(--text-primary-dark, #e0e0e0);
}

[data-theme='dark'] .social-media-header a:hover {
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .social-media-header {
        display: none; /* Hide on mobile to prevent header crowding */
    }
}

.scroll-to-top {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: rgba(200, 80, 30, 0.9);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  align-items: center;
  justify-content: center;
}

.scroll-to-top.visible {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.scroll-to-top:hover {
  background-color: rgba(220, 90, 40, 1);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.scroll-to-top:active {
  transform: translateY(0);
}

/* Dark theme adjustments */
[data-theme='dark'] .scroll-to-top {
  background-color: rgba(220, 90, 40, 0.9);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

[data-theme='dark'] .scroll-to-top:hover {
  background-color: rgba(240, 100, 50, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

/* Mobile specific styles */
@media (max-width: 768px) {
  .scroll-to-top {
    bottom: 15px;
    right: 15px;
    width: 45px;
    height: 45px;
  }

  .scroll-to-top i {
    font-size: 1.2rem;
  }
}

/* Fix button hover styles to ensure better contrast */
.btn.primary:hover {
  background-color: rgba(180,70,25,255);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn.secondary:hover {
  background-color: rgba(180,70,25,255);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Improving hover effects for other elements */
.nav-buttons a.primary:hover {
  background-color: rgba(180,70,25,255);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.nav-buttons a.secondary:hover {
  background-color: rgba(180,70,25,255);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Add hover effects for all button types in nav-buttons */
.nav-buttons .btn:hover {
  background-color: rgba(180,70,25,255);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Ana sayfa yenileme animasyonu */
@keyframes content-refresh {
  0% { opacity: 0.7; transform: scale(0.98); }
  100% { opacity: 1; transform: scale(1); }
}

.main-content.refreshing {
  animation: content-refresh 0.4s ease-in-out;
}

/* Tema değişimi geçişini yumuşatmak için */
body, html, [data-theme='dark'], [data-theme='light'] {
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Mobil menü stilleri - orantılı kutucuklar için güncellendi */
.mobile-menu-container {
  position: fixed;
  top: 0;
  right: -320px;
  width: 320px;
  height: 100%;
  background-color: #ffffff;
  background-color: var(--bg-primary);
  z-index: 2000;
  padding: 20px 20px;
  box-shadow: -5px 0 20px rgba(0, 0, 0, 0.25);
  transition: right 0.3s ease;
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.mobile-menu-open .mobile-menu-container {
  right: 0; /* Menü açıldığında ekrana girer */
  visibility: visible; /* Menü açıldığında görünür */
  opacity: 1; /* Menü açıldığında tam opaklık */
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.65);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
  -webkit-backdrop-filter: blur(2px);
          backdrop-filter: blur(2px);
}

.mobile-menu-open .mobile-menu-overlay {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  margin-bottom: 10px;
  padding-bottom: 15px;
  border-bottom: none;
}

.mobile-menu-header h3 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 600;
  color: #212529;
  color: var(--text-primary);
  text-align: center;
  width: 85%;
  max-width: 200px;
  line-height: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-header::after {
  content: '';
  display: block;
  width: 85%;
  max-width: 200px;
  height: 4px;
  background: linear-gradient(to right, rgba(220, 90, 40, 0.1), rgba(220, 90, 40, 0.8), rgba(220, 90, 40, 0.1));
  position: absolute;
  top: calc(50% + 22px);
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.mobile-menu-close {
  position: absolute;
  right: 15px;
  height: 32px;
  width: 32px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #212529;
  color: var(--text-primary);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 6px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.mobile-menu-close:hover {
  background-color: rgba(200, 80, 30, 0.1);
  color: rgba(200, 80, 30, 1);
  transform: translateY(-50%) rotate(90deg);
}

.nav-menu-toggle {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 15px;
  flex: 1 1;
  width: 100%;
}

/* Tüm butonlar için aynı yükseklik ve stil */
.mobile-menu-nav .btn,
.mobile-category-item {
  height: auto;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 1.05rem;
  font-weight: 500;
  width: 100%;
  transition: all 0.2s ease;
  box-sizing: border-box;
  white-space: normal;
  line-height: 1.2;
}

.mobile-menu-nav .btn.theme-toggle {
  margin-top: 0;
  margin-bottom: 5px;
  background-color: #f8f9fa;
  background-color: var(--bg-secondary);
  border: 1px solid #dee2e6;
  border: 1px solid var(--border-color);
  width: 100%;
  border-radius: 12px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 18px;
  color: #212529;
  color: var(--text-primary);
  font-weight: 500;
  transition: all 0.3s ease;
}

.mobile-menu-nav .btn.primary {
  background-color: rgba(120, 60, 40, 0.2);
  color: #212529;
  color: var(--text-primary);
  border: 1px solid rgba(200, 80, 30, 0.2);
}

.mobile-menu-nav .btn.primary:hover {
  background-color: rgba(200, 80, 30, 0.3);
}

.mobile-menu-nav .btn.secondary {
  background-color: rgba(200, 80, 30, 0.9);
  color: white;
}

.mobile-menu-nav .btn i {
  margin-right: 12px;
  width: 24px;
  text-align: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* Mobil menü kategori listesi */
.mobile-menu-categories {
  margin-top: 25px;
  border-top: 1px solid #dee2e6;
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
  width: 100%;
}

/* Category header with divider */
.mobile-menu-categories h4 {
  position: relative;
  margin: 0 0 20px 0;
  padding: 0 0 12px 0;
  color: #212529;
  color: var(--text-primary);
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
  width: 100%;
}

/* Header divider line */
.mobile-menu-categories h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 2px;
  background: linear-gradient(
    to right,
    rgba(200, 80, 30, 0.1) 0%,
    rgba(200, 80, 30, 0.8) 50%,
    rgba(200, 80, 30, 0.1) 100%
  );
}

/* Dark theme adjustments */
[data-theme='dark'] .mobile-menu-categories h4::after {
  background: linear-gradient(
    to right,
    rgba(220, 90, 40, 0.1) 0%,
    rgba(220, 90, 40, 0.8) 50%,
    rgba(220, 90, 40, 0.1) 100%
  );
}

/* Category list spacing */
.mobile-category-list {
  margin: 10px 0 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  overflow-x: hidden;
}

.mobile-category-list a,
.mobile-category-list .mobile-category-item {
  width: 85%;
  max-width: 200px;
  display: flex;
  justify-content: center !important;
  align-items: center;
  text-align: center !important;
  overflow: hidden;
  padding: 0 15px;
  margin-bottom: 2px;
  height: auto;
  min-height: 48px;
  line-height: 1.2;
  font-size: 0.95rem;
  white-space: normal;
}

.mobile-category-item {
  background: linear-gradient(90deg, #232526 0%, #414345 100%) !important;
  color: #fff !important;
  border: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  transition: background 0.3s, color 0.2s, box-shadow 0.2s;
  text-align: center;
  border-radius: 10px;
}

.mobile-category-item:hover {
  background: linear-gradient(90deg, #414345 0%, #232526 100%) !important;
  color: #fff !important;
  box-shadow: 0 6px 16px rgba(0,0,0,0.35);
}

.mobile-category-item.active {
  background: linear-gradient(90deg, #ff512f 0%, #dd2476 100%) !important;
  color: #fff !important;
  box-shadow: 0 8px 22px rgba(0,0,0,0.45);
}

[data-theme='dark'] .mobile-category-item,
[data-theme='dark'] .mobile-category-item:hover,
[data-theme='dark'] .mobile-category-item.active {
  /* No need for separate rules, handled above */
}

.mobile-category-item.active::before,
[data-theme='light'] .mobile-category-item.active::before,
[data-theme='dark'] .mobile-category-item.active::before {
  opacity: 1;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.1));
}

.mobile-category-item.active:hover,
[data-theme='light'] .mobile-category-item.active:hover,
[data-theme='dark'] .mobile-category-item.active:hover {
  background-color: rgba(250, 110, 60, 1);
  border: 2px solid rgba(250, 110, 60, 1);
  box-shadow: 0 5px 15px rgba(220, 90, 40, 0.5);
}

/* Mobile menu list container spacing */
.mobile-category-list {
  margin-top: 15px;
  padding: 5px 10px 5px 5px;
}

/* Mobile menu section title */
.mobile-menu-categories h4 {
  position: relative;
  margin: 0 0 15px 0;
  padding: 0 0 12px 0;
  color: #212529;
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
  width: 100%;
  border-left: none;
  padding-left: 0;
}

.mobile-menu-categories h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 25%;
  width: 50%;
  height: 2px;
  background: linear-gradient(
    to right,
    rgba(220, 90, 40, 0.1) 0%,
    rgba(220, 90, 40, 0.7) 50%,
    rgba(220, 90, 40, 0.1) 100%
  );
}

[data-theme='dark'] .mobile-menu-categories h4::after {
  background: linear-gradient(
    to right,
    rgba(220, 90, 40, 0.2) 0%,
    rgba(220, 90, 40, 0.8) 50%,
    rgba(220, 90, 40, 0.2) 100%
  );
}

/* Dark tema düzeltmeleri */
[data-theme='dark'] .mobile-menu-container {
  background-color: #1a1c20;
  box-shadow: -5px 0 20px rgba(0, 0, 0, 0.4);
  border-left: 1px solid #dee2e6;
  border-left: 1px solid var(--border-color);
}

/* Menü toggle butonu (hamburger) */
.menu-toggle-btn {
  background: transparent;
  border: none;
  color: #212529;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  position: absolute;
  right: 15px; /* Kesin olarak sağ tarafta pozisyonlandır */
  top: 50%;
  transform: translateY(-50%);
  z-index: 25;
}

.menu-toggle-btn:hover {
  color: rgba(200, 80, 30, 1);
  transform: translateY(-50%) scale(1.1);
}

/* Left menu toggle button styles */
.menu-toggle-btn-left {
  background: transparent;
  border: none;
  color: #212529;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  position: absolute;
  left: 15px; /* Kesin olarak sol tarafta pozisyonlandır */
  top: 50%;
  transform: translateY(-50%);
  z-index: 25;
}

.menu-toggle-btn-left:hover {
  background-color: rgba(200, 80, 30, 0.1);
  color: rgba(200, 80, 30, 1);
  transform: translateY(-50%) scale(1.1);
}

@media (max-width: 768px) {
  .header {
    padding: 0 15px !important; /* Padding'i azaltıyoruz butonları kenarlara yaklaştırmak için */
    position: relative; /* Butonların absolute pozisyonlandırması için */
  }
  
  /* Logo ortada dursun diye hizalama */
  .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
  }
}

/* Responsive düzenlemeler */
@media (max-width: 767px) and (orientation: portrait) {
  .menu-toggle-btn,
  .menu-toggle-btn-left {
    display: flex !important;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 25;
  }
  
  .menu-toggle-btn {
    right: 10px !important; /* Kesin sağ kenara */
  }
  
  .menu-toggle-btn-left {
    left: 10px !important; /* Kesin sol kenara */
  }
  
  .header {
    padding: 0 10px !important;
    height: 80px !important;
  }
}

@media (min-width: 768px), (max-width: 767px) and (orientation: landscape) {
  .menu-toggle-btn,
  .menu-toggle-btn-left {
    display: none !important;
  }
  
  .header {
    padding: 0 20px !important;
  }
}

/* Tema butonu için özel medya sorgusu */
@media (max-width: 1329px) {
  .theme-toggle:not(.mobile-menu-nav .btn.theme-toggle) span {
    display: none;
  }
  
  .theme-toggle:not(.mobile-menu-nav .btn.theme-toggle) {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border-radius: 50%;
    z-index: 20;
  }
}

/* At 1400px, further reduce spacing */
@media (max-width: 1400px) {
  .main-nav ul {
    gap: 8px;
  }
  
  .main-nav a {
    padding: 6px 8px;
    font-size: 0.9rem;
  }
}

/* At 1200px, apply more compact styling */
@media (max-width: 1200px) {
  .main-nav ul {
    gap: 5px;
  }
  
  .main-nav a {
    padding: 5px 7px;
    font-size: 0.85rem;
  }
}

/* Mobile menu theme toggle button styles */
.mobile-menu-nav .btn.theme-toggle {
  margin-top: 0;
  margin-bottom: 5px;
  background-color: #f8f9fa;
  background-color: var(--bg-secondary);
  border: 1px solid #dee2e6;
  border: 1px solid var(--border-color);
  width: 100%;
  border-radius: 12px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 18px;
  color: #212529;
  color: var(--text-primary);
  font-weight: 500;
  transition: all 0.3s ease;
}

.mobile-menu-nav .btn.theme-toggle span {
  display: inline-block !important; /* Override any media query that hides the text */
  margin-left: 4px;
  font-size: 0.95rem;
}

/* Light theme styles */
[data-theme='light'] .mobile-menu-nav .btn.theme-toggle {
  background-color: #f8f9fa;
  color: #333;
  border: 1px solid rgba(200, 80, 30, 0.2);
}

[data-theme='light'] .mobile-menu-nav .btn.theme-toggle:hover {
  background-color: rgba(200, 80, 30, 0.1);
  border-color: rgba(200, 80, 30, 0.3);
  color: rgba(200, 80, 30, 1);
}

/* Dark theme styles */
[data-theme='dark'] .mobile-menu-nav .btn.theme-toggle {
  background-color: #2d2d38;
  color: #ffffff;
  border: 1px solid rgba(200, 80, 30, 0.3);
}

[data-theme='dark'] .mobile-menu-nav .btn.theme-toggle:hover {
  background-color: rgba(200, 80, 30, 0.2);
  border-color: rgba(200, 80, 30, 0.4);
  color: #ffffff;
}

/* Icon styles for theme toggle */
.mobile-menu-nav .btn.theme-toggle i {
  margin-right: 12px;
  width: 24px;
  text-align: center;
  font-size: 1.1rem;
  color: rgba(200, 80, 30, 0.9);
}

[data-theme='dark'] .mobile-menu-nav .btn.theme-toggle i {
  color: rgba(220, 90, 40, 1);
}

/* Mobile menu nav button styles */
.mobile-menu-nav .btn.primary {
  background-color: rgba(200, 80, 30, 0.15);
  border-color: rgba(200, 80, 30, 0.3);
  color: #212529;
  color: var(--text-primary);
}

.mobile-menu-nav .btn.primary:hover {
  background-color: rgba(200, 80, 30, 0.25);
  border-color: rgba(200, 80, 30, 0.4);
}

.mobile-menu-nav .btn.secondary {
  background-color: rgba(200, 80, 30, 0.9);
  color: white;
  border: none;
}

.mobile-menu-nav .btn.secondary:hover {
  background-color: rgba(200, 80, 30, 1);
}

/* Icon styles for theme toggle in mobile menu */
.mobile-menu-nav .btn.theme-toggle i {
  margin-right: 12px;
  width: 24px;
  text-align: center;
  font-size: 1.1rem;
  color: #333; /* Default dark color for light theme */
  transition: color 0.3s ease;
}

[data-theme='dark'] .mobile-menu-nav .btn.theme-toggle i {
  color: #ffffff; /* White color for dark theme */
}

/* Light theme hover effect */
[data-theme='light'] .mobile-menu-nav .btn.theme-toggle:hover i {
  color: rgba(200, 80, 30, 1); /* Keep orange color only on hover */
}

/* Dark theme hover effect */
[data-theme='dark'] .mobile-menu-nav .btn.theme-toggle:hover i {
  color: rgba(220, 90, 40, 1); /* Keep orange color only on hover */
}

/* Profile Sections Styling */
.profile-section {
  background-color: #ffffff;
  background-color: var(--card-bg);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

[data-theme='dark'] .profile-section {
  background-color: #2d2d38;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.profile-section h2 {
  font-size: 1.5rem;
  color: #212529;
  color: var(--text-primary);
  margin: 0 0 20px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(200, 80, 30, 0.3);
}

/* Photos Section */
.photos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  grid-gap: 20px;
  gap: 20px;
  margin-top: 20px;
}

.photo-placeholder {
  background-color: #f8f9fa;
  background-color: var(--bg-secondary);
  border-radius: 12px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6c757d;
  color: var(--text-secondary);
  font-size: 0.9rem;
  text-align: center;
  padding: 20px;
}

[data-theme='dark'] .photo-placeholder {
  background-color: #36393f;
}

/* YouTube Video Section */
.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  margin-top: 20px;
}

.video-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #f8f9fa;
  background-color: var(--bg-secondary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6c757d;
  color: var(--text-secondary);
  font-size: 0.9rem;
  text-align: center;
  padding: 20px;
}

[data-theme='dark'] .video-placeholder {
  background-color: #36393f;
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  grid-gap: 15px;
  gap: 15px;
  margin-top: 20px;
}

.contact-item {
  background-color: #f8f9fa;
  background-color: var(--bg-secondary);
  border-radius: 12px;
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

[data-theme='dark'] .contact-item {
  background-color: #36393f;
}

.contact-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-item i {
  font-size: 1.2rem;
  color: rgba(200, 80, 30, 0.9);
  width: 24px;
  text-align: center;
}

.contact-item span {
  color: #212529;
  color: var(--text-primary);
  font-size: 0.95rem;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
  .profile-section h2 {
    font-size: 1.4rem;
  }

  .photos-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
  }

  .contact-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }
}

@media (max-width: 992px) {
  .profile-section {
    padding: 15px;
    margin-bottom: 25px;
  }

  .profile-section h2 {
    font-size: 1.3rem;
    margin-bottom: 15px;
  }

  .photos-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
  }

  .contact-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
  }
}

@media (max-width: 768px) {
  .profile-section {
    padding: 12px;
    margin-bottom: 20px;
  }

  .profile-section h2 {
    font-size: 1.2rem;
    margin-bottom: 12px;
  }

  .photos-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
  }

  .contact-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
  }

  .contact-item {
    padding: 12px;
  }

  .contact-item i {
    font-size: 1.1rem;
  }

  .contact-item span {
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .profile-section {
    padding: 10px;
    margin-bottom: 15px;
  }

  .profile-section h2 {
    font-size: 1.1rem;
    margin-bottom: 10px;
  }

  .photos-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 8px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .contact-item {
    padding: 10px;
  }

  .contact-item i {
    font-size: 1rem;
  }

  .contact-item span {
    font-size: 0.85rem;
  }

  .photo-placeholder,
  .video-placeholder {
    font-size: 0.8rem;
    padding: 15px;
  }
}

/* Search section with minimal spacing */
.search-section {
  background: transparent;
  padding: 8px 15px;
  text-align: center;
  margin: 5px auto 10px;
  max-width: 800px;
  position: relative;
  overflow: visible;
  box-shadow: none;
}

.search-section h2 {
  font-size: 1.4rem;
  margin: 0 0 8px 0;
  color: #212529;
  color: var(--text-primary);
  font-weight: 600;
}

/* Main content adjustments */
.home-page .main-content {
  padding-top: 10px;
}

/* First category section margin adjustment */
.home-page .category-section:first-child {
  margin-top: 10px;
}

/* Mobile menu link and text color fixes */
.mobile-menu-container a {
  text-decoration: none;
  color: #212529;
  color: var(--text-primary);
}

.mobile-menu-nav a {
  text-decoration: none;
  color: #212529;
  color: var(--text-primary);
}

.mobile-category-list a {
  text-decoration: none;
  color: #212529;
  color: var(--text-primary);
}

.mobile-category-item {
  text-decoration: none;
  color: #ffffff;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.mobile-menu-nav .btn {
  text-decoration: none;
  color: #212529;
  color: var(--text-primary);
}

/* Override any default link colors in mobile menu */
.mobile-menu-container *:any-link {
  color: #212529;
  color: var(--text-primary);
}

[data-theme='dark'] .mobile-menu-container a,
[data-theme='dark'] .mobile-menu-nav a,
[data-theme='dark'] .mobile-category-list a,
[data-theme='dark'] .mobile-category-item,
[data-theme='dark'] .mobile-menu-nav .btn {
  color: #212529;
  color: var(--text-primary);
}

/* Special styling for active/hover states */
.mobile-category-item:hover,
.mobile-menu-nav .btn:hover {
  color: #ffffff;
}

.mobile-category-item.active {
  background-color: rgba(250, 120, 70, 1);
  color: #ffffff;
}

/* Mobile menu hover state fixes */
.mobile-menu-container a:hover,
.mobile-menu-nav a:hover,
.mobile-category-list a:hover,
.mobile-category-item:hover,
.mobile-menu-nav .btn:hover {
  color: rgba(220, 90, 40, 1) !important;
  text-decoration: none;
}

[data-theme='dark'] .mobile-menu-container a:hover,
[data-theme='dark'] .mobile-menu-nav a:hover,
[data-theme='dark'] .mobile-category-list a:hover,
[data-theme='dark'] .mobile-category-item:hover,
[data-theme='dark'] .mobile-menu-nav .btn:hover {
  color: rgba(220, 90, 40, 1) !important;
  text-decoration: none;
}

/* Active state should override hover */
.mobile-category-item.active,
.mobile-category-item.active:hover,
[data-theme='dark'] .mobile-category-item.active,
[data-theme='dark'] .mobile-category-item.active:hover {
  background-color: rgba(240, 100, 50, 1);
  color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  border: none;
}

/* Override any remaining default link colors */
.mobile-menu-container *:any-link:hover {
  color: rgba(220, 90, 40, 1) !important;
}

[data-theme='dark'] .mobile-menu-container *:any-link:hover {
  color: rgba(220, 90, 40, 1) !important;
}

/* Work request button icon color */
.work-request-btn i {
    margin-right: 5px;
    color: rgba(180,70,25,255) !important;
}

[data-theme='dark'] .work-request-btn i {
    color: rgba(180,70,25,255) !important;
}

/* Work request button styles */
.work-request-btn {
    background-color: rgba(180,70,25,255) !important;
    color: white !important;
    border: none !important;
    padding: 8px 15px !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
}

.work-request-btn:hover {
    background-color: rgba(200,80,30,255) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;
}

[data-theme='dark'] .work-request-btn {
    background-color: #2d2d38 !important;
    border: 1px solid #444 !important;
    color: white !important;
}

[data-theme='dark'] .work-request-btn:hover {
    background-color: rgba(180,70,25,255) !important;
    border-color: rgba(180,70,25,255) !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3) !important;
}

/* Work request and favorite button styles */
.work-request-btn, .favorite-btn {
    background-color: rgba(180,70,25,255) !important;
    color: white !important;
    border: none !important;
    padding: 8px 15px !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    margin-top: 10px !important;
}

.work-request-btn:hover, .favorite-btn:hover {
    background-color: rgba(200,80,30,255) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;
}

[data-theme='dark'] .work-request-btn, [data-theme='dark'] .favorite-btn {
    background-color: #2d2d38 !important;
    border: 1px solid #444 !important;
    color: white !important;
}

[data-theme='dark'] .work-request-btn:hover, [data-theme='dark'] .favorite-btn:hover {
    background-color: rgba(180,70,25,255) !important;
    border-color: rgba(180,70,25,255) !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3) !important;
}

/* Make icons white */
.work-request-btn i, .favorite-btn i {
    color: white !important;
}

/* Common button styles for all main buttons */
.theme-toggle,
.btn.logout,
.btn.edit-profile,
.btn.save-profile,
.btn.select-photo,
.btn.upload-photo,
.btn.primary,
.btn.secondary,
.cancel-button,
.change-photo,
.upload-photo {
    background-color: rgba(180,70,25,255) !important;
    color: white !important;
    border: none !important;
    padding: 8px 16px !important;
    border-radius: 20px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
}

.theme-toggle:hover,
.btn.logout:hover,
.btn.edit-profile:hover,
.btn.save-profile:hover,
.btn.select-photo:hover,
.btn.upload-photo:hover,
.btn.primary:hover,
.btn.secondary:hover,
.cancel-button:hover,
.change-photo:hover,
.upload-photo:hover {
    background-color: rgba(200,80,30,255) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;
}

/* Dark theme adjustments */
[data-theme='dark'] .theme-toggle,
[data-theme='dark'] .btn.logout,
[data-theme='dark'] .btn.edit-profile,
[data-theme='dark'] .btn.save-profile,
[data-theme='dark'] .btn.select-photo,
[data-theme='dark'] .btn.upload-photo,
[data-theme='dark'] .btn.primary,
[data-theme='dark'] .btn.secondary,
[data-theme='dark'] .cancel-button,
[data-theme='dark'] .change-photo,
[data-theme='dark'] .upload-photo {
    background-color: rgba(180,70,25,255) !important;
    color: white !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2) !important;
}

[data-theme='dark'] .theme-toggle:hover,
[data-theme='dark'] .btn.logout:hover,
[data-theme='dark'] .btn.edit-profile:hover,
[data-theme='dark'] .btn.save-profile:hover,
[data-theme='dark'] .btn.select-photo:hover,
[data-theme='dark'] .btn.upload-photo:hover,
[data-theme='dark'] .btn.primary:hover,
[data-theme='dark'] .btn.secondary:hover,
[data-theme='dark'] .cancel-button:hover,
[data-theme='dark'] .change-photo:hover,
[data-theme='dark'] .upload-photo:hover {
    background-color: rgba(200,80,30,255) !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3) !important;
}

/* Make all button icons white */
.theme-toggle i,
.btn.logout i,
.btn.edit-profile i,
.btn.save-profile i,
.btn.select-photo i,
.btn.upload-photo i,
.btn.primary i,
.btn.secondary i,
.cancel-button i,
.change-photo i,
.upload-photo i {
    color: white !important;
}

/* Override photo-update-button styles to match other buttons */
.photo-update-button,
.photo-update-button button {
    background-color: rgba(180,70,25,255) !important;
    color: white !important;
    border: none !important;
    padding: 8px 16px !important;
    border-radius: 20px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    position: relative !important;
    width: auto !important;
    height: auto !important;
    box-shadow: none !important;
}

.photo-update-button:hover,
.photo-update-button button:hover {
    background-color: transparent !important;
    background: transparent !important;
    background-image: none !important;
    transform: translateY(-2px) !important;
    box-shadow: none !important;
}

[data-theme='dark'] .photo-update-button,
[data-theme='dark'] .photo-update-button button {
    background-color: rgba(180,70,25,255) !important;
    color: white !important;
}

[data-theme='dark'] .photo-update-button:hover,
[data-theme='dark'] .photo-update-button button:hover {
    background-color: transparent !important;
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
}

/* Make all button icons white */
.photo-update-button i,
.photo-update-button button i {
    color: white !important;
}

/* Save button - Green */
.btn.save-profile,
button.save-profile,
.save-button,
button.save-button,
.btn.primary.save-button {
    background-color: #28a745 !important; /* Green color */
    color: white !important;
    border: none !important;
    padding: 8px 16px !important;
    border-radius: 20px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
}

.btn.save-profile:hover,
button.save-profile:hover,
.save-button:hover,
button.save-button:hover,
.btn.primary.save-button:hover {
    background-color: #218838 !important; /* Darker green on hover */
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;
}

/* Dark theme adjustments */
[data-theme='dark'] .btn.save-profile,
[data-theme='dark'] button.save-profile,
[data-theme='dark'] .save-button,
[data-theme='dark'] button.save-button,
[data-theme='dark'] .btn.primary.save-button {
    background-color: #28a745 !important;
    color: white !important;
}

[data-theme='dark'] .btn.save-profile:hover,
[data-theme='dark'] button.save-profile:hover,
[data-theme='dark'] .save-button:hover,
[data-theme='dark'] button.save-button:hover,
[data-theme='dark'] .btn.primary.save-button:hover {
    background-color: #218838 !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3) !important;
}

/* Cancel button - Red */
.btn.cancel-button,
button.cancel-button,
.cancel-button,
.btn.secondary.cancel-button {
    background-color: #dc3545 !important; /* Red color */
    color: white !important;
    border: none !important;
    padding: 8px 16px !important;
    border-radius: 20px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
}

.btn.cancel-button:hover,
button.cancel-button:hover,
.cancel-button:hover,
.btn.secondary.cancel-button:hover {
    background-color: #c82333 !important; /* Darker red on hover */
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;
}

/* Dark theme adjustments */
[data-theme='dark'] .btn.save-profile,
[data-theme='dark'] button.save-profile,
[data-theme='dark'] .save-button,
[data-theme='dark'] button.save-button {
    background-color: #28a745 !important;
    color: white !important;
}

[data-theme='dark'] .btn.save-profile:hover,
[data-theme='dark'] button.save-profile:hover,
[data-theme='dark'] .save-button:hover,
[data-theme='dark'] button.save-button:hover {
    background-color: #218838 !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3) !important;
}

[data-theme='dark'] .btn.cancel-button,
[data-theme='dark'] button.cancel-button,
[data-theme='dark'] .cancel-button,
[data-theme='dark'] .btn.secondary.cancel-button {
    background-color: #dc3545 !important;
    color: white !important;
}

[data-theme='dark'] .btn.cancel-button:hover,
[data-theme='dark'] button.cancel-button:hover,
[data-theme='dark'] .cancel-button:hover,
[data-theme='dark'] .btn.secondary.cancel-button:hover {
    background-color: #c82333 !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3) !important;
}

/* Override photo-update-button styles to make it more compact */
.photo-update-button {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    margin-top: 10px !important;
    position: relative !important;
    width: 100% !important;
    max-width: 200px !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    padding: 0 !important;
    box-shadow: none !important;
    border: none !important;
    overflow: visible !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Make sure the photo-update-button parent is transparent everywhere */
div.photo-update-button,
.photo-update-button.photo-update-button,
div[class^="photo-update-button"],
div[class*=" photo-update-button"] {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    border: none !important;
}

/* Button group with transparent background */
.photo-button-group {
    display: flex !important;
    gap: 8px !important;
    justify-content: center !important;
    background-color: transparent !important;
    background-image: none !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    margin: 0 !important;
    overflow: hidden !important;
    position: relative !important;
    z-index: 1 !important;
    flex-wrap: wrap !important;
}

/* Base button styles */
.photo-update-button button {
    padding: 6px 12px !important;
    font-size: 0.85rem !important;
    border-radius: 20px !important;
    width: auto !important;
    min-width: 100px !important;
    max-width: 100% !important;
    margin: 0 !important;
    color: white !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15) !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    z-index: 2 !important;
    flex: 1 1 !important;
}

/* Button color styles */
.photo-update-button button.change-photo {
    background-color: rgba(180,70,25,255) !important; /* Orange */
}

.photo-update-button button.upload-photo {
    background-color: #28a745 !important; /* Green */
}

.photo-update-button button.cancel-button {
    background-color: #dc3545 !important; /* Red */
}

/* Hover states */
.photo-update-button button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;
}

.photo-update-button button.change-photo:hover {
    background-color: rgba(200,80,30,255) !important; /* Darker orange */
}

.photo-update-button button.upload-photo:hover {
    background-color: #218838 !important; /* Darker green */
}

.photo-update-button button.cancel-button:hover {
    background-color: #c82333 !important; /* Darker red */
}

/* Dark theme styles */
[data-theme='dark'] .photo-update-button button {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}

[data-theme='dark'] .photo-update-button button:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4) !important;
}

/* Button icon colors */
.photo-update-button button i {
    color: white !important;
}

/* Hide main navigation when mobile menu is open */
.mobile-menu-open .main-nav {
  display: none;
}

/* Mobile menu container styles */
.mobile-menu-container {
  position: fixed;
  top: 0;
  right: -320px;
  width: 320px;
  height: 100%;
  background-color: #ffffff;
  background-color: var(--bg-primary);
  z-index: 2000;
  padding: 20px 20px;
  box-shadow: -5px 0 20px rgba(0, 0, 0, 0.25);
  transition: right 0.3s ease;
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.mobile-menu-container-left {
  left: -320px;
  right: auto;
  transition: left 0.3s ease;
  z-index: 2001;
  width: auto;
  max-width: 260px;
  min-width: 220px;
  padding: 20px 20px;
  overflow-x: hidden;
  overflow-y: auto;
  margin: 0;
}

.mobile-menu-open .mobile-menu-container {
  right: 0;
  visibility: visible;
  opacity: 1;
}

.mobile-menu-open-left .mobile-menu-container-left {
  left: 0;
  visibility: visible;
  opacity: 1;
}

/* Adjust mobile menu overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.65);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
  -webkit-backdrop-filter: blur(2px);
          backdrop-filter: blur(2px);
}

.mobile-menu-open .mobile-menu-overlay {
  opacity: 1;
  visibility: visible;
}

/* Left menu toggle button */
.menu-toggle-btn-left {
  background: transparent;
  border: none;
  color: #212529;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  position: absolute;
  left: 15px; /* Position further left */
  top: 50%;
  transform: translateY(-50%);
  z-index: 25;
}

.menu-toggle-btn-left:hover {
  background-color: rgba(200, 80, 30, 0.1);
  color: rgba(200, 80, 30, 1);
  transform: translateY(-50%) scale(1.1);
}

/* Mobile menu visibility */
@media (max-width: 768px) {
  .main-nav {
    display: block;
  }
  
  .mobile-menu-open .main-nav,
  .mobile-menu-open-left .main-nav {
    display: none !important;
  }
  
  /* Make room for left menu toggle button */
  .header {
    padding: 0 60px;
  }
}

/* Social media links at bottom of right menu */
.mobile-menu-social {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid #dee2e6;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.mobile-menu-social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f8f9fa;
  background-color: var(--bg-secondary);
  color: #212529;
  color: var(--text-primary);
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.mobile-menu-social a:hover {
  transform: translateY(-3px);
  color: #ffffff !important;
}

.mobile-menu-social .email:hover {
  background-color: #EA4335;
}

.mobile-menu-social .twitter:hover {
  background-color: #1DA1F2;
}

.mobile-menu-social .telegram:hover {
  background-color: #0088cc;
}

.mobile-menu-social .instagram:hover {
  background-color: #E1306C;
}

/* Strengthen the divider under headers */
.mobile-menu-header {
  position: relative;
  margin-bottom: 30px;
  padding-bottom: 15px;
}

.mobile-menu-header:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    to right,
    rgba(200, 80, 30, 0.1) 0%,
    rgba(200, 80, 30, 0.8) 50%,
    rgba(200, 80, 30, 0.1) 100%
  );
}

/* Center text in right menu buttons */
.mobile-menu-nav .btn {
  text-align: center;
  justify-content: center;
}

.mobile-menu-nav .btn i {
  margin-right: 8px;
}

/* Mobile header adjustments */
@media (max-width: 768px) {
  .header {
    padding: 0 60px;
  }
  
  /* Only hide theme toggle in portrait mode */
  @media (orientation: portrait) {
    .theme-toggle:not(.mobile-menu-nav .btn.theme-toggle) {
      display: none !important; /* Hide the theme toggle in header on mobile portrait */
    }
  }
  
  /* Show theme toggle in landscape mode */
  @media (orientation: landscape) {
    .theme-toggle:not(.mobile-menu-nav .btn.theme-toggle) {
      display: flex !important; /* Show theme toggle in header on mobile landscape */
    }
  }
  
  .nav-buttons {
    margin-right: 0;
    right: 0;
  }
}

/* Mobile menu headers with consistent dividers */
.mobile-menu-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: none;
}

.mobile-menu-header:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    to right,
    rgba(200, 80, 30, 0.1) 0%,
    rgba(200, 80, 30, 0.8) 50%,
    rgba(200, 80, 30, 0.1) 100%
  );
}

/* Center buttons in right menu */
.mobile-menu-nav .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 15px;
}

.mobile-menu-nav .btn i {
  margin-right: 10px;
  width: auto;
  flex-shrink: 0;
}

.mobile-menu-nav .btn span {
  flex-grow: 0;
  text-align: center;
}

.btn.primary.work-request-btn {
  background-color: rgba(180,70,25,255) !important;
  color: white !important;
}

.btn.primary.work-request-btn:hover {
  background-color: rgba(200,80,35,255) !important;
  filter: brightness(1.1);
}

.btn.primary.work-request-btn i {
  color: white !important;
}

/* Left and right menu toggle buttons - standardized styles */
.menu-toggle-btn,
.menu-toggle-btn-left {
  background: transparent;
  border: none;
  color: #212529;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 25;
}

.menu-toggle-btn {
  right: 15px;
}

.menu-toggle-btn-left {
  left: 15px;
}

.menu-toggle-btn:hover,
.menu-toggle-btn-left:hover {
  background-color: rgba(200, 80, 30, 0.1);
  color: rgba(200, 80, 30, 1);
  transform: translateY(-50%) scale(1.1);
}

[data-theme='dark'] .menu-toggle-btn:hover,
[data-theme='dark'] .menu-toggle-btn-left:hover {
  background-color: rgba(200, 80, 30, 0.2);
}

/* Make mobile menu overlay cover the entire screen properly */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.65);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
  -webkit-backdrop-filter: blur(2px);
          backdrop-filter: blur(2px);
}

.mobile-menu-open .mobile-menu-overlay,
.mobile-menu-open-left .mobile-menu-overlay {
  opacity: 1;
  visibility: visible;
}

/* Ensure mobile menu opens correctly with proper visibility */
.mobile-menu-container {
  position: fixed;
  top: 0;
  right: -320px;
  width: 320px;
  height: 100%;
  background-color: #ffffff;
  background-color: var(--bg-primary);
  z-index: 2000;
  padding: 20px 20px;
  box-shadow: -5px 0 20px rgba(0, 0, 0, 0.25);
  transition: right 0.3s ease;
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.mobile-menu-container-left {
  left: -320px;
  right: auto;
  transition: left 0.3s ease;
  z-index: 2001;
  width: auto;
  max-width: 260px;
  min-width: 220px;
  padding: 20px 20px;
  overflow-x: hidden;
  overflow-y: auto;
  margin: 0;
}

.mobile-menu-open .mobile-menu-container {
  right: 0;
  visibility: visible;
  opacity: 1;
}

.mobile-menu-open-left .mobile-menu-container-left {
  left: 0;
  visibility: visible;
  opacity: 1;
}

/* Hide menu toggle buttons and show regular nav on tablets and landscape phones */
@media (min-width: 768px), 
       (max-width: 767px) and (orientation: landscape) {
  /* Show regular nav buttons group */
  .nav-buttons-group {
    display: flex !important;
  }
  
  /* Hide hamburger menu buttons */
  .nav-menu-toggle {
    display: none !important;
  }
  
  .menu-toggle-btn-left {
    display: none !important;
  }
  
  .menu-toggle-btn {
    display: none !important;
  }
  
  /* Adjust header padding to normal */
  .header {
    padding: 0 20px !important;
  }
  
  /* Make sure main navigation is visible */
  .main-nav {
    display: block !important;
  }
  
  /* Close any open menus */
  .mobile-menu-open .mobile-menu-container,
  .mobile-menu-open-left .mobile-menu-container-left {
    visibility: hidden !important;
    opacity: 0 !important;
  }
  
  .mobile-menu-open .mobile-menu-overlay,
  .mobile-menu-open-left .mobile-menu-overlay {
    visibility: hidden !important;
    opacity: 0 !important;
  }
}

/* Only show hamburger menu on portrait phone orientation */
@media (max-width: 767px) and (orientation: portrait) {
  /* Show hamburger menu buttons */
  .nav-menu-toggle {
    display: flex !important;
  }
  
  .menu-toggle-btn {
    display: flex !important;
  }
  
  .menu-toggle-btn-left {
    display: flex !important;
  }
  
  /* Make room for hamburger buttons */
  .header {
    padding: 0 60px !important;
  }
  
  /* Hide regular navigation elements in mobile portrait */
  .nav-buttons-group {
    display: none !important;
  }
}

/* Make sure menus are properly closed on larger screens */
@media (min-width: 768px), (max-width: 767px) and (orientation: landscape) {
  /* Show regular nav buttons group on all other screens */
  .nav-buttons-group {
    display: flex !important;
  }
  
  /* Adjust header padding to normal */
  .header {
    padding: 0 20px !important;
  }
  
  /* Make sure main navigation is visible */
  .main-nav {
    display: block !important;
  }
  
  /* Close any open menus */
  .mobile-menu-open .mobile-menu-container,
  .mobile-menu-open-left .mobile-menu-container-left {
    visibility: hidden !important;
    opacity: 0 !important;
    right: -320px !important;
    left: -320px !important;
  }
  
  .mobile-menu-open .mobile-menu-overlay,
  .mobile-menu-open-left .mobile-menu-overlay {
    visibility: hidden !important;
    opacity: 0 !important;
  }
}

/* Adjust spacing between buttons on smaller screens */
@media (min-width: 768px) and (max-width: 992px) {
  .nav-buttons-group .btn {
    padding: 6px 8px;
    font-size: 0.85rem;
  }
  
  .nav-buttons-group {
    gap: 8px;
  }
}

/* Theme toggle visibility */
/* Show theme toggle in all cases except portrait mobile */
.theme-toggle:not(.mobile-menu-nav .btn.theme-toggle) {
  display: flex !important;
}

/* Hide theme toggle from header only on mobile portrait */
@media (max-width: 767px) and (orientation: portrait) {
  .theme-toggle:not(.mobile-menu-nav .btn.theme-toggle) {
    display: none !important;
  }
}

/*
 * IMPORTANT MOBILE MENU FIX
 * ------------------------
 * Hamburger menus should ONLY show on portrait phone orientation
 * and remain hidden on all other screen sizes.
 */

/* Hide hamburger menu buttons by default */
.menu-toggle-btn,
.menu-toggle-btn-left,
.nav-menu-toggle {
  display: none !important;
}

/* Only show hamburger menus on portrait phones */
@media (max-width: 767px) and (orientation: portrait) {
  .menu-toggle-btn,
  .menu-toggle-btn-left,
  .nav-menu-toggle {
    display: flex !important;
  }
  
  /* Make room for hamburger buttons */
  .header {
    padding: 0 60px !important;
  }
}

/* Reset existing media queries */
@media (min-width: 768px), (max-width: 767px) and (orientation: landscape) {
  .menu-toggle-btn,
  .menu-toggle-btn-left,
  .nav-menu-toggle {
    display: none !important;
  }
  
  /* Normal padding on desktop/landscape */
  .header {
    padding: 0 20px !important;
  }
  
  /* Close any open menus */
  .mobile-menu-open .mobile-menu-container,
  .mobile-menu-open-left .mobile-menu-container-left {
    visibility: hidden !important;
    opacity: 0 !important;
    right: -320px !important;
    left: -320px !important;
  }
  
  .mobile-menu-open .mobile-menu-overlay,
  .mobile-menu-open-left .mobile-menu-overlay {
    visibility: hidden !important;
    opacity: 0 !important;
  }
}

/* Header Theme toggle button */
.header-theme-toggle, #header-theme-button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffe066;
  border: none;
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, box-shadow 0.2s, transform 0.25s cubic-bezier(.4,2,.6,1), color 0.2s;
  margin-left: 8px;
  box-shadow: 0 0 0 3px rgba(255,224,102,0.13), 0 4px 16px rgba(255,224,102,0.18);
  position: relative;
  z-index: 20;
}
[data-theme='dark'] .header-theme-toggle, [data-theme='dark'] #header-theme-button {
  background: #f5cba7;
  color: #222;
  box-shadow: 0 0 0 3px rgba(245,203,167,0.13), 0 4px 16px rgba(245,203,167,0.18);
}
.header-theme-toggle:hover, #header-theme-button:hover {
  background: #fff3b0;
  color: #fff;
  transform: scale(1.12) rotate(-10deg);
  box-shadow: 0 0 0 5px rgba(255,243,176,0.18), 0 8px 32px rgba(255,243,176,0.22);
}
[data-theme='dark'] .header-theme-toggle:hover, [data-theme='dark'] #header-theme-button:hover {
  background: #f7b87e;
  color: #222;
  transform: scale(1.12) rotate(10deg);
  box-shadow: 0 0 0 5px rgba(247,184,126,0.18), 0 8px 32px rgba(247,184,126,0.22);
}
.header-theme-toggle:active, #header-theme-button:active {
  transform: scale(0.97) rotate(0deg);
}
.header-theme-toggle i, #header-theme-button i {
  transition: transform 0.35s cubic-bezier(.4,2,.6,1), color 0.2s;
}
.header-theme-toggle:hover i, #header-theme-button:hover i {
  transform: rotate(25deg) scale(1.15);
}

.favorite-heart-btn {
  transition: background 0.2s, box-shadow 0.2s, transform 0.25s cubic-bezier(.4,2,.6,1), color 0.2s;
  will-change: transform;
}
.favorite-heart-btn:hover {
  transform: scale(1.18) rotate(-8deg);
  box-shadow: 0 4px 16px rgba(220,90,40,0.13);
}
.favorite-heart-btn:active {
  transform: scale(0.92) rotate(0deg);
}
.favorite-heart-btn svg, .favorite-heart-btn i {
  transition: transform 0.35s cubic-bezier(.4,2,.6,1), color 0.2s;
  margin-right: 0;
}
.favorite-heart-btn:hover svg, .favorite-heart-btn:hover i {
  transform: scale(1.22) rotate(-15deg);
  color: #e74c3c !important;
}

@media (max-width: 600px) {
  .profile-card {
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }
  .profile-image-container {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto !important;
    width: 100% !important;
  }
  .profile-image {
    display: block !important;
    margin: 0 auto !important;
    position: static !important;
    left: auto !important;
    left: initial !important;
    top: auto !important;
    top: initial !important;
    transform: none !important;
    max-width: 90% !important;
    max-height: 90% !important;
  }
}

/* Force mobile-menu-header margin-bottom to 10px */
.mobile-menu-header {
  margin-bottom: 10px !important;
}

/* Generic mobile-menu-close button style (base) */
.mobile-menu-close {
  position: absolute;
  height: 32px;
  width: 32px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #212529;
  color: var(--text-primary);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 6px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

/* Specific styles for the RIGHT menu close button */
.mobile-menu-container:not(.mobile-menu-container-left) .mobile-menu-close {
  right: 15px;
}

/* Specific styles for the LEFT menu close button */
.mobile-menu-container-left .mobile-menu-close {
  left: 15px;
  top: 40%;
}

.mobile-menu-close:hover {
  background-color: rgba(200, 80, 30, 0.1);
  color: rgba(200, 80, 30, 1);
  transform: translateY(-50%) rotate(90deg);
}

.menu-toggle-btn i,
.menu-toggle-btn-left i {
  font-size: 1.5rem !important;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* .mobile-menu-container-left .mobile-menu-header {
  margin-top: 30px;
} */

.mobile-header-section {
  margin: 0;
  padding: 0;
}

/* Disable dark theme musical decorations in the content area but keep header decorations */
[data-theme='dark'] .home-page .note-1,
[data-theme='dark'] .home-page .note-2,
[data-theme='dark'] .home-page .note-3,
[data-theme='dark'] .home-page .note-4,
[data-theme='dark'] .home-page .note-5,
[data-theme='dark'] .home-page::before,
[data-theme='dark'] .home-page::after,
[data-theme='dark'] .home-page .main-content::before,
[data-theme='dark'] .home-page .main-content::after,
[data-theme='dark'] .home-page .category-section:nth-child(odd)::before,
[data-theme='dark'] .home-page .category-section:nth-child(even)::before {
  display: none !important;
}

/* Keep staff background in header for both themes */
.staff-background, 
[data-theme='dark'] .staff-background {
  opacity: 0.2;
  display: block !important;
}

[data-theme='dark'] .staff-background {
  opacity: 0.07;
}

/* Photo button responsive fixes for mobile devices */
@media (max-width: 768px) {
  .photo-update-button {
    max-width: 100% !important;
    margin-top: 15px !important;
  }
  
  .photo-button-group {
    gap: 10px !important;
    flex-direction: column !important;
    width: 100% !important;
  }
  
  .photo-update-button button {
    height: 48px !important;
    font-size: 1rem !important;
    padding: 10px 16px !important;
    min-width: 100% !important;
    width: 100% !important;
    margin-bottom: 5px !important;
    font-weight: 600 !important;
  }
  
  .photo-update-button button i {
    font-size: 1.1rem !important;
    margin-right: 8px !important;
  }
}

/* Additional fixes for iPhone and high-res devices */
@media (max-width: 576px) and (-webkit-min-device-pixel-ratio: 2), 
       (max-width: 576px) and (min-resolution: 192dpi) {
  .photo-update-button button {
    height: 52px !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    padding: 12px 20px !important;
    margin-bottom: 8px !important;
    border-radius: 25px !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2) !important;
  }
  
  .photo-button-group {
    gap: 12px !important;
    padding: 5px !important;
  }
  
  /* Ensure button text is readable on dark theme */
  [data-theme='dark'] .photo-update-button button {
    color: white !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4) !important;
  }
  
  /* Ensure icons are visible */
  .photo-update-button button i {
    font-size: 1.2rem !important;
    width: auto !important;
    height: auto !important;
    margin-right: 10px !important;
  }
}

/* Search result item styling */
.search-result-category {
  background-color: rgba(220, 88, 43, 0.05);
}

.search-result-category:hover {
  background-color: rgba(220, 88, 43, 0.1);
}

.search-result-meta {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.search-result-type {
  background-color: rgba(220, 88, 43, 0.8);
  color: white;
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 500;
  display: inline-block;
}

[data-theme='dark'] .search-result-category {
  background-color: rgba(220, 88, 43, 0.15);
}

[data-theme='dark'] .search-result-category:hover {
  background-color: rgba(220, 88, 43, 0.25);
}

[data-theme='dark'] .search-result-type {
  background-color: rgba(220, 88, 43, 0.9);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* KVKK uyumlu çerez bilgilendirme */
.kvkk-link {
  margin-left: 10px;
  font-size: 0.8rem;
  color: #007bff;
  color: var(--primary-color, #007bff);
  text-decoration: underline;
  cursor: pointer;
}



/*
 * MENU BUTTON POSITION FIX
 * -----------------------
 * This fixes the position of both menu toggle buttons to make them stay at the edges
 * of the screen and scroll properly with the content.
 */

/* Override the header layout to accommodate both menu buttons */
.header {
  display: flex !important;
  align-items: center !important;
  position: relative !important;
  justify-content: space-between !important;
  padding: 0 10px !important;
  z-index: 2000 !important;
}

/* Fix logo positioning in the center */
.logo {
  position: absolute !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  z-index: 30 !important;
  width: 150px !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Override the left menu button position */
.menu-toggle-btn-left {
  position: relative !important;
  transform: none !important;
  top: auto !important;
  margin: auto 0 !important;
  left: 0 !important;
  z-index: 2100 !important;
  padding-left: 0 !important;
  pointer-events: auto !important;
}

/* Override the right menu button position */
.menu-toggle-btn {
  position: relative !important;
  transform: none !important;
  top: auto !important;
  margin: auto 0 !important;
  right: 0 !important;
  z-index: 2100 !important;
  padding-right: 0 !important;
  pointer-events: auto !important;
}

/* Fix the hover states for both buttons */
.menu-toggle-btn:hover,
.menu-toggle-btn-left:hover {
  transform: scale(1.1) !important;
}

/* Fix nav buttons container position */
.nav-buttons {
  position: relative !important;
  right: 0 !important;
  display: flex !important;
  align-items: center !important;
}

/* Ensure menu toggle is displayed and properly positioned */
.nav-menu-toggle {
  display: flex !important;
  margin-left: auto !important;
}

/* These media query fixes ensure consistent behavior across screen sizes */
@media (max-width: 767px) and (orientation: portrait) {
  .header {
    padding: 0 10px !important;
  }
  
  .menu-toggle-btn-left {
    position: relative !important;
    transform: none !important;
    top: auto !important;
    margin: auto 0 !important;
    left: 0 !important;
    z-index: 2100 !important;
  }
  
  .menu-toggle-btn {
    position: relative !important;
    transform: none !important;
    top: auto !important;
    margin: auto 0 !important;
    right: 0 !important;
    z-index: 2100 !important;
  }
  
  .menu-toggle-btn:hover,
  .menu-toggle-btn-left:hover {
    transform: scale(1.1) !important;
  }
} 
:root {
  /* Colors */
  --primary-color: rgba(180,70,25,1);
  --primary-hover: rgba(150,50,15,1);
  --secondary-color: #2c3e50;
  --success-color: #28a745;
  --danger-color: #dc3545;
  --warning-color: #ffc107;
  --info-color: #17a2b8;
  --primary-color-rgb: 180, 70, 25; /* Primary color RGB değeri */
  
  /* Text Colors */
  --text-primary: #2c3e50;
  --text-secondary: #6c757d;
  --text-muted: #95a5a6;
  
  /* Background Colors */
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --bg-hover: #f0f2f5;
  
  /* Dark Theme Colors */
  --dark-bg-primary: #1a1a1a;
  --dark-bg-secondary: #2d2d2d;
  --dark-text-primary: #e0e0e0;
  --dark-text-secondary: #b0b0b0;
  
  /* Social Media Colors */
  --twitter-color: #1DA1F2;
  --facebook-color: #1877F2;
  --instagram-color: #E4405F;
  --youtube-color: #FF0000;
  --tiktok-color: #000000;
  
  /* Category Colors */
  --category-color: #2c3e50;
  --category-hover-color: #c85a28;
  --nav-bg: #ffffff;
  --border-color: #dee2e6;
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  
  /* Typography */
  --font-family-base: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  
  /* Border Radius */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 12px;
  --border-radius-xl: 16px;
  --border-radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
  
  /* Transitions */
  --transition-fast: 150ms;
  --transition-base: 300ms;
  --transition-slow: 500ms;
  --transition-timing: cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Z-index */
  --z-index-dropdown: 1000;
  --z-index-sticky: 1020;
  --z-index-fixed: 1030;
  --z-index-modal: 1040;
  --z-index-popover: 1050;
  --z-index-tooltip: 1060;
  --z-index-nav: 999;
  
  /* Grid */
  --container-max-width: 1200px;
  --grid-gutter: 1.5rem;
  --grid-columns: 12;
} 
/* Base Typography */
body {
    font-family: var(--font-family-base);
    font-size: var(--font-size-base);
    line-height: 1.5;
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: var(--spacing-md);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

/* Paragraphs */
p {
    margin-top: 0;
    margin-bottom: var(--spacing-md);
}

/* Links */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-base) var(--transition-timing);
}

a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

/* Lists */
ul, ol {
    margin-top: 0;
    margin-bottom: var(--spacing-md);
    padding-left: var(--spacing-lg);
}

/* Small Text */
small {
    font-size: var(--font-size-sm);
}

/* Text Emphasis */
strong {
    font-weight: 600;
}

em {
    font-style: italic;
}

/* Code */
code {
    font-family: monospace;
    font-size: 0.9em;
    color: var(--text-primary);
    background-color: var(--bg-secondary);
    padding: 0.2em 0.4em;
    border-radius: var(--border-radius-sm);
}

/* Blockquotes */
blockquote {
    margin: 0 0 var(--spacing-md);
    padding: var(--spacing-md) var(--spacing-lg);
    border-left: 4px solid var(--primary-color);
    background-color: var(--bg-secondary);
    font-style: italic;
}

blockquote p:last-child {
    margin-bottom: 0;
}

/* Selection */
::selection {
    background-color: var(--primary-color);
    color: white;
}

/* Dark Theme */
[data-theme='dark'] {
    color: var(--dark-text-primary);
}

[data-theme='dark'] h1,
[data-theme='dark'] h2,
[data-theme='dark'] h3,
[data-theme='dark'] h4,
[data-theme='dark'] h5,
[data-theme='dark'] h6 {
    color: var(--dark-text-primary);
}

[data-theme='dark'] a {
    color: var(--primary-color);
}

[data-theme='dark'] a:hover {
    color: var(--primary-hover);
}

[data-theme='dark'] code {
    background-color: var(--dark-bg-secondary);
    color: var(--dark-text-primary);
}

[data-theme='dark'] blockquote {
    background-color: var(--dark-bg-secondary);
}

/* Responsive Typography */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    h4 {
        font-size: 1.25rem;
    }
    
    h5 {
        font-size: 1.1rem;
    }
    
    h6 {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 0.9rem;
    }
    
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    h4 {
        font-size: 1.1rem;
    }
    
    h5, h6 {
        font-size: 1rem;
    }
} 
/* Display */
.d-none { display: none !important; }
.d-block { display: block !important; }
.d-flex { display: flex !important; }
.d-inline { display: inline !important; }
.d-inline-block { display: inline-block !important; }

/* Flex Utilities */
.flex-row { flex-direction: row !important; }
.flex-column { flex-direction: column !important; }
.flex-wrap { flex-wrap: wrap !important; }
.flex-nowrap { flex-wrap: nowrap !important; }
.flex-grow-1 { flex-grow: 1 !important; }
.flex-shrink-0 { flex-shrink: 0 !important; }

/* Alignment */
.align-items-center { align-items: center !important; }
.align-items-start { align-items: flex-start !important; }
.align-items-end { align-items: flex-end !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-between { justify-content: space-between !important; }
.justify-content-around { justify-content: space-around !important; }

/* Spacing */
.m-0 { margin: 0 !important; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.ml-0 { margin-left: 0 !important; }
.mr-0 { margin-right: 0 !important; }

.m-1 { margin: var(--spacing-xs) !important; }
.mt-1 { margin-top: var(--spacing-xs) !important; }
.mb-1 { margin-bottom: var(--spacing-xs) !important; }
.ml-1 { margin-left: var(--spacing-xs) !important; }
.mr-1 { margin-right: var(--spacing-xs) !important; }

.m-2 { margin: var(--spacing-sm) !important; }
.mt-2 { margin-top: var(--spacing-sm) !important; }
.mb-2 { margin-bottom: var(--spacing-sm) !important; }
.ml-2 { margin-left: var(--spacing-sm) !important; }
.mr-2 { margin-right: var(--spacing-sm) !important; }

.m-3 { margin: var(--spacing-md) !important; }
.mt-3 { margin-top: var(--spacing-md) !important; }
.mb-3 { margin-bottom: var(--spacing-md) !important; }
.ml-3 { margin-left: var(--spacing-md) !important; }
.mr-3 { margin-right: var(--spacing-md) !important; }

.m-4 { margin: var(--spacing-lg) !important; }
.mt-4 { margin-top: var(--spacing-lg) !important; }
.mb-4 { margin-bottom: var(--spacing-lg) !important; }
.ml-4 { margin-left: var(--spacing-lg) !important; }
.mr-4 { margin-right: var(--spacing-lg) !important; }

/* Padding utilities follow the same pattern */
.p-0 { padding: 0 !important; }
.pt-0 { padding-top: 0 !important; }
.pb-0 { padding-bottom: 0 !important; }
.pl-0 { padding-left: 0 !important; }
.pr-0 { padding-right: 0 !important; }

/* Text Utilities */
.text-center { text-align: center !important; }
.text-left { text-align: left !important; }
.text-right { text-align: right !important; }
.text-justify { text-align: justify !important; }

.text-primary { color: var(--primary-color) !important; }
.text-secondary { color: var(--text-secondary) !important; }
.text-success { color: var(--success-color) !important; }
.text-danger { color: var(--danger-color) !important; }
.text-warning { color: var(--warning-color) !important; }
.text-info { color: var(--info-color) !important; }

/* Font Weights */
.font-light { font-weight: 300 !important; }
.font-normal { font-weight: 400 !important; }
.font-medium { font-weight: 500 !important; }
.font-semibold { font-weight: 600 !important; }
.font-bold { font-weight: 700 !important; }

/* Borders */
.border { border: 1px solid var(--border-color) !important; }
.border-0 { border: 0 !important; }
.rounded { border-radius: var(--border-radius-md) !important; }
.rounded-lg { border-radius: var(--border-radius-lg) !important; }
.rounded-full { border-radius: var(--border-radius-full) !important; }

/* Position */
.position-relative { position: relative !important; }
.position-absolute { position: absolute !important; }
.position-fixed { position: fixed !important; }

/* Visibility */
.visible { visibility: visible !important; }
.invisible { visibility: hidden !important; }

/* Common Effects */
.shadow-sm { box-shadow: var(--shadow-sm) !important; }
.shadow-md { box-shadow: var(--shadow-md) !important; }
.shadow-lg { box-shadow: var(--shadow-lg) !important; }
.shadow-none { box-shadow: none !important; }

/* Transitions */
.transition-all { transition: all var(--transition-base) var(--transition-timing) !important; }
.transition-transform { transition: transform var(--transition-base) var(--transition-timing) !important; }
.transition-opacity { transition: opacity var(--transition-base) var(--transition-timing) !important; }

/* Hover Effects */
.hover-lift {
    transition: transform var(--transition-base) var(--transition-timing) !important;
}
.hover-lift:hover {
    transform: translateY(-2px) !important;
}

/* Grid */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--grid-gutter);
    padding-right: var(--grid-gutter);
}

/* Responsive Utilities */
@media (max-width: 768px) {
    .d-md-none { display: none !important; }
    .d-md-block { display: block !important; }
    .d-md-flex { display: flex !important; }
    .flex-md-row { flex-direction: row !important; }
    .flex-md-column { flex-direction: column !important; }
}

@media (max-width: 480px) {
    .d-sm-none { display: none !important; }
    .d-sm-block { display: block !important; }
    .d-sm-flex { display: flex !important; }
    .flex-sm-row { flex-direction: row !important; }
    .flex-sm-column { flex-direction: column !important; }
} 
/* Carousel animations */

/* Slide animation wrapper to handle overflow */
.profile-carousel {
  position: relative;
  overflow: hidden;
}

/* Slide animation for card transitions */
.profile-carousel-track {
  position: relative;
  transition: transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
  will-change: transform;
}

/* Container for simultaneous transitions */
.profile-carousel-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* Position styles for next/previous panels */
.profile-carousel-track.next-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transform: translateX(100%);
  z-index: 1;
}

.profile-carousel-track.prev-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transform: translateX(-100%);
  z-index: 1;
}

.profile-carousel-track.current-panel {
  position: relative;
  transform: translateX(0);
  z-index: 2;
}

/* Individual card animation (hover only) */
.profile-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

/* Enhanced sliding animations - simultaneous transitions */
@keyframes slideCurrentToLeft {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

@keyframes slideCurrentToRight {
  from { transform: translateX(0); }
  to { transform: translateX(100%); }
}

@keyframes slideNextFromRight {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

@keyframes slideNextFromLeft {
  from { transform: translateX(-100%); }
  to { transform: translateX(0); }
}

/* Animation classes for simultaneous sliding */
.profile-carousel-track.sliding-left {
  animation: slideCurrentToLeft 0.4s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}

.profile-carousel-track.sliding-right {
  animation: slideCurrentToRight 0.4s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}

.profile-carousel-track.sliding-in-from-right {
  animation: slideNextFromRight 0.4s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}

.profile-carousel-track.sliding-in-from-left {
  animation: slideNextFromLeft 0.4s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}

/* Carousel buttons animation */
.carousel-button {
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.carousel-button:hover {
  transform: scale(1.1);
}

.carousel-button:active {
  transform: scale(0.95);
} 
/* Profile Layout */
.profile-container {
    max-width: 1000px !important;
    width: 1000px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 24px !important;
    display: block !important;
    box-sizing: border-box !important;
    background: none !important;
}

.profile-left-section {
    width: 200px;
    flex-shrink: 0;
}

.profile-right-section {
    flex: 1 1;
    max-width: 100%;
    overflow-x: hidden;
}

.profile-section {
    width: 900px !important;
    max-width: 900px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    background: var(--bg-primary);
    margin-bottom: 2rem;
    padding: 1.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
}

/* Profile Title Structure */
.profile-title {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
    width: 100%;
    position: relative;
}

.profile-title-info {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* Name and Rating Layout */
.name-and-rating {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    height: 100px;
    position: relative;
    transition: all 0.3s ease;
}

/* Profile edit mode - add space for photo controls */
[data-own-profile="true"] .name-and-rating.edit-mode {
    padding-bottom: 70px; /* Space for the photo controls */
    position: relative;
    margin-bottom: 10px;
}

/* Container for photo controls in edit mode */
.profile-photo-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px dashed var(--border-color);
    transition: all 0.3s ease;
}

/* Modern profile photo selection button - Both themes */
.profile-photo-select {
    background: rgba(180, 70, 25, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(180, 70, 25, 0.15);
    border-radius: 16px;
    padding: 0.8rem 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: auto;
    min-width: 180px;
    font-weight: 500;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
    min-height: 48px;
    color: rgba(180, 70, 25, 1);
    margin: 0.5rem auto;
}

.profile-photo-select:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(180, 70, 25, 0.12);
    background: rgba(180, 70, 25, 0.15);
    border-color: rgba(180, 70, 25, 0.25);
}

.profile-photo-select i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    color: rgba(180, 70, 25, 1);
}

.profile-photo-select:hover i {
    transform: scale(1.05);
}

/* Dark theme - same as light theme */
[data-theme='dark'] .profile-photo-select {
    background: rgba(180, 70, 25, 0.1);
    border-color: rgba(180, 70, 25, 0.15);
    color: rgba(180, 70, 25, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

[data-theme='dark'] .profile-photo-select:hover {
    background: rgba(180, 70, 25, 0.15);
    border-color: rgba(180, 70, 25, 0.25);
    box-shadow: 0 6px 16px rgba(180, 70, 25, 0.12);
}

[data-theme='dark'] .profile-photo-select i {
    color: rgba(180, 70, 25, 1);
}

/* Responsive styles */
@media (max-width: 430px) {
    .profile-photo-select {
        padding: 0.7rem 1rem;
        min-width: 160px;
        font-size: 0.9rem;
        border-radius: 12px;
        min-height: 44px;
        background: rgba(180, 70, 25, 0.08);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    }

    [data-theme='dark'] .profile-photo-select {
        background: rgba(255, 255, 255, 0.08);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }

    .profile-photo-select i {
        font-size: 1.1rem;
    }

    .profile-photo-controls {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        padding: 0.75rem 0;
        border-top: 1px solid rgba(180, 70, 25, 0.1);
    }

    [data-theme='dark'] .profile-photo-controls {
        border-top-color: rgba(255, 255, 255, 0.1);
    }

    .photo-action-buttons {
        display: flex;
        justify-content: center;
        gap: 1rem;
    }
}

/* Style for photo upload and cancel buttons (visible after selection) */
.photo-action-buttons {
    display: flex;
    width: 100%;
    gap: 0.7rem;
    justify-content: center;
}

.profile-photo-upload-btn, 
.profile-photo-cancel-btn {
    width: 40px;
    min-width: 40px;
    max-width: 40px;
    height: 40px;
    min-height: 40px;
    max-height: 40px;
    border-radius: 50%;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    font-weight: 500;
    font-size: 0.95rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.profile-photo-upload-btn {
    background-color: #22c55e;
    background-color: var(--success-color, #22c55e);
    color: white;
    border: none;
}

.profile-photo-cancel-btn {
    background-color: #e74c3c;
    background-color: var(--danger-color, #e74c3c);
    color: white;
    border: none;
}

.profile-photo-upload-btn span, 
.profile-photo-cancel-btn span {
    display: none;
}

.profile-photo-upload-btn i,
.profile-photo-cancel-btn i {
    font-size: 1.2rem;
    margin: 0;
    transition: transform 0.2s ease;
}

.profile-photo-upload-btn:hover {
    background-color: #16a34a;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.profile-photo-upload-btn:hover i {
    transform: scale(1.05);
}

.profile-photo-cancel-btn:hover {
    background-color: #c0392b;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.profile-photo-cancel-btn:hover i {
    transform: scale(1.05);
}

/* Loading spinner */
.profile-photo-upload-btn.loading {
    pointer-events: none;
    position: relative;
    overflow: hidden;
}

.profile-photo-upload-btn.loading i {
    animation: spin 1s linear infinite;
    transform: scale(1);
}

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

/* Responsive adjustments */
@media (max-width: 430px) {
    .photo-action-buttons {
        gap: 1rem;
    }

    .profile-photo-upload-btn, 
    .profile-photo-cancel-btn {
        width: 36px;
        min-width: 36px;
        max-width: 36px;
        height: 36px;
        min-height: 36px;
        max-height: 36px;
    }

    .profile-photo-upload-btn i,
    .profile-photo-cancel-btn i {
        font-size: 1.1rem;
    }
}

.name-and-rating h1,
.name-and-rating .approved-work-count {
    align-self: flex-start;
}

.work-stats-container {
    display: flex;
    align-items: center;
    order: 2;
}

.approved-work-count {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    background-color: var(--bg-secondary);
    border-radius: 20px;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.approved-work-count:hover {
    background-color: var(--bg-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.approved-icon {
    color: var(--success-color);
    font-size: 1rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .profile-container {
        flex-direction: column;
    }
    
    .profile-left-section {
        width: 100%;
    }
    
    .name-and-rating {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        height: auto;
    }
    
    .name-and-rating h1, 
    .rating-summary, 
    .work-stats-container {
        order: 0;
    }
    
    /* Adjust edit mode spacing for mobile */
    [data-own-profile="true"] .name-and-rating.edit-mode {
        padding-bottom: 110px; /* More space on mobile */
    }
    
    /* Stack photo controls vertically on mobile */
    .profile-photo-controls {
        flex-direction: column;
        align-items: stretch;
        padding-top: 1rem;
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .profile-section {
        padding: 1rem;
    }
    .name-and-rating {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.3rem !important;
        height: auto !important;
    }
    .name-and-rating h1 {
        margin-bottom: 0.2rem !important;
    }
    .approved-work-count {
        align-self: flex-start !important;
        margin-top: 0 !important;
        margin-bottom: 0.2rem !important;
        order: 2 !important;
    }
    
    /* Further adjust edit mode spacing for smaller screens */
    [data-own-profile="true"] .name-and-rating.edit-mode {
        padding-bottom: 130px; /* Even more space on small screens */
    }
    
    /* Make photo controls full width on mobile */
    .profile-photo-controls {
        width: 100%;
        padding: 0.5rem 0;
    }
    
    /* Full width buttons on small screens */
    .profile-photo-select,
    .photo-action-buttons,
    .profile-photo-upload-btn,
    .profile-photo-cancel-btn {
        width: 100%;
        justify-content: center;
        padding: 0.7rem 1rem;
        font-size: 0.95rem;
    }
}

/* Profile Container */
.profile-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    grid-gap: var(--spacing-lg);
    gap: var(--spacing-lg);
    max-width: var(--container-max-width);
    margin: 0 auto 0 calc(50% - 750px);
    padding: var(--spacing-lg);
    align-items: start;
    position: relative;
}

/* Profile Sections */
.profile-photo-section,
.profile-section {
    background-color: var(--bg-primary);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    width: 100%;
}

.profile-photo-section {
    width: 150px;
    min-width: 150px;
    max-width: 150px;
    height: 150px;
    flex-shrink: 0;
    position: static;
    padding: 0;
    overflow: visible !important;
}

.profile-section {
    margin-top: 0;
    transform: translateX(0);
    position: relative;
}

/* Profile Info */
.profile-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.info-item {
    padding: var(--spacing-md);
    background-color: var(--bg-secondary);
    border-radius: var(--border-radius-md);
    transition: all var(--transition-base) var(--transition-timing);
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.info-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* Info item variations */
.info-item.bio-item,
.info-item.categories-item,
.info-item.youtube-item,
.info-item.social-item,
.info-item.contact-info-item {
    margin-top: var(--spacing-xl);
}

/* Section dividers */
.section-divider {
    height: 1px;
    background-color: var(--border-color);
    margin: var(--spacing-xl) 0;
    opacity: 0.5;
}

[data-theme='dark'] .section-divider {
    background-color: var(--dark-border-color);
}

/* Better spacing for groups of elements */
.profile-buttons-group {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
    flex-wrap: wrap;
}

.form-group + .form-group,
.info-item + .info-item {
    margin-top: var(--spacing-xl);
}

/* Prevent content overlap */
.info-label,
.info-value {
    width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.info-label {
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    color: var(--text-primary);
    font-size: var(--font-size-base);
    line-height: 1.5;
}

/* Dark Theme */
[data-theme='dark'] .profile-photo-section,
[data-theme='dark'] .profile-section {
    background-color: var(--dark-bg-primary);
}

[data-theme='dark'] .info-item {
    background-color: var(--dark-bg-secondary);
}

[data-theme='dark'] .info-label {
    color: var(--dark-text-secondary);
}

[data-theme='dark'] .info-value {
    color: var(--dark-text-primary);
}

/* Responsive Layout */
@media (max-width: 1200px) {
    .profile-container {
        max-width: 98vw;
        padding: 12px;
    }
}

@media (max-width: 768px) {
    .profile-container {
        max-width: 100vw;
        padding: 8px;
    }

    .profile-photo-section {
        min-width: 0;
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    .profile-photo-section,
    .profile-section {
        padding: var(--spacing-md);
    }

    .info-item {
        padding: var(--spacing-sm);
    }
    
    .info-item.bio-item,
    .info-item.categories-item,
    .info-item.youtube-item,
    .info-item.social-item,
    .info-item.contact-info-item {
        margin-top: var(--spacing-lg);
    }
    
    .form-group + .form-group,
    .info-item + .info-item {
        margin-top: var(--spacing-lg);
    }
}

@media (max-width: 480px) {
    .profile-container {
        padding: var(--spacing-xs);
    }

    .profile-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 1rem !important;
        position: relative !important;
        width: 100% !important;
    }
    .profile-photo-row {
        min-width: 0 !important;
        max-width: 30vw !important;
        width: 30vw !important;
        margin-bottom: 1rem !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        flex-direction: column !important;
        gap: 0.5rem !important;
    }
    .profile-photo {
        width: 100% !important;
        height: auto !important;
        min-width: 0 !important;
        max-width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        margin: 0 auto !important;
    }
    .profile-photo img,
    .profile-photo .profile-image,
    .profile-photo .profile-image.loaded {
        width: 100% !important;
        height: auto !important;
        max-width: 100% !important;
        max-height: 100% !important;
        min-width: 0 !important;
        min-height: 0 !important;
        margin: 0 auto !important;
        display: block !important;
    }
    .profile-image {
        width: 100% !important;
        height: auto !important;
        min-width: 0 !important;
        max-width: 100% !important;
        margin: 0 auto !important;
    }
    .name-and-rating {
        width: 100% !important;
        margin-top: 0.5rem !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        position: relative !important;
        order: 2 !important;
    }
    .profile-title-row {
        order: 2 !important;
        position: relative !important;
        width: 100% !important;
    }
    .profile-action-group {
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        gap: 0.5rem !important;
        position: static !important;
        margin-top: 0 !important;
        min-width: 0 !important;
        max-width: 180px !important;
        width: 180px !important;
    }
    .profile-title-row {
        min-height: 0 !important;
        min-height: initial !important;
        flex-direction: column !important;
        gap: 0.3rem !important;
        margin-top: 0.5rem !important;
        align-items: flex-start !important;
        width: 100%;
    }
    .profile-section {
        margin-top: 0 !important;
        padding: 0.5rem !important;
        border-radius: 12px !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    .profile-info {
        gap: 0.7rem !important;
    }
    .info-item {
        padding: 0.4rem !important;
        border-radius: 8px !important;
    }
    .music-categories {
        padding: 0.4rem !important;
        border-radius: 8px !important;
    }
    .profile-action-group .btn,
    .profile-action-group button {
        height: 36px !important;
        min-height: 36px !important;
        max-height: 36px !important;
        padding: 0 1rem !important;
        font-size: 0.9rem !important;
        border-radius: 6px !important;
    }
    .profile-image.loaded {
        object-fit: cover !important;
    }
    .profile-views-modal {
        width: 90vw !important;
        max-width: 90vw !important;
    }
}

/* Profile section spacing fixes */
.profile-section > div {
    margin-bottom: var(--spacing-xl);
}

.profile-section > div:last-child {
    margin-bottom: 0;
}

.music-categories {
    margin-top: var(--spacing-xl);
    padding: var(--spacing-md);
    background-color: var(--bg-secondary);
    border-radius: var(--border-radius-md);
}

.bio-item + .music-categories,
.music-categories + .info-item,
.info-item + .info-item {
    margin-top: var(--spacing-xl);
}

/* Category selection layout improvements */
.category-selection {
    margin-bottom: var(--spacing-md);
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    width: 100%;
    align-items: flex-start;
}

.select-wrapper {
    width: 48%;
    max-width: 48%;
    margin-bottom: var(--spacing-sm);
}

/* Make sure the add button is only as wide as its content */
.add-category-button {
    width: auto !important;
    align-self: flex-end;
    white-space: nowrap;
    margin-top: auto;
}

@media (max-width: 768px) {
    .select-wrapper {
        width: 100%;
        max-width: 100%;
    }
    
    .category-selection {
        flex-direction: column;
    }
}

.info-item.reviews-section {
    margin-top: var(--spacing-xl);
}

.save-all-changes {
    margin: var(--spacing-xl) 0;
    display: flex;
    justify-content: center;
}

/* YouTube section specific styling */
.youtube-container {
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.youtube-input-container {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    flex-wrap: wrap;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .youtube-input-container {
        flex-direction: column;
    }
    
    .profile-section > div {
        margin-bottom: var(--spacing-lg);
    }
    
    .bio-item + .music-categories,
    .music-categories + .info-item,
    .info-item + .info-item {
        margin-top: var(--spacing-lg);
    }
}

/* Improve text area containment */
.info-item textarea,
.info-item input,
.info-item select {
    max-width: 100%;
    box-sizing: border-box;
}

.selected-categories {
    margin-top: var(--spacing-md);
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.profile-share-bottom {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 2rem 0 1.5rem 0;
    position: relative;
    z-index: 20;
}

/* This is for the "Profili Paylaş" button */
.profile-share-bottom .profile-share-btn {
    min-width: 220px;
    font-size: 1rem;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease !important;
    font-weight: normal !important;
}

/* This is for the "İşlerim" button */
.islerim-btn, 
.btn.islerim-btn {
    min-width: 160px;
    max-width: 160px;
    width: 160px;
    height: 44px;
    min-height: 44px;
    max-height: 44px;
    font-size: 1rem;
    padding: 0 !important;
    border-radius: 16px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    position: relative !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
    font-weight: normal !important;
}

/* Responsive styles for both buttons */
@media (max-width: 900px) {
    .profile-share-bottom .profile-share-btn,
    .islerim-btn, 
    .btn.islerim-btn {
        min-width: 155px;
        max-width: 155px;
        width: 155px;
        height: 42px;
        min-height: 42px;
        max-height: 42px;
        font-size: 15px !important;
        font-weight: normal !important;
    }
}

@media (max-width: 600px) {
    .profile-share-bottom .profile-share-btn,
    .islerim-btn, 
    .btn.islerim-btn {
        min-width: 152px;
        max-width: 152px;
        width: 152px;
        height: 40px;
        min-height: 40px;
        max-height: 40px;
        font-size: 14px !important;
        font-weight: normal !important;
    }
}

@media (max-width: 425px) {
    .profile-share-bottom .profile-share-btn,
    .islerim-btn, 
    .btn.islerim-btn {
        min-width: 150px;
        max-width: 150px;
        width: 150px;
        height: 40px;
        min-height: 40px;
        max-height: 40px;
        font-size: 14px !important;
        font-weight: normal !important;
        border-radius: 12px !important;
        padding: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    /* For Profili Paylaş button - ensure text and icons scale correctly */
    .profile-share-bottom .profile-share-btn span,
    .profile-share-bottom .profile-share-btn i,
    .islerim-btn span,
    .islerim-btn i,
    .btn.islerim-btn span,
    .btn.islerim-btn i {
        font-size: 14px !important;
        font-weight: normal !important;
    }
}

.profile-header-actions-flex {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 1rem;
    align-items: center;
    overflow: visible;
    height: auto;
}

.profile-share-menu {
    z-index: 10;
    position: absolute;
    left: calc(100% + 0.5rem);
    top: 0;
    pointer-events: auto;
}

.profile-share-menu .share-option {
    min-width: 120px;
    padding: 0.7rem 1.2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 8px 0 rgba(0,0,0,0.10);
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s, background 0.2s;
    outline: none;
}

.profile-share-menu .share-option:active,
.profile-share-menu .share-option:focus {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 4px 16px 0 rgba(0,0,0,0.18);
}

.profile-share-menu .share-option.whatsapp {
    background: #25D366;
}
.profile-share-menu .share-option.whatsapp:hover,
.profile-share-menu .share-option.whatsapp:focus {
    background: #1ebe5d;
}

.profile-share-menu .share-option.instagram {
    background: linear-gradient(45deg, #fd5949 0%, #d6249f 50%, #285AEB 100%);
}
.profile-share-menu .share-option.instagram:hover,
.profile-share-menu .share-option.instagram:focus {
    filter: brightness(1.1);
}

.profile-share-menu .share-option.telegram {
    background: #229ED9;
}
.profile-share-menu .share-option.telegram:hover,
.profile-share-menu .share-option.telegram:focus {
    background: #178bbd;
}

.profile-share-menu .share-option.copy-link {
    background: #22c55e;
}
.profile-share-menu .share-option.copy-link:hover,
.profile-share-menu .share-option.copy-link:focus {
    background: #16a34a;
}

@media (max-width: 600px) {
    .profile-share-menu {
        flex-direction: column;
        align-items: stretch;
        min-width: 90vw;
        left: 50%;
        transform: translateX(-50%);
        padding: 0.5rem 0.5rem;
        gap: 0.5rem;
    }
    .profile-share-menu .share-option {
        width: 100%;
        justify-content: center;
        font-size: 1rem;
        padding: 0.9rem 1rem;
    }
}

[data-theme='dark'] .profile-share-menu {
    background: var(--dark-bg-secondary);
    box-shadow: var(--dark-shadow-lg);
}

.share-copied-feedback {
    text-align: center;
    color: var(--success-color);
    margin-top: 0.5rem;
    font-weight: 500;
    font-size: 1rem;
}

.confirmation-modal {
    /* Horizontally center, but align near the top */
    position: fixed;
    left: 50%;
    top: 7vh;
    transform: translateX(-50%);
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    align-self: flex-start !important;
    z-index: 2000;
    background: var(--bg-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 420px;
    width: 90vw;
    min-width: 320px;
    min-height: 200px;
    padding: 2rem 2rem 1.5rem 2rem;
    border-radius: 18px;
    box-shadow: 0 8px 40px 0 rgba(0,0,0,0.25);
}

/* Make profile photo square */
.profile-photo img,
.profile-image {
    border-radius: 8px !important;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.see-all-container {
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 40px;
}
.see-all-container .see-all-button {
    position: relative;
    left: 0;
    top: 0; /* Align with carousel buttons' explicit top:0 */
    transform: none;
    z-index: 2;
    margin: 0 20px;
}
.see-all-container .carousel-button.prev,
.see-all-container .carousel-button.next {
    position: relative;
    left: 0;
    right: 0;
    top: 0;
    transform: none;
    margin: 0 8px;
    z-index: 3;
    border-radius: 50% !important;
    min-width: 36px;
    min-height: 36px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    border: none;
    background: rgba(180,70,25,1);
    color: #fff;
    transition: all 0.2s;
}
.see-all-container .carousel-button.prev:hover,
.see-all-container .carousel-button.next:hover {
    background: rgba(180,70,25,0.92);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
@media (max-width: 600px) {
  .see-all-container {
    min-height: 36px;
  }
  .see-all-container .see-all-button {
    font-size: 0.95rem;
    padding: 0.5rem 1.2rem;
    margin: 0 10px;
  }
  .see-all-container .carousel-button.prev,
  .see-all-container .carousel-button.next {
    min-width: 28px !important;
    min-height: 28px !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    font-size: 1rem !important;
    margin: 0 4px;
    padding: 0 !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
}

.category-actions-row {
    margin-bottom: 0;
}

.carousel-actions-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

@media (max-width: 768px) {
    .carousel-actions-flex {
        width: 100%;
        position: relative;
        height: 48px;
        min-height: 48px;
        display: flex;
        align-items: center;
    }
    .carousel-actions-flex .see-all-container {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        z-index: 2;
        display: flex;
        justify-content: center;
        align-items: center;
        width: -webkit-max-content;
        width: max-content;
        min-width: 120px;
        height: auto;
    }
    .carousel-actions-flex .carousel-button.prev {
        position: absolute;
        left: 32px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 3;
        margin: 0;
    }
    .carousel-actions-flex .carousel-button.next {
        position: absolute;
        right: 32px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 3;
        margin: 0;
    }
    .profile-carousel {
        margin: 0;
    }
}

.category-sections {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 2rem;
    gap: 2rem;
}

@media (max-width: 768px) {
    .category-sections {
        display: block;
        grid-template-columns: none;
        gap: 0;
    }
    
    .category-section {
        max-width: 600px;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (min-width: 769px) {
    .category-section {
        width: 640px;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    .profile-header-actions-flex {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        gap: 1rem;
        width: 100%;
    }
}

.profile-header-bottom-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0;
    margin-top: 20px;
    width: 100%;
}

@media (max-width: 768px) {
    .profile-header-bottom-actions {
        flex-direction: column;
        gap: 0.5rem;
        margin-bottom: 0;
        width: 100%;
    }
}

.profile-title-row {
    position: relative;
}
.profile-action-top-right {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 2;
}
.profile-action-center-right {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    z-index: 2;
}
.profile-action-bottom-right {
    position: absolute;
    bottom: 0;
    right: 0;
    display: flex;
    align-items: center;
    z-index: 2;
}
@media (max-width: 768px) {
    .profile-action-top-right,
    .profile-action-center-right,
    .profile-action-bottom-right {
        position: absolute !important;
        top: 0 !important;
        right: 0 !important;
        align-items: flex-end !important;
        width: 150px !important;
        min-width: 150px !important;
        max-width: 150px !important;
        margin-top: 0 !important;
    }
}

.work-approval-sent {
    background: transparent;
    color: #219150;
    color: var(--success-color, #219150);
    border: 1.5px solid #219150;
    border: 1.5px solid var(--success-color, #219150);
    padding: 0.35em 1em;
    border-radius: 18px;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    box-shadow: 0 2px 8px 0 rgba(33,145,80,0.08);
    transition: background 0.2s, color 0.2s, border 0.2s;
}

.btn.danger {
    background: #c0392b !important;
    background: var(--danger-color, #c0392b) !important;
    color: #fff !important;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 24px;
    font-size: 1rem;
    font-weight: 600;
    min-width: 180px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-md);
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.btn.danger:hover,
.btn.danger:focus {
    background: #a93226 !important;
    color: #fff !important;
    box-shadow: var(--shadow-lg);
}

@media (min-width: 1200px) {
    .profile-action-group .btn,
    .profile-action-group .btn.primary,
    .profile-action-group .btn.danger,
    .profile-action-group .btn.secondary {
        min-width: 180px;
        height: 44px;
        font-size: 1.08rem;
        padding: 0.75em 2.2em;
    }
}
@media (max-width: 1199px) and (min-width: 769px) {
    .profile-action-group .btn,
    .profile-action-group .btn.primary,
    .profile-action-group .btn.danger,
    .profile-action-group .btn.secondary {
        min-width: 150px;
        height: 42px;
        font-size: 1.03rem;
        padding: 0.65em 1.8em;
    }
}
@media (max-width: 768px) and (min-width: 481px) {
    .profile-action-group .btn,
    .profile-action-group .btn.primary,
    .profile-action-group .btn.danger,
    .profile-action-group .btn.secondary {
        min-width: 120px;
        height: 40px;
        font-size: 1rem;
        padding: 0.55em 1.4em;
    }
}
@media (max-width: 480px) and (min-width: 401px) {
    .profile-action-group .btn,
    .profile-action-group .btn.primary,
    .profile-action-group .btn.danger,
    .profile-action-group .btn.secondary {
        min-width: 100px !important;
        height: 38px !important;
        font-size: 0.98rem !important;
        padding: 0.45em 1.1em !important;
    }
}

.profile-photo-section img,
.profile-photo-section .profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.profile-action-group .btn,
.profile-action-group .btn.primary,
.profile-action-group .btn.danger,
.profile-action-group .btn.secondary {
    width: 168.95px;
    min-width: 168.95px;
    max-width: 168.95px;
    height: 40px;
    min-height: 40px;
    max-height: 40px;
    padding: 0;
    font-size: 1rem;
    box-sizing: border-box;
}
@media (max-width: 1199px) {
    .profile-action-group .btn,
    .profile-action-group .btn.primary,
    .profile-action-group .btn.danger,
    .profile-action-group .btn.secondary {
        min-width: 140px;
        width: 100%;
        height: 38px;
        padding: 0.5rem 1.2rem;
        font-size: 0.98rem;
    }
}

.profile-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 2rem;
    position: relative;
    margin-bottom: 0 !important;
}
.profile-photo-section {
    width: 150px;
    min-width: 150px;
    max-width: 150px;
    height: 150px;
    flex-shrink: 0;
}
.profile-action-group {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 1.2rem;
    min-width: 150px;
    width: 150px;
    position: absolute;
    top: 0;
    right: 0;
}
@media (max-width: 768px) {
    .profile-header {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    .profile-photo-section,
    .profile-action-group {
        min-width: 0;
        width: 100%;
        max-width: 100%;
    }
    .profile-action-group {
        position: absolute !important;
        top: 0 !important;
        right: 0 !important;
        align-items: flex-end !important;
        width: 150px !important;
        min-width: 150px !important;
        max-width: 150px !important;
        margin-top: 0 !important;
    }
}

.modal.modal-compact {
    width: 500px !important;
    height: 500px !important;
    max-width: none !important;
    max-height: none !important;
    min-width: 0 !important;
    min-width: initial !important;
    min-height: 0 !important;
    min-height: initial !important;
    padding: 1.5rem;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.18);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: auto;
}

@media (max-width: 540px) {
    .modal.modal-compact {
        width: 95vw !important;
        height: auto !important;
        min-height: 250px !important;
        padding: 1rem;
    }
}

/* FAVORITE HEART BUTTON (PROFILE PHOTO OVERLAY) */
.favorite-heart-btn {
    position: absolute !important;
    top: -14px !important;
    right: -14px !important;
    background: #ffffff;
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
    max-width: 28px;
    max-height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    z-index: 5;
    cursor: pointer;
    transition: color 0.2s, background 0.2s;
    outline: none;
    color: #888;
    padding: 0;
}
.favorite-heart-btn.is-favorite {
    color: #e74c3c;
    background: #ffffff;
}
.favorite-heart-btn:focus {
    box-shadow: 0 0 0 2px var(--primary-color-rgb-20);
    outline: none;
}
.favorite-heart-btn:hover:not(:disabled) {
    color: #e74c3c;
    background: #ffffff;
}
.favorite-heart-btn:active:not(:disabled) {
    color: #c0392b;
    background: #f8f8f8;
}
.favorite-heart-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
[data-theme='dark'] .favorite-heart-btn {
    background: #2d2d3d;
    color: #aaa;
}
[data-theme='dark'] .favorite-heart-btn.is-favorite {
    color: #ff7675;
    background: #2d2d3d;
}
[data-theme='dark'] .favorite-heart-btn:hover:not(:disabled) {
    color: #ff7675;
    background: #2d2d3d;
}
[data-theme='dark'] .favorite-heart-btn:active:not(:disabled) {
    color: #d63031;
    background: #222230;
}

.profile-card {
    display: flex;
    flex-direction: column;
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 0;
    text-decoration: none;
    color: var(--text-primary);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1.5px solid #d1d5db;
    position: relative;
    overflow: hidden;
    height: 100%;
    max-width: 100%;
}

[data-theme='dark'] .profile-card {
    background-color: #2d2d3d;
    border-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.islerim-page {
    max-width: 700px;
    margin: 2rem auto;
    background: #fff;
    background: var(--card-bg, #fff);
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    box-shadow: var(--shadow-md, 0 8px 20px rgba(0,0,0,0.08));
    padding: 2rem 2.5rem;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.no-jobs-message {
    color: #888;
    color: var(--text-secondary, #888);
    font-size: 1.15rem;
    margin-top: 1.5rem;
    text-align: center;
    width: 100%;
}

.jobs-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0 0;
    width: 100%;
}

.jobs-list li {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #ececec;
    font-size: 1.08rem;
    color: #222;
    color: var(--text-primary, #222);
}

.approved-works-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
    width: 100%;
}

.approved-work-card-container {
    flex: 1 1 220px;
    max-width: 260px;
    min-width: 200px;
    display: flex;
    justify-content: center;
}

.approved-work-card {
    background: #f9f9f9;
    background: var(--bg-secondary, #f9f9f9);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    box-shadow: var(--shadow-sm, 0 2px 8px rgba(0,0,0,0.08));
    padding: 1.5rem 1rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.2s, transform 0.2s;
    cursor: pointer;
    width: 100%;
    min-height: 220px;
    border: 1.5px solid #e5e7eb;
}

.approved-work-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    box-shadow: var(--shadow-md, 0 8px 24px rgba(0,0,0,0.12));
    transform: translateY(-4px) scale(1.03);
    border-color: #22c55e;
    border-color: var(--primary-color, #22c55e);
}

.approved-work-card .musician-image {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
}

.approved-work-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0.5rem 0 0.25rem 0;
    color: #222;
    color: var(--text-primary, #222);
    text-align: center;
}

.approval-date {
    font-size: 0.95rem;
    color: #888;
    color: var(--text-secondary, #888);
    margin-top: 0.25rem;
    text-align: center;
}

.error-message {
    color: #e74c3c;
    border: 1px solid #f8d7da;
    background-color: #fff5f5;
    border-radius: 8px;
    padding: 1rem;
    margin: 1.5rem 0;
    font-size: 1rem;
    text-align: center;
    width: 100%;
}

[data-theme='dark'] .error-message {
    background-color: rgba(231, 76, 60, 0.1);
    border-color: rgba(231, 76, 60, 0.3);
    color: #ff6b6b;
}

.test-data-notice {
    background-color: #fff3cd;
    color: #856404;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    text-align: center;
    border: 1px solid #ffeeba;
}

[data-theme='dark'] .test-data-notice {
    background-color: rgba(255, 193, 7, 0.15);
    color: #ffc107;
    border-color: rgba(255, 193, 7, 0.3);
}

.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    width: 100%;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top-color: #22c55e;
    border-top-color: var(--primary-color, #22c55e);
    animation: spinner 0.8s linear infinite;
    margin-bottom: 1rem;
}

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

[data-theme='dark'] .loading-spinner {
    border-color: rgba(255, 255, 255, 0.1);
    border-top-color: #22c55e;
    border-top-color: var(--primary-color, #22c55e);
}

.profile-views-stats {
    background: #fff;
    background: var(--color-bg-secondary, #fff);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    padding: 1.5rem;
    margin: 1.5rem 0;
    transition: box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.profile-views-stats:focus-within, .profile-views-stats:active {
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.profile-views-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #222;
    color: var(--color-primary, #222);
}
.profile-views-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
}
.profile-views-item {
    background: #e0e0e0 !important;
    color: #333 !important;
    border-radius: 8px;
    padding: 0.7rem 1.2rem;
    font-size: 1rem;
    min-width: 120px;
    text-align: center;
    transition: background 0.2s, color 0.2s;
}
.profile-views-item:hover, .profile-views-item:focus {
    background: #222;
    background: var(--color-primary, #222);
    color: #fff;
}
@media (max-width: 600px) {
    .profile-views-list {
        flex-direction: column;
        gap: 0.7rem;
    }
    .profile-views-item {
        min-width: 100%;
    }
}
/* Dark mode */
body.dark .profile-views-stats {
    background: #23272f;
    background: var(--color-bg-secondary-dark, #23272f);
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
body.dark .profile-views-title {
    color: #fff;
    color: var(--color-primary-dark, #fff);
}
body.dark .profile-views-item {
    background: #444 !important;
    color: #eee !important;
}
body.dark .profile-views-item:hover, body.dark .profile-views-item:focus {
    background: #fff;
    background: var(--color-primary-dark, #fff);
    color: #23272f;
}

.profile-views-binoculars-btn {
    background: none;
    border: none;
    cursor: pointer;
    margin-left: 8px;
    font-size: 22px;
    color: #888;
    vertical-align: middle;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: color 0.2s, background 0.2s;
}
.profile-views-binoculars-btn:hover, .profile-views-binoculars-btn:focus {
    color: #222;
    background: #f7f7f7;
    border-radius: 50%;
}
body.dark .profile-views-binoculars-btn {
    color: #aaa;
}
body.dark .profile-views-binoculars-btn:hover, body.dark .profile-views-binoculars-btn:focus {
    color: #fff;
    background: #23272f;
}

.profile-views-modal {
    max-width: 420px;
    width: 95vw;
    min-width: 320px;
    min-height: 220px;
    padding: 2rem 2rem 1.5rem 2rem;
    border-radius: 18px;
    box-shadow: 0 8px 40px 0 rgba(0,0,0,0.25);
    background: rgba(180,70,25,1) !important;
    color: #fff !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 3001;
}
body.dark .profile-views-modal {
    background: rgba(180,70,25,1) !important;
    color: #fff !important;
}

/* === TABLET MODE: 425px - 1023px === */
@media (min-width: 425px) and (max-width: 1023px) {
  html {
    font-size: calc(100% * (100vw - 425px) / (1023 - 425) + 80%);
  }
  .profile-container {
    max-width: 98vw !important;
    width: 100vw !important;
    padding: 10px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
    box-sizing: border-box !important;
  }
  .profile-section {
    width: 100% !important;
    max-width: 100% !important;
    padding: 1.2rem !important;
    margin: 0 auto 1.5rem auto !important;
    border-radius: 18px;
  }
  .modal, .confirmation-modal, .profile-views-modal {
    max-width: 95vw !important;
    min-width: 320px !important;
    padding: 1.2rem !important;
  }
  /* Make sure nothing overflows horizontally */
  * {
    box-sizing: border-box !important;
  }
}

/* === MOBILE MODE: 320px - 425px (inclusive) === */
@media (min-width: 320px) and (max-width: 425px) {
  html {
    font-size: calc(80% + (100vw - 320px) * 0.2 / 105);
  }
  .profile-container {
    max-width: 100vw !important;
    width: 100vw !important;
    padding: 4px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
    box-sizing: border-box !important;
  }
  .profile-section {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0.5rem !important;
    margin: 0 auto 1rem auto !important;
    border-radius: 12px;
  }
  .profile-header {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.7rem !important;
    position: relative;
  }
  .profile-photo-row {
    flex-direction: row !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 0.5rem !important;
  }
  .profile-photo {
    width: 80px !important;
    height: 80px !important;
    min-width: 80px !important;
    max-width: 80px !important;
  }
  .profile-image {
    width: 80px !important;
    height: 80px !important;
    min-width: 80px !important;
    max-width: 80px !important;
  }
  .profile-action-group {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-end !important;
    gap: 0.5rem !important;
    position: static !important;
    margin-top: 0.5rem !important;
  }
  .profile-title-row {
    min-height: 80px !important;
    flex-direction: column !important;
    gap: 0.3rem !important;
  }
  .profile-info {
    gap: 0.7rem !important;
  }
  .info-item {
    padding: 0.4rem !important;
    border-radius: 8px !important;
  }
  .music-categories {
    padding: 0.4rem !important;
    border-radius: 8px !important;
  }
  .carousel-container, .carousel-track, .carousel-page {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .carousel-track {
    display: flex !important;
    transition: transform 0.4s ease-out !important;
  }
  
  .carousel-container {
    overflow: hidden !important;
    position: relative !important;
  }
  
  .carousel-page {
    flex: 0 0 100% !important;
    display: flex !important;
    justify-content: space-between !important;
  }
  
  .carousel-slide {
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: calc(33.333% - 6px);
    max-width: calc(33.333% - 6px) !important;
    margin: 0 3px !important;
    padding: 5px !important;
  }
  .modal, .confirmation-modal, .profile-views-modal {
    max-width: 99vw !important;
    min-width: 0 !important;
    padding: 0.5rem !important;
  }
  /* Make sure nothing overflows horizontally */
  * {
    box-sizing: border-box !important;
  }
  .profile-photo-section {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    margin: 0 auto !important;
  }
  .profile-photo {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 auto !important;
  }
  .profile-photo img,
  .profile-image {
    margin: auto !important;
  }
}

/* === END TABLET & MOBILE CUSTOM BREAKPOINTS === */

.profile-name,
.profile-city,
.profile-categories,
.profile-subcategories,
.profile-reviews {
  min-width: 0;
  width: 100%;
}

.profile-details {
  min-width: 0;
  width: 100%;
  overflow: hidden;
}

.profile-image-container {
  width: 98% !important;
  max-width: 180px !important;
  padding: 0 !important;
  margin: 0 auto !important;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible !important;
}

.profile-image-container .profile-image {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  margin: 0 !important;
  object-fit: contain;
}

.carousel-button.next,
.carousel-button.prev {
  height: 33.06px !important;
  min-height: 33.06px !important;
  max-height: 33.06px !important;
}

@media (max-width: 427px) {
  .profile-action-group {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    align-items: flex-end !important;
    width: 150px !important;
    min-width: 150px !important;
    max-width: 150px !important;
    margin-top: 0 !important;
    flex-direction: column !important;
    gap: 0.5rem !important;
  }
}

@media (max-width: 400px) {
  #teknota-profile-container .profile-action-group .btn.edit-profile-button,
  #teknota-profile-container .profile-action-group .btn.report-profile-btn,
  #teknota-profile-container .profile-action-group .btn[data-button-type="report"] {
    width: auto !important;
  }
  
  #teknota-profile-container .profile-action-group .btn.edit-profile-button,
  #teknota-profile-container .profile-action-group .btn.report-profile-btn,
  #teknota-profile-container .profile-action-group .btn[data-button-type="report"] {
    width: auto !important;
    min-width: auto !important;
    height: auto !important;
    min-height: auto !important;
    border-radius: 8px !important;
    padding: 0.5rem 1rem !important;
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
  }
  
  /* TEK TEK BUTONLAR */
  #teknota-profile-container .profile-action-group .btn.edit-profile-button {
    background-color: rgba(180,70,25,1) !important;
    color: #fff !important;
  }
  
  #teknota-profile-container .profile-action-group .btn.report-profile-btn {
    background-color: #e74c3c !important;
    background-color: var(--danger-color, #e74c3c) !important;
    color: #fff !important;
  }
  
  /* METIN GÖRÜNÜR OLSUN */
  #teknota-profile-container .profile-action-group .btn.edit-profile-button .btn-label,
  #teknota-profile-container .profile-action-group .btn.report-profile-btn .btn-text {
    display: inline-block !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
    margin-left: 0.5rem !important;
    width: auto !important;
    height: auto !important;
    font-size: inherit !important;
  }
  
  /* IKON DÜZENI */
  #teknota-profile-container .profile-action-group .btn.edit-profile-button i,
  #teknota-profile-container .profile-action-group .btn.report-profile-btn i {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 1em !important;
    position: relative !important;
    transform: none !important;
  }
  
  /* Onayla ve İptal butonu görünürlük düzeltmeleri */
  #teknota-profile-container .profile-action-group .btn.edit-profile-button .btn-label,
  #teknota-profile-container .profile-action-group .btn.report-profile-btn .btn-text {
    display: inline-block !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
    margin-left: 0.5rem !important;
  }
  
  #teknota-profile-container .profile-action-group .btn.edit-profile-button i,
  #teknota-profile-container .profile-action-group .btn.report-profile-btn i {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
  }
}

/* Carousel Navigation düğmeleri için ek stiller */
.carousel-nav {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 30 !important;
  width: 32px !important;
  height: 32px !important;
  background-color: rgba(180,70,25,1) !important;
  color: #fff !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15) !important;
  cursor: pointer !important;
  border: none !important;
  transition: all 0.2s !important;
}

.carousel-nav:hover {
  transform: translateY(-50%) scale(1.1) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
  background-color: rgba(180,70,25,0.92) !important;
}

.carousel-nav.prev {
  left: 5px !important;
}

.carousel-nav.next {
  right: 5px !important;
}

.carousel-dots {
  display: flex !important;
  justify-content: center !important;
  margin-top: 8px !important;
}

/* Dark Theme Support for Photo Controls */
[data-theme='dark'] .profile-photo-controls {
    border-top-color: var(--dark-border-color);
}

[data-theme='dark'] .profile-photo-select,
[data-theme='dark'] .profile-photo-cancel-btn {
    background-color: var(--dark-bg-secondary);
    border-color: var(--dark-border-color);
    color: var(--dark-text-primary);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

[data-theme='dark'] .profile-photo-select:hover,
[data-theme='dark'] .profile-photo-cancel-btn:hover {
    background-color: var(--dark-bg-hover);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

[data-theme='dark'] .profile-photo-upload-btn {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

[data-theme='dark'] .profile-photo-upload-btn:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
}

[data-theme='dark'] .profile-photo-cancel-btn:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

/* The profile-photo-upload-btn can keep its original colors since it uses primary color */

/* Dark Theme */
[data-theme='dark'] .profile-photo-section,
[data-theme='dark'] .profile-section {
    background-color: var(--dark-bg-primary);
}

/* Profil Düzenle ve Şikayet Et Butonları */
.profile-action-group button.edit-profile-button,
.profile-action-group button.report-profile-btn {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Butonların normal durumda yazılarının görünmesi */
.profile-action-group button.edit-profile-button .btn-label,
.profile-action-group button.report-profile-btn .btn-text {
  transition: opacity 0.3s ease, visibility 0.3s ease;
  margin-left: 5px;
}

/* Buton içi ikonlar */
.profile-action-group button.edit-profile-button i,
.profile-action-group button.report-profile-btn i {
  transition: transform 0.3s ease;
}

/* ÖZEL YUVARLAK PROFİL DÜZENİ BUTONLARI */
.profile-action-group button.edit-profile-button,
.profile-action-group button.report-profile-btn,
.profile-action-group button[data-button-type="report"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  position: relative !important;
}

/* MOBİL KÜÇÜK EKRANLARDA YUVARLAK BUTONLAR */
@media (max-width: 400px) {
  .profile-action-group button.edit-profile-button,
  .profile-action-group button.report-profile-btn,
  .profile-action-group button[data-button-type="report"],
  #teknota-profile-container .profile-action-group .btn.edit-profile-button,
  #teknota-profile-container .profile-action-group .btn.report-profile-btn {
    width: auto !important;
    min-width: auto !important;
    height: auto !important;
    min-height: auto !important;
    border-radius: 8px !important;
    padding: 0.5rem 1rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.3rem !important; /* Reduced gap from default to 0.3rem */
  }
  
  .profile-action-group button.edit-profile-button .btn-label,
  .profile-action-group button.report-profile-btn .btn-text,
  #teknota-profile-container .profile-action-group .btn.edit-profile-button .btn-label,
  #teknota-profile-container .profile-action-group .btn.report-profile-btn .btn-text,
  #teknota-profile-container .profile-action-group .save-button span,
  #teknota-profile-container .profile-action-group .btn.primary.save-button span, 
  #teknota-profile-container .profile-action-group .cancel-button span,
  #teknota-profile-container .profile-action-group .btn.secondary.cancel-button span {
    display: inline-block !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
    margin-left: 0.3rem !important; /* Reduced margin from 0.5rem to 0.3rem */
  }
  
  .profile-action-group button.edit-profile-button i,
  .profile-action-group button.report-profile-btn i,
  #teknota-profile-container .profile-action-group .btn.edit-profile-button i,
  #teknota-profile-container .profile-action-group .btn.report-profile-btn i,
  #teknota-profile-container .profile-action-group .save-button i,
  #teknota-profile-container .profile-action-group .btn.primary.save-button i,
  #teknota-profile-container .profile-action-group .cancel-button i,
  #teknota-profile-container .profile-action-group .btn.secondary.cancel-button i {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    font-size: 1em !important;
  }
}

/* TAMAMEN YENİ VE SPESİFİK BUTON KURALLARI */
#teknota-profile-container .profile-action-group .btn.primary.edit-profile-button,
#teknota-profile-container .profile-action-group .btn.primary.save-button,
#teknota-profile-container .profile-action-group .btn.secondary.cancel-button,
#teknota-profile-container .profile-action-group .btn.danger.report-profile-btn {
  background-color: rgba(180,70,25,1) !important;
  width: 160px !important;
  min-width: 160px !important;
  max-width: 160px !important;
  height: 44px !important;
  min-height: 44px !important;
  max-height: 44px !important;
  padding: 0 !important;
  border-radius: 16px !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.3rem !important;  /* Reduced gap between icon and text from 0.5rem to 0.3rem */
  box-sizing: border-box !important;
  margin: 0 !important;
  position: relative !important;
  overflow: hidden !important;
  transition: all 0.2s cubic-bezier(.4,0,.2,1) !important;
}

#teknota-profile-container .profile-action-group .btn.primary.edit-profile-button .btn-label,
#teknota-profile-container .profile-action-group .btn.primary.save-button span,
#teknota-profile-container .profile-action-group .btn.secondary.cancel-button span,
#teknota-profile-container .profile-action-group .btn.danger.report-profile-btn .btn-text {
  display: inline-block !important;
  opacity: 1 !important;
  visibility: visible !important;
  position: static !important;
  width: auto !important;
  margin-left: 0.5rem !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
}

#teknota-profile-container .profile-action-group .btn.primary.edit-profile-button i,
#teknota-profile-container .profile-action-group .btn.primary.save-button i,
#teknota-profile-container .profile-action-group .btn.secondary.cancel-button i,
#teknota-profile-container .profile-action-group .btn.danger.report-profile-btn i {
  position: static !important;
  font-size: 1.1rem !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
}

#teknota-profile-container .profile-action-group .btn.primary.edit-profile-button:hover,
#teknota-profile-container .profile-action-group .btn.primary.save-button:hover,
#teknota-profile-container .profile-action-group .btn.secondary.cancel-button:hover,
#teknota-profile-container .profile-action-group .btn.danger.report-profile-btn:hover {
  filter: brightness(1.08) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2) !important;
}

#teknota-profile-container .profile-action-group .btn.primary.edit-profile-button:active,
#teknota-profile-container .profile-action-group .btn.primary.save-button:active,
#teknota-profile-container .profile-action-group .btn.secondary.cancel-button:active,
#teknota-profile-container .profile-action-group .btn.danger.report-profile-btn:active {
  filter: brightness(0.95) !important;
  transform: scale(0.98) !important;
}

@media (max-width: 768px), (max-width: 767px),
       (max-width: 480px),
       (max-width: 430px),
       (max-width: 425px),
       (max-width: 400px) {
  #teknota-profile-container .profile-action-group {
    width: auto !important;
    min-width: auto !important;
    max-width: none !important;
    margin-top: auto !important;
    position: relative !important;
  }

  .profile-action-group .btn,
  .profile-action-group button,
  #teknota-profile-container .profile-action-group .btn,
  #teknota-profile-container .profile-action-group button {
    width: auto !important;
    min-width: auto !important;
    max-width: none !important;
    height: auto !important;
    min-height: auto !important;
    border-radius: 8px !important;
    padding: auto !important;
  }
}

/* ==========================================================================
   BUTON STİLLERİ - SIFIRLA VE YENİDEN TANIMLA
   ========================================================================== */

/* MOBİL KÜÇÜK EKRANLARDA ESKİ BUTON KURALLARINI GEÇERSİZ KIL */
@media (max-width: 1200px), 
       (max-width: 1199px),
       (max-width: 768px),
       (max-width: 480px),
       (max-width: 427px),
       (max-width: 400px) {
  /* Silme Odaklı Sıfırlama Kuralları */
  .profile-action-group,
  #teknota-profile-container .profile-action-group {
    width: auto !important;
    min-width: auto !important;
    max-width: none !important;
    margin-top: auto !important;
    position: relative !important;
  }

  .profile-action-group .btn,
  .profile-action-group button,
  #teknota-profile-container .profile-action-group .btn,
  #teknota-profile-container .profile-action-group button {
    width: auto !important;
    min-width: auto !important;
    max-width: none !important;
    height: auto !important;
    min-height: auto !important;
    border-radius: 8px !important;
    padding: auto !important;
  }
}

/* YENİ BUTON CONTAINER BOYUT VE STİLLERİ */
.profile-action-group,
#teknota-profile-container .profile-action-group {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: 160px !important;
  min-width: 160px !important;
  max-width: 160px !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 0.75rem !important;
  box-sizing: border-box !important;
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  z-index: 100 !important;
}

/* TÜM EKRAN BOYUTLARI İÇİN YENİ STİLLERİ UYGULA */
@media (max-width: 1200px), 
       (max-width: 1199px),
       (max-width: 768px),
       (max-width: 480px),
       (max-width: 427px),
       (max-width: 400px) {
  /* AYNI KONTEYNIR VE BUTON STİLLERİNİ YİNELE - EKSTRA VURGU */
  .profile-action-group,
  #teknota-profile-container .profile-action-group {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 160px !important;
    min-width: 160px !important;
    max-width: 160px !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 0.75rem !important;
    box-sizing: border-box !important;
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    z-index: 100 !important;
  }
}

/* YENİ BUTON BOYUT VE STİLLERİ - HER SENARYO İÇİN GEÇERLİ */
.profile-action-group .btn,
.profile-action-group button,
#teknota-profile-container .profile-action-group .btn,
#teknota-profile-container .profile-action-group .btn.primary,
#teknota-profile-container .profile-action-group .btn.primary.edit-profile-button,
#teknota-profile-container .profile-action-group .btn.primary.modern-form-btn, /* EKLENDİ */
#teknota-profile-container .profile-action-group .btn.primary.save-button,
#teknota-profile-container .profile-action-group .btn.secondary.cancel-button,
#teknota-profile-container .profile-action-group .btn.danger.report-profile-btn {
  width: 160px !important;
  min-width: 160px !important;
  max-width: 160px !important;
  height: 44px !important;
  min-height: 44px !important;
  max-height: 44px !important;
  border-radius: 16px !important;
  padding: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  font-weight: normal !important;
  transition: all 0.3s ease !important;
}

/* Preserve original color styles */
.profile-action-group .btn span,
.profile-action-group .btn .btn-label,
.profile-action-group .btn .btn-text,
.profile-action-group button span,
.profile-action-group button .btn-label,
.profile-action-group button .btn-text,
#teknota-profile-container .profile-action-group .btn span,
#teknota-profile-container .profile-action-group .btn .btn-label,
#teknota-profile-container .profile-action-group .btn .btn-text {
  font-weight: normal !important;
}

/* RESPONSIVE SIZES */
@media (max-width: 900px) {
  .profile-action-group,
  #teknota-profile-container .profile-action-group {
    width: 155px !important;
    min-width: 155px !important;
    max-width: 155px !important;
  }
  
  .profile-action-group .btn,
  .profile-action-group button,
  #teknota-profile-container .profile-action-group .btn,
  #teknota-profile-container .profile-action-group .btn.primary,
  #teknota-profile-container .profile-action-group .btn.primary.edit-profile-button,
  #teknota-profile-container .profile-action-group .btn.primary.modern-form-btn, /* EKLENDİ */
  #teknota-profile-container .profile-action-group .btn.primary.save-button,
  #teknota-profile-container .profile-action-group .btn.secondary.cancel-button,
  #teknota-profile-container .profile-action-group .btn.danger.report-profile-btn {
    width: 155px !important;
    min-width: 155px !important;
    max-width: 155px !important;
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    font-size: 15px !important;
    font-weight: normal !important;
  }
}

@media (max-width: 600px) {
  .profile-action-group,
  #teknota-profile-container .profile-action-group {
    width: 152px !important;
    min-width: 152px !important;
    max-width: 152px !important;
    gap: 10px !important;
  }
  
  .profile-action-group .btn,
  .profile-action-group button,
  #teknota-profile-container .profile-action-group .btn,
  #teknota-profile-container .profile-action-group .btn.primary,
  #teknota-profile-container .profile-action-group .btn.primary.edit-profile-button,
  #teknota-profile-container .profile-action-group .btn.primary.modern-form-btn, /* EKLENDİ */
  #teknota-profile-container .profile-action-group .btn.primary.save-button,
  #teknota-profile-container .profile-action-group .btn.secondary.cancel-button,
  #teknota-profile-container .profile-action-group .btn.danger.report-profile-btn {
    width: 152px !important;
    min-width: 152px !important;
    max-width: 152px !important;
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    font-size: 14px !important;
    font-weight: normal !important;
  }
}

/* Update the breakpoint to 425px instead of 400px */
@media (max-width: 425px) {
  .profile-action-group,
  #teknota-profile-container .profile-action-group {
    width: 150px !important;
    min-width: 150px !important;
    max-width: 150px !important;
    gap: 8px !important;
  }
  
  .profile-action-group .btn,
  .profile-action-group button,
  #teknota-profile-container .profile-action-group .btn,
  #teknota-profile-container .profile-action-group .btn.primary,
  #teknota-profile-container .profile-action-group .btn.primary.edit-profile-button,
  #teknota-profile-container .profile-action-group .btn.primary.modern-form-btn, /* EKLENDİ */
  #teknota-profile-container .profile-action-group .btn.primary.save-button,
  #teknota-profile-container .profile-action-group .btn.secondary.cancel-button,
  #teknota-profile-container .profile-action-group .btn.danger.report-profile-btn {
    width: 150px !important;
    min-width: 150px !important;
    max-width: 150px !important;
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    font-weight: normal !important;
    font-size: 14px !important;
  }
  
  /* Override any potential font-weight declarations */
  .profile-action-group .btn span,
  .profile-action-group .btn .btn-label,
  .profile-action-group .btn .btn-text,
  .profile-action-group button span,
  .profile-action-group button .btn-label,
  .profile-action-group button .btn-text,
  #teknota-profile-container .profile-action-group .btn span,
  #teknota-profile-container .profile-action-group .btn .btn-label,
  #teknota-profile-container .profile-action-group .btn .btn-text,
  #teknota-profile-container .profile-action-group .btn.primary.edit-profile-button .btn-label,
  #teknota-profile-container .profile-action-group .btn.primary.save-button span,
  #teknota-profile-container .profile-action-group .btn.secondary.cancel-button span,
  #teknota-profile-container .profile-action-group .btn.danger.report-profile-btn .btn-text {
    font-weight: normal !important;
    font-size: 14px !important;
  }
}

/* Ensure we override any other competing rules */
@media (max-width: 427px) {
  .profile-action-group,
  #teknota-profile-container .profile-action-group {
    width: 150px !important;
    min-width: 150px !important;
    max-width: 150px !important;
  }
  
  .profile-action-group .btn,
  .profile-action-group button,
  #teknota-profile-container .profile-action-group .btn,
  #teknota-profile-container .profile-action-group .btn.primary,
  #teknota-profile-container .profile-action-group .btn.primary.edit-profile-button,
  #teknota-profile-container .profile-action-group .btn.primary.modern-form-btn, /* EKLENDİ */
  #teknota-profile-container .profile-action-group .btn.primary.save-button,
  #teknota-profile-container .profile-action-group .btn.secondary.cancel-button,
  #teknota-profile-container .profile-action-group .btn.danger.report-profile-btn {
    width: 150px !important;
    min-width: 150px !important;
    max-width: 150px !important;
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    font-weight: normal !important;
  }
}

/* Override specific rule that could be causing problems */
#teknota-profile-container .profile-action-group .btn.primary.edit-profile-button,
#teknota-profile-container .profile-action-group .btn.primary.save-button,
#teknota-profile-container .profile-action-group .btn.secondary.cancel-button,
#teknota-profile-container .profile-action-group .btn.danger.report-profile-btn {
  font-weight: normal !important;
  transition: all 0.2s cubic-bezier(.4,0,.2,1) !important;
}

@media (max-width: 425px) {
  #teknota-profile-container .profile-action-group .btn.primary.edit-profile-button,
  #teknota-profile-container .profile-action-group .btn.primary.save-button,
  #teknota-profile-container .profile-action-group .btn.secondary.cancel-button,
  #teknota-profile-container .profile-action-group .btn.danger.report-profile-btn {
    width: 150px !important;
    min-width: 150px !important;
    max-width: 150px !important;
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    font-weight: normal !important;
    font-size: 14px !important;
    border-radius: 12px !important;
    gap: 0.3rem !important;
  }
  
  #teknota-profile-container .profile-action-group .btn.primary.edit-profile-button .btn-label,
  #teknota-profile-container .profile-action-group .btn.primary.save-button span,
  #teknota-profile-container .profile-action-group .btn.secondary.cancel-button span,
  #teknota-profile-container .profile-action-group .btn.danger.report-profile-btn .btn-text {
    font-weight: normal !important;
    font-size: 14px !important;
    margin-left: 0.3rem !important;
  }
}

/* Remove bold from edit-profile-button and its label/text */
#teknota-profile-container .profile-action-group .btn.primary.edit-profile-button,
#teknota-profile-container .profile-action-group .btn.primary.edit-profile-button .btn-label,
#teknota-profile-container .profile-action-group .btn.primary.save-button span,
#teknota-profile-container .profile-action-group .btn.secondary.cancel-button span,
#teknota-profile-container .profile-action-group .btn.danger.report-profile-btn .btn-text {
  font-weight: normal !important;
}

@media (max-width: 425px) {
  #teknota-profile-container .profile-action-group .btn.primary.edit-profile-button,
  #teknota-profile-container .profile-action-group .btn.primary.edit-profile-button .btn-label {
    font-weight: normal !important;
  }
}

@media (max-width: 401px) {
  #teknota-profile-container .profile-action-group .btn.primary.edit-profile-button,
  #teknota-profile-container .profile-action-group button.btn.primary.edit-profile-button,
  #teknota-profile-container .profile-action-group .edit-profile-button,
  .profile-action-group .btn.primary.edit-profile-button,
  .profile-action-group button.btn.primary.edit-profile-button,
  .profile-action-group .edit-profile-button,
  .btn.primary.edit-profile-button {
    background-color: rgba(180,70,25,1) !important;
    color: #fff !important;
  }
}

/* Make edit-profile-button text and icon responsive */
@media (max-width: 768px) {
  #teknota-profile-container .profile-action-group .btn.primary.edit-profile-button,
  #teknota-profile-container .profile-action-group button.btn.primary.edit-profile-button,
  #root #teknota-profile-container .profile-action-group .btn.primary.edit-profile-button {
    font-size: 0.9rem !important;
  }
  
  #teknota-profile-container .profile-action-group .btn.primary.edit-profile-button i,
  #teknota-profile-container .profile-action-group button.btn.primary.edit-profile-button i,
  #root #teknota-profile-container .profile-action-group .btn.primary.edit-profile-button i {
    font-size: 0.9rem !important;
  }
  
  #teknota-profile-container .profile-action-group .btn.primary.edit-profile-button .btn-label,
  #teknota-profile-container .profile-action-group button.btn.primary.edit-profile-button .btn-label,
  #root #teknota-profile-container .profile-action-group .btn.primary.edit-profile-button .btn-label {
    font-size: 0.9rem !important;
  }
}

@media (max-width: 480px) {
  #teknota-profile-container .profile-action-group .btn.primary.edit-profile-button,
  #teknota-profile-container .profile-action-group button.btn.primary.edit-profile-button,
  #root #teknota-profile-container .profile-action-group .btn.primary.edit-profile-button {
    font-size: 0.85rem !important;
  }
  
  #teknota-profile-container .profile-action-group .btn.primary.edit-profile-button i,
  #teknota-profile-container .profile-action-group button.btn.primary.edit-profile-button i,
  #root #teknota-profile-container .profile-action-group .btn.primary.edit-profile-button i {
    font-size: 0.85rem !important;
  }
  
  #teknota-profile-container .profile-action-group .btn.primary.edit-profile-button .btn-label,
  #teknota-profile-container .profile-action-group button.btn.primary.edit-profile-button .btn-label,
  #root #teknota-profile-container .profile-action-group .btn.primary.edit-profile-button .btn-label {
    font-size: 0.85rem !important;
  }
}

@media (max-width: 425px) {
  #teknota-profile-container .profile-action-group .btn.primary.edit-profile-button,
  #teknota-profile-container .profile-action-group button.btn.primary.edit-profile-button,
  #root #teknota-profile-container .profile-action-group .btn.primary.edit-profile-button {
    font-size: 0.8rem !important;
  }
  
  #teknota-profile-container .profile-action-group .btn.primary.edit-profile-button i,
  #teknota-profile-container .profile-action-group button.btn.primary.edit-profile-button i,
  #root #teknota-profile-container .profile-action-group .btn.primary.edit-profile-button i {
    font-size: 0.8rem !important;
  }
  
  #teknota-profile-container .profile-action-group .btn.primary.edit-profile-button .btn-label,
  #teknota-profile-container .profile-action-group button.btn.primary.edit-profile-button .btn-label,
  #root #teknota-profile-container .profile-action-group .btn.primary.edit-profile-button .btn-label {
    font-size: 0.8rem !important;
  }
}

/* Ensure consistent sizing with all three profile buttons */
@media (max-width: 425px) {
  #teknota-profile-container .profile-action-group .btn.primary.edit-profile-button,
  #teknota-profile-container .profile-action-group .btn.primary.save-button,
  #teknota-profile-container .profile-action-group .btn.secondary.cancel-button,
  #teknota-profile-container .profile-action-group .btn.danger.report-profile-btn {
    width: 150px !important;
    min-width: 150px !important;
    max-width: 150px !important;
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    font-weight: normal !important;
    font-size: 14px !important;
  }
  
  #teknota-profile-container .profile-action-group .btn.primary.edit-profile-button i,
  #teknota-profile-container .profile-action-group .btn.primary.save-button i,
  #teknota-profile-container .profile-action-group .btn.secondary.cancel-button i,
  #teknota-profile-container .profile-action-group .btn.danger.report-profile-btn i {
    font-size: 14px !important;
  }
  
  #teknota-profile-container .profile-action-group .btn.primary.edit-profile-button .btn-label,
  #teknota-profile-container .profile-action-group .btn.primary.save-button span,
  #teknota-profile-container .profile-action-group .btn.secondary.cancel-button span,
  #teknota-profile-container .profile-action-group .btn.danger.report-profile-btn .btn-text {
    font-weight: normal !important;
    font-size: 14px !important;
  }
}

#teknota-profile-container .profile-action-group .btn.primary.edit-profile-button,
#teknota-profile-container .profile-action-group .btn.primary.save-button,
#teknota-profile-container .profile-action-group .btn.secondary.cancel-button,
#teknota-profile-container .profile-action-group .btn.danger.report-profile-btn {
  gap: 0.25rem !important;
}

#teknota-profile-container .profile-action-group .btn.primary.edit-profile-button .btn-label {
  margin-left: 4px !important;
}

#teknota-profile-container .profile-action-group .btn.primary.edit-profile-button i {
  margin-right: 0 !important;
  margin-left: 0 !important;
  padding: 0 !important;
}

@media (max-width: 425px) {
  #teknota-profile-container .profile-action-group .btn.primary.edit-profile-button .btn-label,
  #teknota-profile-container .profile-action-group .btn.primary.save-button span,
  #teknota-profile-container .profile-action-group .btn.secondary.cancel-button span,
  #teknota-profile-container .profile-action-group .btn.danger.report-profile-btn .btn-text {
    font-weight: normal !important;
    font-size: 14px !important;
    margin-left: 4px !important;
  }
  
  /* Ensure all button labels have the same font size */
  #teknota-profile-container .profile-action-group .btn.primary.edit-profile-button,
  #teknota-profile-container .profile-action-group .btn.primary.edit-profile-button .btn-label,
  #teknota-profile-container .profile-action-group .btn.primary.edit-profile-button i {
    font-size: 14px !important;
  }
}

@media (max-width: 425px) {
  /* Reset any specific rules that might be affecting the edit button differently */
  #teknota-profile-container .profile-action-group .btn.primary.edit-profile-button,
  #teknota-profile-container .profile-action-group button.btn.primary.edit-profile-button,
  #root #teknota-profile-container .profile-action-group .btn.primary.edit-profile-button {
    font-size: 14px !important;
    font-weight: normal !important;
  }
  
  /* Apply consistent styling to all button texts */
  #teknota-profile-container .profile-action-group .btn.primary.edit-profile-button .btn-label,
  #teknota-profile-container .profile-action-group button.btn.primary.edit-profile-button .btn-label,
  #root #teknota-profile-container .profile-action-group .btn.primary.edit-profile-button .btn-label,
  #teknota-profile-container .profile-action-group .btn.primary.save-button span,
  #teknota-profile-container .profile-action-group .btn.secondary.cancel-button span,
  #teknota-profile-container .profile-action-group .btn.danger.report-profile-btn .btn-text {
    font-size: 14px !important;
    font-weight: normal !important;
    margin-left: 4px !important;
    line-height: normal !important;
    display: inline-block !important;
    vertical-align: middle !important;
    font-family: inherit !important;
  }
  
  /* Ensure icons have the same size as well */
  #teknota-profile-container .profile-action-group .btn.primary.edit-profile-button i,
  #teknota-profile-container .profile-action-group button.btn.primary.edit-profile-button i,
  #root #teknota-profile-container .profile-action-group .btn.primary.edit-profile-button i,
  #teknota-profile-container .profile-action-group .btn.primary.save-button i,
  #teknota-profile-container .profile-action-group .btn.secondary.cancel-button i,
  #teknota-profile-container .profile-action-group .btn.danger.report-profile-btn i {
    font-size: 14px !important;
    line-height: normal !important;
    vertical-align: middle !important;
  }
  
  /* Ensure the gap is consistent */
  #teknota-profile-container .profile-action-group .btn.primary.edit-profile-button,
  #teknota-profile-container .profile-action-group button.btn.primary.edit-profile-button,
  #root #teknota-profile-container .profile-action-group .btn.primary.edit-profile-button,
  #teknota-profile-container .profile-action-group .btn.primary.save-button,
  #teknota-profile-container .profile-action-group .btn.secondary.cancel-button,
  #teknota-profile-container .profile-action-group .btn.danger.report-profile-btn {
    gap: 0.25rem !important;
  }
}

/* High specificity rule for edit-profile-button text at 425px */
@media (max-width: 425px) {
  #teknota-profile-container .profile-action-group .btn.primary.edit-profile-button,
  #teknota-profile-container .profile-action-group button.btn.primary.edit-profile-button,
  #root #teknota-profile-container .profile-action-group .btn.primary.edit-profile-button,
  html body #teknota-profile-container .profile-action-group .btn.primary.edit-profile-button {
    font-size: 14px !important;
    font-weight: normal !important;
  }
  
  #teknota-profile-container .profile-action-group .btn.primary.edit-profile-button .btn-label,
  #teknota-profile-container .profile-action-group button.btn.primary.edit-profile-button .btn-label,
  #root #teknota-profile-container .profile-action-group .btn.primary.edit-profile-button .btn-label,
  html body #teknota-profile-container .profile-action-group .btn.primary.edit-profile-button .btn-label {
    font-size: 14px !important;
    font-weight: normal !important;
  }
  
  #teknota-profile-container .profile-action-group .btn.primary.edit-profile-button i,
  #teknota-profile-container .profile-action-group button.btn.primary.edit-profile-button i,
  #root #teknota-profile-container .profile-action-group .btn.primary.edit-profile-button i,
  html body #teknota-profile-container .profile-action-group .btn.primary.edit-profile-button i {
    font-size: 14px !important;
  }
}

/* Match edit-profile-button text size with profile-share-btn at all screen sizes */
#teknota-profile-container .profile-action-group .btn.primary.edit-profile-button,
#teknota-profile-container .profile-action-group button.btn.primary.edit-profile-button,
.profile-action-group .btn.primary.edit-profile-button,
.profile-action-group button.btn.primary.edit-profile-button {
  font-size: 1rem !important;
}

#teknota-profile-container .profile-action-group .btn.primary.edit-profile-button .btn-label,
#teknota-profile-container .profile-action-group button.btn.primary.edit-profile-button .btn-label,
.profile-action-group .btn.primary.edit-profile-button .btn-label,
.profile-action-group button.btn.primary.edit-profile-button .btn-label {
  font-size: 1rem !important;
}

/* Responsive sizes matching the profile-share-btn sizes */
@media (max-width: 900px) {
  #teknota-profile-container .profile-action-group .btn.primary.edit-profile-button,
  #teknota-profile-container .profile-action-group button.btn.primary.edit-profile-button,
  .profile-action-group .btn.primary.edit-profile-button,
  .profile-action-group button.btn.primary.edit-profile-button,
  #teknota-profile-container .profile-action-group .btn.primary.edit-profile-button .btn-label,
  #teknota-profile-container .profile-action-group button.btn.primary.edit-profile-button .btn-label,
  .profile-action-group .btn.primary.edit-profile-button .btn-label,
  .profile-action-group button.btn.primary.edit-profile-button .btn-label {
    font-size: 15px !important;
  }
}

@media (max-width: 600px) {
  #teknota-profile-container .profile-action-group .btn.primary.edit-profile-button,
  #teknota-profile-container .profile-action-group button.btn.primary.edit-profile-button,
  .profile-action-group .btn.primary.edit-profile-button,
  .profile-action-group button.btn.primary.edit-profile-button,
  #teknota-profile-container .profile-action-group .btn.primary.edit-profile-button .btn-label,
  #teknota-profile-container .profile-action-group button.btn.primary.edit-profile-button .btn-label,
  .profile-action-group .btn.primary.edit-profile-button .btn-label,
  .profile-action-group button.btn.primary.edit-profile-button .btn-label {
    font-size: 14px !important;
  }
}

@media (max-width: 425px) {
  #teknota-profile-container .profile-action-group .btn.primary.edit-profile-button,
  #teknota-profile-container .profile-action-group button.btn.primary.edit-profile-button,
  #root #teknota-profile-container .profile-action-group .btn.primary.edit-profile-button,
  html body #teknota-profile-container .profile-action-group .btn.primary.edit-profile-button,
  .profile-action-group .btn.primary.edit-profile-button,
  .profile-action-group button.btn.primary.edit-profile-button {
    font-size: 14px !important;
    font-weight: normal !important;
  }
  
  #teknota-profile-container .profile-action-group .btn.primary.edit-profile-button .btn-label,
  #teknota-profile-container .profile-action-group button.btn.primary.edit-profile-button .btn-label,
  #root #teknota-profile-container .profile-action-group .btn.primary.edit-profile-button .btn-label,
  html body #teknota-profile-container .profile-action-group .btn.primary.edit-profile-button .btn-label,
  .profile-action-group .btn.primary.edit-profile-button .btn-label,
  .profile-action-group button.btn.primary.edit-profile-button .btn-label {
    font-size: 14px !important;
    font-weight: normal !important;
  }
  
  #teknota-profile-container .profile-action-group .btn.primary.edit-profile-button i,
  #teknota-profile-container .profile-action-group button.btn.primary.edit-profile-button i,
  #root #teknota-profile-container .profile-action-group .btn.primary.edit-profile-button i,
  html body #teknota-profile-container .profile-action-group .btn.primary.edit-profile-button i,
  .profile-action-group .btn.primary.edit-profile-button i,
  .profile-action-group button.btn.primary.edit-profile-button i {
    font-size: 14px !important;
  }
}

.profile-loading-notes-wrapper {
  width: 100%;
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  background: var(--bg-primary, #fff);
}

body[data-theme='dark'] .profile-loading-notes-wrapper {
  background-color: var(--dark-bg-secondary);
  color: var(--dark-text-secondary);
}

/* Mobile adjustments for favorite heart button */
@media (max-width: 768px) {
    .favorite-heart-btn {
        width: 26px;
        height: 26px;
        min-width: 26px;
        min-height: 26px;
        max-width: 26px;
        max-height: 26px;
        top: -13px !important;
        right: -13px !important;
    }
}

@media (max-width: 480px) {
    .favorite-heart-btn {
        width: 24px;
        height: 24px;
        min-width: 24px;
        min-height: 24px;
        max-width: 24px;
        max-height: 24px;
        top: -12px !important;
        right: -12px !important;
    }
}

#teknota-profile-container .profile-action-group .btn.edit-profile-button,
#teknota-profile-container .profile-action-group .btn.report-profile-btn,
#teknota-profile-container .profile-action-group .btn[data-button-type="report"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#teknota-profile-container .profile-action-group .btn.edit-profile-button {
    background-color: rgba(180,70,25,1);
    color: #fff;
}

#teknota-profile-container .profile-action-group .btn.report-profile-btn {
    background-color: #e74c3c;
    color: #fff;
}

#teknota-profile-container .profile-action-group .btn.edit-profile-button .btn-label,
#teknota-profile-container .profile-action-group .btn.report-profile-btn .btn-text {
    margin-left: 5px;
}

#teknota-profile-container .profile-action-group .btn.edit-profile-button i,
#teknota-profile-container .profile-action-group .btn.report-profile-btn i {
    font-size: 16px;
}

#teknota-profile-container .profile-action-group .btn.edit-profile-button .btn-label,
#teknota-profile-container .profile-action-group .btn.report-profile-btn .btn-text {
    font-weight: 500;
}

#teknota-profile-container .profile-action-group .btn.edit-profile-button i,
#teknota-profile-container .profile-action-group .btn.report-profile-btn i {
    transition: transform 0.2s ease;
}

#teknota-profile-container .profile-action-group .btn.edit-profile-button,
#teknota-profile-container .profile-action-group .btn.report-profile-btn {
    transition: all 0.3s ease;
    position: relative;
}

#teknota-profile-container .profile-action-group .btn.edit-profile-button .btn-label,
#teknota-profile-container .profile-action-group .btn.report-profile-btn .btn-text,
#teknota-profile-container .profile-action-group .save-button span,
#teknota-profile-container .profile-action-group .btn.primary.save-button span,
#teknota-profile-container .profile-action-group .cancel-button span,
#teknota-profile-container .profile-action-group .btn.secondary.cancel-button span {
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#teknota-profile-container .profile-action-group .btn.edit-profile-button i,
#teknota-profile-container .profile-action-group .btn.report-profile-btn i,
#teknota-profile-container .profile-action-group .save-button i,
#teknota-profile-container .profile-action-group .btn.primary.save-button i,
#teknota-profile-container .profile-action-group .cancel-button i,
#teknota-profile-container .profile-action-group .btn.secondary.cancel-button i {
    margin: 0;
    padding: 0;
    font-size: 18px;
}

#teknota-profile-container .profile-action-group .btn.primary.edit-profile-button,
#teknota-profile-container .profile-action-group .btn.primary.save-button,
#teknota-profile-container .profile-action-group .btn.secondary.cancel-button,
#teknota-profile-container .profile-action-group .btn.danger.report-profile-btn {
    display: flex;
    align-items: center;
    justify-content: center;
}

#teknota-profile-container .profile-action-group .btn.primary.edit-profile-button .btn-label,
#teknota-profile-container .profile-action-group .btn.primary.save-button span,
#teknota-profile-container .profile-action-group .btn.secondary.cancel-button span,
#teknota-profile-container .profile-action-group .btn.danger.report-profile-btn .btn-text {
    margin-left: 5px;
}

#teknota-profile-container .profile-action-group .btn.primary.edit-profile-button i,
#teknota-profile-container .profile-action-group .btn.primary.save-button i,
#teknota-profile-container .profile-action-group .btn.secondary.cancel-button i,
#teknota-profile-container .profile-action-group .btn.danger.report-profile-btn i {
    font-size: 16px;
}

#teknota-profile-container .profile-action-group .btn.primary.edit-profile-button:hover,
#teknota-profile-container .profile-action-group .btn.primary.save-button:hover,
#teknota-profile-container .profile-action-group .btn.secondary.cancel-button:hover,
#teknota-profile-container .profile-action-group .btn.danger.report-profile-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

#teknota-profile-container .profile-action-group .btn.primary.edit-profile-button:active,
#teknota-profile-container .profile-action-group .btn.primary.save-button:active,
#teknota-profile-container .profile-action-group .btn.secondary.cancel-button:active,
#teknota-profile-container .profile-action-group .btn.danger.report-profile-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#teknota-profile-container .profile-action-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

#teknota-profile-container .profile-action-group .btn,
#teknota-profile-container .profile-action-group button {
    width: 100%;
    min-width: 0;
}

#teknota-profile-container .profile-action-group {
    top: 0;
    right: 0;
    position: absolute;
}

#teknota-profile-container .profile-action-group .btn,
#teknota-profile-container .profile-action-group button {
    height: 40px;
    font-size: 0.95rem;
}

#teknota-profile-container .profile-action-group {
    padding-top: 10px;
    padding-right: 10px;
}

#teknota-profile-container .profile-action-group {
    z-index: 50;
}

#teknota-profile-container .profile-action-group .btn,
#teknota-profile-container .profile-action-group .btn.primary,
#teknota-profile-container .profile-action-group .btn.primary.edit-profile-button,
#teknota-profile-container .profile-action-group .btn.primary.modern-form-btn, /* EKLENDİ */
#teknota-profile-container .profile-action-group .btn.primary.save-button,
#teknota-profile-container .profile-action-group .btn.secondary.cancel-button,
#teknota-profile-container .profile-action-group .btn.danger.report-profile-btn {
    width: 100%;
    min-width: 0;
    max-width: 100%;
}

/* Approved work count placeholder for consistent layout between musician and customer profiles */
.approved-work-count-placeholder {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.approved-work-count-placeholder .approved-work-count {
    width: auto;
    min-width: 180px; /* Ensure enough width to match musician's counter */
}

.profile-action-group .btn.secondary.cancel-button,
#teknota-profile-container .profile-action-group .btn.secondary.cancel-button {
    background-color: #e74c3c !important;
    background-color: var(--danger-color, #e74c3c) !important;
    color: #fff !important;
    border: none !important;
}

.profile-action-group .btn.secondary.cancel-button:hover,
#teknota-profile-container .profile-action-group .btn.secondary.cancel-button:hover {
    background-color: #c0392b !important;
    color: #fff !important;
}

[data-theme='dark'] .profile-action-group .btn.secondary.cancel-button,
[data-theme='dark'] #teknota-profile-container .profile-action-group .btn.secondary.cancel-button {
    background-color: #e74c3c !important;
    background-color: var(--danger-color, #e74c3c) !important;
    color: #fff !important;
    border: none !important;
}

[data-theme='dark'] .profile-action-group .btn.secondary.cancel-button:hover,
[data-theme='dark'] #teknota-profile-container .profile-action-group .btn.secondary.cancel-button:hover {
    background-color: #c0392b !important;
    color: #fff !important;
}

/* Profile photo cancel button styles */
.profile-photo-cancel-btn,
.profile-action-group .profile-photo-cancel-btn,
#teknota-profile-container .profile-photo-cancel-btn,
[data-theme='dark'] .profile-photo-cancel-btn,
[data-theme='dark'] .profile-action-group .profile-photo-cancel-btn,
[data-theme='dark'] #teknota-profile-container .profile-photo-cancel-btn {
    background-color: #e74c3c !important;
    background-color: var(--danger-color, #e74c3c) !important;
    color: #fff !important;
    border: none !important;
}

.profile-photo-cancel-btn:hover,
.profile-action-group .profile-photo-cancel-btn:hover,
#teknota-profile-container .profile-photo-cancel-btn:hover,
[data-theme='dark'] .profile-photo-cancel-btn:hover,
[data-theme='dark'] .profile-action-group .profile-photo-cancel-btn:hover,
[data-theme='dark'] #teknota-profile-container .profile-photo-cancel-btn:hover {
    background-color: #c0392b !important;
    color: #fff !important;
}

/* Cancel button styles */
.btn.secondary.cancel-button,
.profile-action-group .btn.secondary.cancel-button,
#teknota-profile-container .profile-action-group .btn.secondary.cancel-button,
[data-theme='dark'] .btn.secondary.cancel-button,
[data-theme='dark'] .profile-action-group .btn.secondary.cancel-button,
[data-theme='dark'] #teknota-profile-container .profile-action-group .btn.secondary.cancel-button {
    background-color: #e74c3c !important;
    background-color: var(--danger-color, #e74c3c) !important;
    color: #fff !important;
    border: none !important;
}

.btn.secondary.cancel-button:hover,
.profile-action-group .btn.secondary.cancel-button:hover,
#teknota-profile-container .profile-action-group .btn.secondary.cancel-button:hover,
[data-theme='dark'] .btn.secondary.cancel-button:hover,
[data-theme='dark'] .profile-action-group .btn.secondary.cancel-button:hover,
[data-theme='dark'] #teknota-profile-container .profile-action-group .btn.secondary.cancel-button:hover {
    background-color: #c0392b !important;
    color: #fff !important;
}

/* Profile Header */
.profile-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    margin-bottom: var(--spacing-lg);
}

/* Profile Photo */
.profile-photo-section {
    position: relative;
    margin-bottom: var(--spacing-md);
}

.profile-photo {
    width: 150px;
    height: 150px;
    border-radius: 0 !important;
    overflow: visible !important;
    position: relative;
    margin: 0 auto;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-image {
    position: static;
    display: block;
    margin: 0;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    transition: none;
    transform: none !important;
}

.profile-image.loaded {
    display: block;
    margin: 0 auto;
    object-fit: cover;
    max-width: 100%;
    max-height: 100%;
}

.profile-photo:hover .profile-image {
    transform: none !important; /* Force no transform on hover with !important */
}

/* Profile Title */
.profile-title {
    margin-bottom: var(--spacing-md);
    width: 100%;
    position: relative;
}

.profile-title h1 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.username {
    color: var(--text-secondary);
    font-size: var(--font-size-base);
    margin-top: var(--spacing-xs);
}

/* Profile Actions */
.profile-header-button-group {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.profile-title-actions {
    /* Remove absolute positioning to prevent overlap */
    /* position: absolute; */
    /* top: 0; */
    /* right: 0; */
    display: flex;
    gap: var(--spacing-sm);
}

/* Profile Buttons */
.profile-button {
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-weight: 500;
    min-width: 100px;
    text-align: center;
}

.profile-button.save-button {
    background-color: var(--primary-color);
    color: white;
}

.profile-button.save-button:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

.profile-button.cancel-button {
    background-color: var(--danger-color);
    color: white;
}

.profile-button.cancel-button:hover {
    background-color: #c82333;
    transform: translateY(-2px);
}

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

.profile-actions button {
    flex: 1 1;
}

/* Edit Profile Button */
.edit-profile-button,
.delete-profile-button {
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius-md);
    font-size: var(--font-size-sm);
    font-weight: 500;
    transition: all var(--transition-base) var(--transition-timing);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    cursor: pointer;
    border: none;
}

.edit-profile-button {
    background-color: var(--primary-color);
    color: white;
}

.edit-profile-button:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

.delete-profile-button {
    background-color: rgba(156,49,52,255) !important;
    color: white;
    display: block;
    margin: 2rem auto 0 auto !important;
    max-width: 200px;
    width: 100%;
    text-align: center;
}

.delete-profile-button:hover {
    background-color: rgba(136,29,32,255) !important;
    transform: translateY(-2px);
}

/* Profili Sil butonunu saran özel div için de bottom margin 0 */
.delete-profile-button-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    margin-bottom: 0 !important;
    padding: 0 1rem;
}

/* Photo Update Button */
.photo-update-button {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-base) var(--transition-timing);
    box-shadow: var(--shadow-sm);
    z-index: 5; /* Ensure button stays above the image */
    transform: none; /* Prevent transform from affecting parent */
}

.photo-update-button:hover {
    background-color: transparent !important;
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    transform: none !important; /* Prevent movement on hover */
}

/* Dark Theme */
[data-theme='dark'] .profile-title h1 {
    color: var(--dark-text-primary);
}

[data-theme='dark'] .username {
    color: var(--dark-text-secondary);
}

[data-theme='dark'] .edit-profile-button {
    background-color: var(--primary-color);
}

[data-theme='dark'] .edit-profile-button:hover {
    background-color: var(--primary-hover);
}

[data-theme='dark'] .delete-profile-button {
    background-color: rgba(156,49,52,255) !important;
}

[data-theme='dark'] .delete-profile-button:hover {
    background-color: rgba(136,29,32,255) !important;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .profile-photo {
        width: 120px;
        height: 120px;
    }

    .profile-title {
        padding-top: 50px;
    }

    .profile-title h1 {
        font-size: var(--font-size-lg);
    }

    .profile-title-actions {
        width: 100%;
        right: 0;
        top: -5px;
        justify-content: flex-end;
    }

    /* .profile-header-button-group {
        flex-direction: column;
        width: 100%;
    } */

    .edit-profile-button,
    .delete-profile-button {
        width: 100%;
        justify-content: center;
    }
    
    .profile-actions {
        width: 100%;
        display: flex;
        flex-direction: row;
        gap: 0.5rem;
    }
    
    .profile-actions button {
        flex: 1 1;
        min-width: 0;
        min-width: initial;
    }
}

@media (max-width: 480px) {
    .profile-photo {
        width: 100px;
        height: 100px;
    }

    .profile-title h1 {
        font-size: var(--font-size-base);
    }

    .username {
        font-size: var(--font-size-sm);
    }
    
    .profile-actions {
        flex-direction: column;
    }
    
    .profile-button {
        width: 100%;
    }
}

@media (max-width: 400px) {
    .edit-profile-button {
        background-color: var(--primary-color) !important;
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
        max-width: 40px !important;
        max-height: 40px !important;
        border-radius: 50% !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0 !important;
    }
    .edit-profile-button .btn-label {
        display: none !important;
    }
    .edit-profile-button i {
        margin: 0 !important;
        font-size: 1rem !important;
        line-height: 1 !important;
    }
}

.profile-header-actions-flex {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: 4px;
    margin-bottom: 4px;
    position: relative;
    z-index: 1000;
}

.profile-header-actions-flex > * {
  min-width: 140px;
  height: 44px;
  border-radius: 12px;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 0 22px;
  margin: 0;
  font-weight: 600;
  gap: 7px;
  flex: 1 1;
  max-width: 180px;
}

.profile-header-actions-flex .work-approval-sent {
  background: #1a3d2b;
  color: #19c37d;
  border: none;
  box-shadow: none;
}

.profile-header-actions-flex button,
.profile-header-actions-flex .profile-share-btn {
  z-index: 1001;
  pointer-events: auto;
}

.profile-share-menu {
  z-index: 900;
}

.profile-title-row {
    min-height: 0 !important;
    min-height: initial !important;
    height: auto !important;
    padding: 0 !important;
    margin-top: 0.5rem !important;
    margin-bottom: 0.5rem !important;
    background: none !important;
}
.profile-title-row > * {
    min-height: 0 !important;
    min-height: initial !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    background: none !important;
}

@media (max-width: 768px) {
  .profile-title-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    height: auto;
  }
  .profile-title-actions {
    width: 100%;
    margin-top: 8px;
  }
}

@media (max-width: 600px) {
  .profile-header-actions-flex {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .profile-header-actions-flex > * {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    justify-content: center;
    text-align: center;
  }
}

.share-profile-button {
    background-color: rgba(156,49,52,255) !important;
    color: white;
    display: block;
    margin: 2rem auto;
    max-width: 200px;
    width: 100%;
    text-align: center;
}

.share-profile-button:hover {
    background-color: rgba(136,29,32,255) !important;
    transform: translateY(-2px);
}

[data-theme='dark'] .share-profile-button {
    background-color: rgba(156,49,52,255) !important;
}

[data-theme='dark'] .share-profile-button:hover {
    background-color: rgba(136,29,32,255) !important;
}

.share-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 1rem;
    gap: 1rem;
    margin-top: 1rem;
}

.share-option-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    background-color: #f5f5f5;
    color: #333;
    transition: all 0.3s ease;
}

.share-option-button:hover {
    background-color: #e0e0e0;
    transform: translateY(-2px);
}

.share-option-button i {
    font-size: 1.2rem;
}

/* WhatsApp button */
.share-option-button:nth-child(1) {
    background-color: #25D366;
    color: white;
}

/* Telegram button */
.share-option-button:nth-child(2) {
    background-color: #0088cc;
    color: white;
}

/* Twitter button */
.share-option-button:nth-child(3) {
    background-color: #1DA1F2;
    color: white;
}

/* Copy link button */
.share-option-button:nth-child(4) {
    background-color: #6c757d;
    color: white;
}

[data-theme='dark'] .share-option-button {
    background-color: #333;
    color: #f5f5f5;
}

[data-theme='dark'] .share-option-button:hover {
    background-color: #444;
}

[data-theme='dark'] .share-option-button:nth-child(1) {
    background-color: #25D366;
    color: white;
}

[data-theme='dark'] .share-option-button:nth-child(2) {
    background-color: #0088cc;
    color: white;
}

[data-theme='dark'] .share-option-button:nth-child(3) {
    background-color: #1DA1F2;
    color: white;
}

[data-theme='dark'] .share-option-button:nth-child(4) {
    background-color: #6c757d;
    color: white;
}

/* work-approval-row: Buton ve mesajı responsive hizalar */
.work-approval-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .work-approval-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
  .work-approval-row .work-approval-sent {
    margin-bottom: 0.25rem;
  }
}

/* Ortak başlık stili: Fotoğraflar, YouTube Video, İletişim */
.profile-section h2,
.media-photos-title h2,
.youtube-section .info-label,
.contact-info-item .media-photos-title h2 {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  font-family: 'Inter', Arial, sans-serif;
  font-family: var(--font-family, 'Inter', Arial, sans-serif);
  color: var(--text-primary);
  margin: 1.5rem 0 1rem 0;
  letter-spacing: 0.01em;
}

/* h2 ve info-label başlıklarının üstten marginini sıfırla */
h2,
.info-label {
  margin-top: 0 !important;
}

[data-theme='dark'] .profile-section h2,
[data-theme='dark'] .media-photos-title h2,
[data-theme='dark'] .youtube-section .info-label,
[data-theme='dark'] .contact-info-item .media-photos-title h2 {
  color: var(--dark-text-primary);
}

/* Profile Photo Modal Overlay */
.profile-photo-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    animation: modalFadeIn 0.2s;
}

.profile-photo-modal-content {
    background: transparent;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
    padding: 0;
    max-width: 80vw;
    max-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: zoomIn 0.25s;
    position: relative;
}

.profile-photo-modal-img {
    max-width: 70vw;
    max-height: 70vh;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.3);
    background: #222;
    object-fit: contain;
    transition: box-shadow 0.2s;
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0.5; }
    to { transform: scale(1); opacity: 1; }
}

.profile-photo-modal-img-wrapper {
    position: relative;
    display: inline-block;
    width: auto;
    height: auto;
}

.profile-photo-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #e74c3c;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    cursor: pointer;
    z-index: 1000;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}

.profile-photo-modal-close:hover {
    background: #e74c3c;
    color: #fff;
    box-shadow: 0 4px 16px rgba(231,76,60,0.18);
}

/* Additional profile photo modal styles */
.profile-photo-modal {
    background: transparent;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
    padding: 0;
    max-width: 80vw;
    max-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: zoomIn 0.25s;
    position: relative;
}

.profile-photo-modal-image {
    max-width: 70vw;
    max-height: 70vh;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.3);
    background: #222;
    object-fit: contain;
    transition: box-shadow 0.2s;
}

.close-photo-modal {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #e74c3c;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    cursor: pointer;
    z-index: 1000;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}

.close-photo-modal:hover {
    background: #c0392b;
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0,0,0,0.4);
}

@media screen and (max-width: 600px) {
    .profile-photo-modal {
        max-width: 90vw;
        max-height: 60vh;
    }

    .profile-photo-modal-image {
        max-width: 85vw;
        max-height: 50vh;
    }

    .close-photo-modal {
        top: 10px;
        right: 10px;
        width: 32px;
        height: 32px;
    }
} 
/* Media Section */
.media-section {
    margin-top: var(--spacing-lg);
    padding: var(--spacing-md);
    background-color: var(--bg-secondary);
    border-radius: var(--border-radius-lg);
}

/* Media Grid */
.media-photos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    grid-gap: var(--spacing-md);
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

/* Media Item */
.media-photo-container {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base) var(--transition-timing);
    background-color: var(--bg-secondary);
}

.media-photo {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-base) var(--transition-timing);
}

.media-photo-container:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.media-photo-container:hover .media-photo {
    transform: scale(1.05);
}

/* Remove Photo Button */
.remove-photo-button {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--danger-color);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: all var(--transition-base) var(--transition-timing);
    box-shadow: var(--shadow-sm);
}

.media-photo-container:hover .remove-photo-button {
    opacity: 1;
}

.remove-photo-button:hover {
    background-color: var(--danger-color);
    color: white;
    transform: scale(1.1);
}

/* Upload Section */
.photo-upload-container {
    border: 2px dashed var(--border-color);
    border-radius: var(--border-radius-md);
    padding: var(--spacing-lg);
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-base) var(--transition-timing);
    background-color: var(--bg-primary);
    margin-top: var(--spacing-md);
}

.photo-upload-container:hover {
    border-color: var(--primary-color);
    background-color: var(--bg-hover);
}

.upload-photo-button {
    color: var(--text-secondary);
    font-size: var(--font-size-base);
    margin-top: var(--spacing-sm);
}

/* Media Upload Button */
.media-upload-button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius-md);
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: var(--font-size-sm);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-base) var(--transition-timing);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    margin-top: var(--spacing-md);
}

.media-upload-button:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

/* No Media State */
.no-media-photos {
    text-align: center;
    padding: var(--spacing-lg);
    color: var(--text-secondary);
    background-color: var(--bg-secondary);
    border-radius: var(--border-radius-md);
    font-style: italic;
}

/* YouTube Section */
.youtube-section {
    margin-top: var(--spacing-lg);
    padding: var(--spacing-md);
    background-color: var(--bg-secondary);
    border-radius: var(--border-radius-lg);
}

.youtube-embed {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    margin-top: var(--spacing-md);
}

.youtube-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius-md);
}

/* Carousel Styles - Completely Redesigned */
.media-photos-carousel {
    position: relative;
    margin-top: var(--spacing-md);
    padding-bottom: var(--spacing-lg);
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 0 auto;
    padding: 0;
    border-radius: var(--border-radius-md);
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
    margin: 0;
    padding: 0;
}

.carousel-page {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0;
    box-sizing: border-box;
    gap: 0;
}

.carousel-slide {
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: calc(33.333% - 10px);
    max-width: calc(33.333% - 10px);
    margin: 0 5px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide .media-photo-container {
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border-radius: var(--border-radius-md);
    background-color: #f5f5f5;
}

.carousel-slide .media-photo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-slide.empty {
    visibility: hidden;
}

/* Navigation Controls */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: var(--font-size-lg);
    color: var(--text-primary);
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.carousel-nav:hover {
    background-color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.carousel-nav.prev {
    left: 10px;
}

.carousel-nav.next {
    right: 10px;
}

.carousel-nav.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Indicator Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

/* Responsive Designs */
@media (max-width: 1200px) {
    .carousel-slide {
        flex-grow: 0;
        flex-shrink: 0;
        flex-basis: calc(33.333% - 8px);
        max-width: calc(33.333% - 8px);
        margin: 0 4px;
    }
}

@media (max-width: 768px) {
    .carousel-slide {
        flex-grow: 0;
        flex-shrink: 0;
        flex-basis: calc(33.333% - 6px);
        max-width: calc(33.333% - 6px);
        margin: 0 3px;
    }
    
    .carousel-nav {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    .carousel-container {
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        margin: 0;
        width: 100%;
        max-height: 180px;
    }
    
    .carousel-container::-webkit-scrollbar {
        display: none;
    }
    
    .carousel-track {
        transition: transform 0.4s ease-out;
        width: 100%;
    }
    
    .carousel-page {
        padding: 0 5px;
        margin: 0;
        width: 100%;
    }
    
    .carousel-slide {
        flex-grow: 0;
        flex-shrink: 0;
        flex-basis: calc(33.333% - 6px);
        max-width: calc(33.333% - 6px);
        margin: 0 3px;
    }
    
    .carousel-slide .media-photo-container {
        height: 0;
        padding-bottom: 100%;
    }
    
    .carousel-nav {
        width: 24px;
        height: 24px;
        font-size: 0.8rem;
        z-index: 30;
    }
    
    .carousel-nav.prev {
        left: 5px;
    }
    
    .carousel-nav.next {
        right: 5px;
    }
}

/* Daha küçük ekranlar için ek iyileştirmeler */
@media (max-width: 400px) {
    .carousel-container {
        max-height: 150px;
    }
    
    .carousel-track {
        transition: transform 0.3s ease-out;
    }
    
    .carousel-slide {
        flex-grow: 0;
        flex-shrink: 0;
        flex-basis: calc(33.333% - 4px);
        max-width: calc(33.333% - 4px);
        margin: 0 2px;
    }
    
    .carousel-nav {
        width: 28px !important;
        height: 28px !important;
        font-size: 0.85rem !important;
    }
    
    .carousel-nav.prev {
        left: 4px !important;
    }
    
    .carousel-nav.next {
        right: 4px !important;
    }
    
    .carousel-dots {
        margin-top: 10px;
        gap: 8px;
    }
    
    .dot.eighth-note::before {
        font-size: 16px;
    }
    
    .dot.eighth-note.active::before {
        font-size: 20px;
    }
}

/* Dark Theme */
[data-theme='dark'] .media-section,
[data-theme='dark'] .youtube-section {
    background-color: var(--dark-bg-secondary);
}

[data-theme='dark'] .photo-upload-container {
    border-color: var(--dark-bg-secondary);
    background-color: var(--dark-bg-primary);
}

[data-theme='dark'] .photo-upload-container:hover {
    border-color: var(--primary-color);
    background-color: var(--dark-bg-secondary);
}

[data-theme='dark'] .upload-photo-button {
    color: var(--dark-text-secondary);
}

[data-theme='dark'] .no-media-photos {
    background-color: var(--dark-bg-secondary);
    color: var(--dark-text-secondary);
}

[data-theme='dark'] .carousel-nav {
    background-color: rgba(50, 50, 50, 0.8);
    color: var(--dark-text-primary);
}

[data-theme='dark'] .carousel-nav:hover {
    background-color: var(--dark-bg-secondary);
}

[data-theme='dark'] .dot.eighth-note::before {
    color: #888;
}

[data-theme='dark'] .dot.eighth-note.active::before {
    color: #ff8c3f;
    text-shadow: 0 0 10px rgba(255, 140, 63, 0.8), 0 0 15px rgba(255, 140, 63, 0.5);
}

/* Single-headed eighth note */
.dot {
    width: 20px;
    height: 24px;
    background: transparent;
    cursor: pointer;
    position: relative;
    padding: 0;
    border: none;
    margin: 0 var(--spacing-xs);
}

/* Single-headed eighth note */
.dot.eighth-note::before {
    content: '\266A'; /* Single eighth note character (♪) */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(180deg);
    font-size: 18px;
    color: #aaa;
    transition: all 0.3s ease;
    text-shadow: none;
}

.dot.eighth-note.active::before {
    color: #ff6a00;
    font-size: 24px;
    text-shadow: 0 0 8px rgba(255, 106, 0, 0.7), 0 0 12px rgba(255, 106, 0, 0.4);
}

/* Dark Mode Styles */
[data-theme='dark'] .carousel-nav {
    background-color: rgba(50, 50, 50, 0.8);
    color: var(--dark-text-primary);
}

[data-theme='dark'] .carousel-nav:hover {
    background-color: var(--dark-bg-secondary);
}

[data-theme='dark'] .dot.eighth-note::before {
    color: #888;
}

[data-theme='dark'] .dot.eighth-note.active::before {
    color: #ff8c3f;
    text-shadow: 0 0 10px rgba(255, 140, 63, 0.8), 0 0 15px rgba(255, 140, 63, 0.5);
} 
/* Social Media Section */
.social-media-section {
    margin-top: var(--spacing-lg);
    padding: var(--spacing-md);
    background-color: var(--bg-secondary);
    border-radius: var(--border-radius-lg);
}

/* Social Media Links */
.social-media-display {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.social-media-link {
    display: grid;
    grid-template-columns: 24px 1fr;
    align-items: center;
    grid-gap: var(--spacing-md);
    gap: var(--spacing-md);
    padding: var(--spacing-sm) var(--spacing-md);
    background-color: var(--bg-primary);
    border-radius: var(--border-radius-md);
    color: var(--text-primary);
    text-decoration: none !important;
    transition: all var(--transition-base) var(--transition-timing);
    box-shadow: var(--shadow-sm);
}

/* Social Media Icons */
.social-media-link i {
    font-size: var(--font-size-lg);
    transition: color var(--transition-base) var(--transition-timing);
}

.social-media-link.twitter i { color: var(--twitter-color); }
.social-media-link.facebook i { color: var(--facebook-color); }
.social-media-link.instagram i { color: var(--instagram-color); }
.social-media-link.youtube i { color: var(--youtube-color); }
.social-media-link.tiktok i { color: var(--tiktok-color); }

/* Social Media Hover States */
.social-media-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.social-media-link.twitter:hover {
    background-color: var(--twitter-color);
    color: white;
}

.social-media-link.facebook:hover {
    background-color: var(--facebook-color);
    color: white;
}

.social-media-link.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.social-media-link.youtube:hover {
    background-color: var(--youtube-color);
    color: white;
}

.social-media-link.tiktok:hover {
    background-color: var(--tiktok-color);
    color: white;
}

.social-media-link:hover i {
    color: white;
}

/* Social Media Input */
.social-media-input {
    margin-bottom: var(--spacing-md);
    position: relative;
}

.social-media-input label {
    display: block;
    margin-bottom: var(--spacing-xs);
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    font-weight: 500;
    transition: all 0.3s ease;
}

.social-media-input-wrapper {
    display: flex;
    align-items: center;
    border: none;
    border-bottom: 2px solid var(--border-color);
    border-radius: 0;
    overflow: hidden;
    background-color: var(--bg-primary);
    transition: all 0.3s ease;
}

.social-media-input-wrapper:hover {
    border-color: var(--text-secondary);
}

.social-media-input-wrapper:focus-within {
    border-color: var(--primary-color);
    background-color: rgba(var(--primary-color-rgb), 0.02);
    box-shadow: 0 4px 6px rgba(50, 50, 93, 0.06), 0 1px 3px rgba(0, 0, 0, 0.08);
}

.social-media-prefix {
    padding: var(--spacing-sm) var(--spacing-md);
    background-color: transparent;
    color: var(--text-secondary);
    border-right: none;
    font-size: var(--font-size-sm);
    -webkit-user-select: none;
            user-select: none;
    font-weight: 500;
}

.social-media-input-field {
    flex: 1 1;
    padding: var(--spacing-md) var(--spacing-md) var(--spacing-sm);
    border: none;
    outline: none;
    font-size: var(--font-size-base);
    color: var(--text-primary);
    background-color: transparent;
    transition: all 0.3s ease;
}

.social-media-input-field:focus {
    background-color: transparent;
}

/* No Social Media State */
.no-social-media {
    text-align: center;
    padding: var(--spacing-lg);
    color: var(--text-secondary);
    background-color: var(--bg-secondary);
    border-radius: var(--border-radius-md);
    font-style: italic;
}

/* Dark Theme */
[data-theme='dark'] .social-media-section {
    background-color: var(--dark-bg-secondary);
}

[data-theme='dark'] .social-media-link {
    background-color: var(--dark-bg-primary);
    color: var(--dark-text-primary);
}

[data-theme='dark'] .social-media-input-wrapper {
    border-color: rgba(255, 255, 255, 0.2);
    background-color: var(--dark-bg-primary);
}

[data-theme='dark'] .social-media-input-wrapper:hover {
    border-color: rgba(255, 255, 255, 0.3);
}

[data-theme='dark'] .social-media-input-wrapper:focus-within {
    border-color: var(--primary-color);
    background-color: rgba(var(--primary-color-rgb), 0.05);
}

[data-theme='dark'] .social-media-prefix {
    background-color: transparent;
    color: var(--dark-text-secondary);
}

[data-theme='dark'] .social-media-input-field {
    color: var(--dark-text-primary);
}

[data-theme='dark'] .social-media-input-field:focus {
    background-color: transparent;
}

[data-theme='dark'] .no-social-media {
    background-color: var(--dark-bg-secondary);
    color: var(--dark-text-secondary);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .social-media-link {
        padding: var(--spacing-sm);
    }

    .social-media-link i {
        font-size: var(--font-size-base);
    }
}

@media (max-width: 480px) {
    .social-media-input-wrapper {
        flex-direction: row;
        align-items: center;
    }

    .social-media-prefix {
        width: auto;
        border-right: 1px solid var(--border-color);
        border-bottom: none;
        padding: var(--spacing-sm);
    }

    .social-media-input-field {
        width: auto;
        flex: 1 1;
        padding: var(--spacing-sm);
    }
} 
/* Reviews Section */
.reviews-section {
    margin-top: var(--spacing-lg);
    padding: var(--spacing-md);
    background-color: var(--bg-secondary);
    border-radius: var(--border-radius-lg);
}

/* Review Header */
.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
}

.review-info {
    flex: 1 1;
}

.reviewer-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
}

/* Rating Summary */
.rating-summary {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: 0;
    order: 1;
}

.rating-stars {
    color: var(--warning-color);
    font-size: var(--font-size-lg);
}

.rating-text {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
}

/* Review List */
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.review-item {
    padding: var(--spacing-md);
    background-color: var(--bg-primary);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base) var(--transition-timing);
}

.review-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Review Form */
.review-form {
    margin-top: var(--spacing-lg);
    padding: var(--spacing-md);
    background-color: var(--bg-primary);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
}

.review-form-header {
    margin-bottom: var(--spacing-md);
}

.review-form-header h4 {
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
}

.review-form-header p {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
}

/* Rating Input */
.rating-input-container {
    margin-bottom: var(--spacing-md);
}

.rating-input-container label {
    display: block;
    margin-bottom: var(--spacing-xs);
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
}

.rating-stars-container {
    display: flex;
    gap: var(--spacing-xs);
    font-size: var(--font-size-lg);
    color: var(--warning-color);
}

/* Comment Input */
.comment-input {
    margin-bottom: var(--spacing-md);
    position: relative;
}

.comment-input textarea {
    width: 100%;
    min-height: 120px;
    padding: var(--spacing-md);
    border: none;
    border-bottom: 2px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-size: var(--font-size-base);
    color: var(--text-primary);
    background-color: rgba(var(--primary-color-rgb), 0.03);
    resize: vertical;
    transition: all var(--transition-base) var(--transition-timing);
}

.comment-input textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: none;
    background-color: rgba(var(--primary-color-rgb), 0.05);
}

.comment-input textarea:hover {
    background-color: rgba(var(--primary-color-rgb), 0.05);
    border-color: var(--primary-hover);
}

/* Character Counter */
.char-counter {
    text-align: right;
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    margin-top: var(--spacing-xs);
}

.char-counter.warning {
    color: var(--danger-color);
}

/* Review Actions */
.review-form-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: flex-end;
}

.submit-review-button,
.cancel-review-button {
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius-md);
    font-size: var(--font-size-sm);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-base) var(--transition-timing);
}

.submit-review-button {
    background-color: var(--primary-color);
    color: white;
    border: none;
}

.submit-review-button:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

.submit-review-button:disabled {
    background-color: var(--text-secondary);
    cursor: not-allowed;
    transform: none;
}

.cancel-review-button {
    background-color: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.cancel-review-button:hover {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
}

/* No Reviews State */
.no-reviews {
    text-align: center;
    padding: var(--spacing-lg);
    color: var(--text-secondary);
    background-color: var(--bg-secondary);
    border-radius: var(--border-radius-md);
    font-style: italic;
}

/* Dark Theme */
[data-theme='dark'] .reviews-section {
    background-color: var(--dark-bg-secondary);
}

[data-theme='dark'] .review-item {
    background-color: var(--dark-bg-primary);
}

[data-theme='dark'] .reviewer-name {
    color: var(--dark-text-primary);
}

[data-theme='dark'] .review-form {
    background-color: var(--dark-bg-primary);
}

[data-theme='dark'] .comment-input textarea {
    background-color: rgba(var(--primary-color-rgb), 0.1);
    color: var(--dark-text-primary);
    border-color: var(--dark-border-color);
}

[data-theme='dark'] .comment-input textarea:focus {
    border-color: var(--primary-color);
    background-color: rgba(var(--primary-color-rgb), 0.15);
}

[data-theme='dark'] .comment-input textarea:hover {
    background-color: rgba(var(--primary-color-rgb), 0.15);
    border-color: var(--primary-hover);
}

[data-theme='dark'] .cancel-review-button {
    color: var(--dark-text-secondary);
    border-color: var(--dark-bg-secondary);
}

[data-theme='dark'] .cancel-review-button:hover {
    background-color: var(--dark-bg-secondary);
    color: var(--dark-text-primary);
}

[data-theme='dark'] .no-reviews {
    background-color: var(--dark-bg-secondary);
    color: var(--dark-text-secondary);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .review-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-sm);
    }

    .review-form-buttons {
        flex-direction: column;
    }

    .submit-review-button,
    .cancel-review-button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .rating-stars {
        font-size: var(--font-size-base);
    }

    .comment-input textarea {
        min-height: 100px;
        padding: var(--spacing-sm) var(--spacing-md);
    }
} 
/* Bio Textarea Styles */
.bio-textarea {
    width: 100%;
    min-height: 240px;
    padding: 1.5rem;
    background-color: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    color: var(--text-primary);
    font-size: var(--font-size-base);
    line-height: 1.6;
    resize: vertical;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    outline: none;
}

.bio-textarea:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.bio-textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px var(--primary-color-rgb-20);
    background-color: var(--bg-primary);
}

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

/* Dark Theme */
[data-theme='dark'] .bio-textarea {
    background-color: var(--dark-bg-primary);
    border-color: var(--dark-border-color);
    color: var(--dark-text-primary);
}

[data-theme='dark'] .bio-textarea:hover {
    border-color: var(--primary-color);
    background-color: var(--dark-bg-secondary);
}

[data-theme='dark'] .bio-textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px var(--primary-color-rgb-20);
    background-color: var(--dark-bg-secondary);
}

[data-theme='dark'] .bio-textarea::placeholder {
    color: var(--dark-text-secondary);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .bio-textarea {
        min-height: 200px;
        padding: 1.25rem;
        font-size: calc(var(--font-size-base) * 0.95);
    }
}

@media (max-width: 480px) {
    .bio-textarea {
        min-height: 180px;
        padding: 1rem;
        font-size: var(--font-size-sm);
    }
} 
/* Custom button styles for profile edit buttons with very high specificity */
#teknota-profile-container .profile-action-group .btn.primary.save-button.green-button,
#teknota-profile-container .profile-action-group button.btn.primary.save-button.green-button,
#root #teknota-profile-container .profile-action-group .btn.primary.save-button.green-button {
  background-color: #28a745 !important;
  border-color: #28a745 !important;
  color: white !important;
}

#teknota-profile-container .profile-action-group .btn.primary.save-button.green-button:hover,
#teknota-profile-container .profile-action-group button.btn.primary.save-button.green-button:hover,
#root #teknota-profile-container .profile-action-group .btn.primary.save-button.green-button:hover {
  background-color: #218838 !important;
  border-color: #1e7e34 !important;
}

#teknota-profile-container .profile-action-group .btn.secondary.cancel-button.red-button,
#teknota-profile-container .profile-action-group button.btn.secondary.cancel-button.red-button,
#root #teknota-profile-container .profile-action-group .btn.secondary.cancel-button.red-button {
  background-color: #dc3545 !important;
  border-color: #dc3545 !important;
  color: white !important;
}

#teknota-profile-container .profile-action-group .btn.secondary.cancel-button.red-button:hover,
#teknota-profile-container .profile-action-group button.btn.secondary.cancel-button.red-button:hover,
#root #teknota-profile-container .profile-action-group .btn.secondary.cancel-button.red-button:hover {
  background-color: #c82333 !important;
  border-color: #bd2130 !important;
} 
/* İşlerim Sayfası - Responsive Design */
:root {
  --islerim-card-radius: 12px;
  --islerim-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  --islerim-shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.12);
  --islerim-transition: all 0.3s ease;
  --islerim-space-xs: 4px;
  --islerim-space-sm: 8px;
  --islerim-space-md: 12px;
  --islerim-space-lg: 24px;
  --islerim-space-xl: 32px;
}

.islerim-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px;
  padding: var(--islerim-space-md);
  width: 100%;
  min-height: 80vh;
  position: relative;
  overflow: visible;
  z-index: 1;
}

.islerim-container h1 {
  margin-bottom: 12px;
  margin-bottom: var(--islerim-space-md);
  color: var(--text-primary);
  font-size: 1.8rem;
  text-align: center;
  font-weight: 700;
}

/* Search and Filters */
.search-container {
  position: relative;
  margin-bottom: 12px;
  margin-bottom: var(--islerim-space-md);
  width: 100%;
}

.search-input {
  width: 100%;
  height: 48px !important;
  padding: 12px 40px 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  border-radius: var(--islerim-card-radius);
  font-size: 1rem;
  background-color: #ffffff;
  color: var(--text-primary);
  transition: all 0.3s ease;
  transition: var(--islerim-transition);
}

[data-theme='dark'] .search-input {
  background-color: var(--bg-input);
  color: var(--text-primary);
}

.search-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(var(--primary-color-rgb), 0.2);
  background-color: #fff;
}

[data-theme='dark'] .search-input:focus {
  background-color: var(--bg-input);
}

.clear-search {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
}

.clear-search:hover {
  color: var(--text-primary);
}

/* Filter Panel */
.islerim-filter-panel {
  display: flex;
  gap: 24px;
  gap: var(--islerim-space-lg);
  align-items: flex-end;
  margin-bottom: 24px;
  margin-bottom: var(--islerim-space-lg);
  flex-wrap: wrap;
  background-color: var(--bg-surface);
  padding: 24px;
  padding: var(--islerim-space-lg);
  border-radius: 12px;
  border-radius: var(--islerim-card-radius);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  box-shadow: var(--islerim-shadow);
  border: 1px solid #e67e22;
  border-left: 5px solid #e67e22;
  transition: all 0.3s ease;
}

.islerim-filter-panel:hover {
  box-shadow: 0 6px 16px rgba(230, 126, 34, 0.15);
  transform: translateY(-2px);
}

[data-theme='dark'] .islerim-filter-panel {
  background-color: var(--bg-secondary);
  border: 1px solid #e67e22;
  border-left: 5px solid #e67e22;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  gap: var(--islerim-space-sm);
  flex: 1 1 180px;
  min-width: 160px;
}

.filter-group label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
  gap: var(--islerim-space-xs);
}

.filter-group label i {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.filter-group input,
.filter-group select {
  padding: 12px 14px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 0.9rem;
  background: var(--bg-input);
  color: var(--text-primary);
  height: 44px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.filter-group input::placeholder {
  color: var(--text-muted);
  opacity: 0.8;
}

.filter-group input:focus,
.filter-group select:focus {
  outline: none;
  border-color: #e67e22;
  box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.15);
}

[data-theme='dark'] .filter-group input,
[data-theme='dark'] .filter-group select {
  border-color: var(--border-color-dark);
}

[data-theme='dark'] .filter-group input:focus,
[data-theme='dark'] .filter-group select:focus {
  border-color: #e67e22;
  box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.25);
}

.filter-group select {
  cursor: pointer;
}

.filter-group select:hover,
.filter-group input:hover {
  border-color: #e67e22;
}

.modern-select {
  -webkit-appearance: none;
          appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2716%27 height=%2716%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23e67e22%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M6 9l6 6 6-6%27/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 30px !important;
}

.clear-filters {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: transparent;
  color: #e67e22;
  border: 1px solid #e67e22;
  border-radius: 8px;
  padding: 0 18px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.clear-filters i {
  font-size: 0.95rem;
}

.clear-filters:hover {
  background-color: rgba(230, 126, 34, 0.1);
  color: #d35400;
  border-color: #d35400;
  transform: translateY(-2px);
}

.clear-filters:active {
  background-color: rgba(230, 126, 34, 0.2);
  border-color: #d35400;
  transform: translateY(0);
}

[data-theme='dark'] .clear-filters {
  color: #f39c12;
  border-color: #f39c12;
}

[data-theme='dark'] .clear-filters:hover {
  background-color: rgba(230, 126, 34, 0.15);
  color: #e67e22;
  border-color: #e67e22;
}

[data-theme='dark'] .clear-filters:active {
  background-color: rgba(230, 126, 34, 0.25);
}

/* Tabs Navigation */
.islerim-tabs {
  display: flex;
  margin-bottom: 12px;
  margin-bottom: var(--islerim-space-md);
  border-bottom: 1px solid var(--border-color);
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
  justify-content: space-between;
}

/* Remove margin-left: auto for the last button to allow space-between to work */
.islerim-tabs .tab-button:last-child {
  margin-left: 0;
}

.islerim-tabs::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.tab-button {
  padding: 14px 16px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  font-size: 0.9rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s ease;
  transition: var(--islerim-transition);
  font-weight: 600;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-grow: 1;
  text-align: center;
}

.tab-button i {
  margin-right: 6px;
  font-size: 1rem;
  line-height: 1;
}

.tab-button:hover {
  color: var(--text-primary);
  background-color: rgba(var(--primary-color-rgb), 0.05);
}

.tab-button.active {
  color: #e67e22;
  border-bottom-color: #e67e22;
}

.tab-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  border-radius: 11px;
  background-color: #e67e22;
  color: white;
  font-size: 0.75rem;
  padding: 0 6px;
  font-weight: 600;
}

/* Work List */
.works-list {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 16px;
  gap: 16px;
  position: relative;
  z-index: 1;
  margin-top: 20px;
}

/* Empty State */
.no-works {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 20px;
  background-color: var(--bg-secondary);
  border-radius: 12px;
  border-radius: var(--islerim-card-radius);
  margin-top: 12px;
  margin-top: var(--islerim-space-md);
}

.no-works i {
  font-size: 3rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  margin-bottom: var(--islerim-space-md);
}

.no-works p {
  color: var(--text-muted);
  font-size: 1.1rem;
  font-weight: 500;
}

/* Work Item Card */
.work-item {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "header"
    "body"
    "footer";
  padding: 12px;
  padding: var(--islerim-space-md);
  background-color: var(--bg-primary);
  border-radius: 12px;
  border-radius: var(--islerim-card-radius);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  box-shadow: var(--islerim-shadow);
  transition: all 0.3s ease;
  transition: var(--islerim-transition);
  border-left: 4px solid transparent;
  overflow: visible;
  position: relative;
  cursor: pointer;
  z-index: 1;
  margin-bottom: 16px;
  border: 1px solid var(--border-color);
}

.work-item:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  box-shadow: var(--islerim-shadow-hover);
  transform: translateY(-2px);
  z-index: 2;
  border-color: var(--primary-color);
}

/* Work Item Header */
.work-item-header {
  grid-area: header;
  display: flex;
  align-items: center;
  gap: 12px;
  gap: var(--islerim-space-md);
  margin-bottom: 12px;
  margin-bottom: var(--islerim-space-md);
  padding-top: 26px;
}

.work-from-to-row {
  font-size: 0.9em;
  color: var(--text-secondary);
  margin-bottom: 4px;
  margin-bottom: var(--islerim-space-xs);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.musician-image {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

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

.work-item-info {
  flex: 1 1;
  min-width: 0;
}

.work-item-info h4 {
  margin: 0 0 4px 0;
  font-weight: 600;
  font-size: 1.05rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.work-tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #2d3748;
  color: #fff;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 3px 10px;
  margin: 4px 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.work-tag-badge i {
  margin-right: 5px;
  font-size: 0.8rem;
}

/* Tab Badge for All Tab View */
.work-tab-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background-color: var(--primary-color);
  color: white;
  font-size: 0.7rem;
  padding: 4px 8px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
  cursor: pointer;
  z-index: 5;
  transition: all 0.2s ease;
}

.work-tab-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.work-tab-badge i {
  font-size: 0.8rem;
  margin-right: 2px;
}

/* Work Item Body */
.work-item-body {
  grid-area: body;
  display: flex;
  flex-direction: column;
  gap: 8px;
  gap: var(--islerim-space-sm);
  margin-bottom: 12px;
  margin-bottom: var(--islerim-space-md);
}

.work-info-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.work-location, 
.work-date, 
.work-time {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Status Badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 4px;
  margin-bottom: var(--islerim-space-xs);
  width: -webkit-fit-content;
  width: fit-content;
}

.status-badge.initial-accepted {
  background-color: rgba(var(--info-color-rgb), 0.1);
  color: var(--info-color);
}

.status-badge.pending-your-approval {
  background-color: rgba(var(--warning-color-rgb), 0.1);
  color: var(--warning-color);
}

.status-badge.pending-other-approval {
  background-color: rgba(var(--info-color-rgb), 0.1);
  color: var(--info-color);
}

.status-badge.approved {
  background-color: rgba(var(--success-color-rgb), 0.1);
  color: var(--success-color);
}

.status-badge.completed {
  background-color: rgba(var(--primary-color-rgb), 0.1);
  color: var(--primary-color);
}

.status-badge.cancelled {
  background-color: rgba(var(--danger-color-rgb), 0.1);
  color: var(--danger-color);
}

/* Pending Changes Indicator */
.pending-changes-indicator-small {
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  width: -webkit-fit-content;
  width: fit-content;
}

.pending-changes-indicator-small.your-request {
  background-color: rgba(var(--warning-color-rgb), 0.15);
  color: var(--warning-color);
}

.pending-changes-indicator-small.needs-approval {
  background-color: rgba(var(--danger-color-rgb), 0.15);
  color: var(--danger-color);
}

/* Work Item Footer */
.work-item-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 10px;
}

.work-item-actions {
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;
  left: auto !important;
  bottom: auto !important;
  width: auto !important;
  z-index: 100 !important;
  display: flex !important;
  justify-content: flex-end !important;
}

.work-item-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 100px;
  z-index: 3 !important;
  position: relative;
  overflow: visible;
}

.approval-date {
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  z-index: 5 !important;
  position: relative;
}

/* Action Buttons */
.work-item-action,
.review-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  transition: var(--islerim-transition);
  border: none;
  background-color: var(--bg-secondary);
  color: var(--text-primary);
}

.work-item-action.send-approval,
.work-item-action.approve-btn,
.review-button {
  background-color: var(--success-color);
  color: white;
  width: -webkit-fit-content;
  width: fit-content;
}

.work-item-action.send-approval:hover,
.work-item-action.approve-btn:hover,
.review-button:hover {
  background-color: #2f855a;
  background-color: var(--success-color-dark, #2f855a);
}

.work-item-action.reject-btn,
.work-item-action.cancel-request-btn {
  background-color: var(--danger-color);
  color: white;
}

.work-item-action.reject-btn:hover,
.work-item-action.cancel-request-btn:hover {
  background-color: #c53030;
  background-color: var(--danger-color-dark, #c53030);
}

.work-item-action.waiting-approval {
  background-color: rgba(var(--info-color-rgb), 0.1);
  color: var(--info-color);
  cursor: default;
}

/* Action Menu Container in Header */
.work-item-header-actions {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10; /* Ensure it stacks correctly */
}

/* The actual three-dot button */
.action-menu-toggle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(var(--text-muted-rgb), 0.08);
  border: 2px solid rgba(180,70,25,1);
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  padding: 0;
  margin-left: auto !important;
  box-shadow: 0 0 0 2px rgba(0.10);
  box-shadow: 0 0 0 2px rgba(var(--primary-color-rgb, 0.10));
  outline: none;
}

.action-menu-toggle:focus {
  border-color: rgba(180,70,25,1);
  box-shadow: 0 0 0 4px rgba(var(--primary-color-rgb), 0.18);
}

.action-menu-toggle:active {
  border-color: rgba(180,70,25,1);
  background-color: rgba(var(--primary-color-rgb), 0.13);
  box-shadow: 0 0 0 2px rgba(var(--primary-color-rgb), 0.18);
}

.action-menu-toggle:disabled {
  border-color: #d1d5db;
  border-color: var(--border-color, #d1d5db);
  background-color: rgba(var(--text-muted-rgb), 0.04);
  color: #9ca3af;
  color: var(--text-muted, #9ca3af);
  cursor: not-allowed;
  opacity: 0.6;
}

[data-theme='dark'] .action-menu-toggle {
  border: 2px solid rgba(180,70,25,1);
  background-color: rgba(var(--primary-color-rgb), 0.08);
  box-shadow: 0 0 0 2px rgba(var(--primary-color-rgb), 0.18);
  color: #e0e0e0;
  color: var(--text-primary, #e0e0e0);
}

[data-theme='dark'] .action-menu-toggle:focus {
  border-color: rgba(180,70,25,1);
  box-shadow: 0 0 0 4px rgba(var(--primary-color-rgb), 0.28);
}

[data-theme='dark'] .action-menu-toggle:active {
  border-color: rgba(180,70,25,1);
  background-color: rgba(var(--primary-color-rgb), 0.18);
  box-shadow: 0 0 0 2px rgba(var(--primary-color-rgb), 0.28);
}

[data-theme='dark'] .action-menu-toggle:disabled {
  border-color: #3e3e42;
  border-color: var(--border-color, #3e3e42);
  background-color: rgba(var(--primary-color-rgb), 0.04);
  color: #6b7280;
  color: var(--text-muted, #6b7280);
  cursor: not-allowed;
  opacity: 0.6;
}

.action-menu-toggle i {
  font-size: 1rem;
  line-height: 1;
}

/* Styles for action buttons within the card body/footer, if this class is still used */
/* This is the rule that was around line 473 in the original file structure */
/* .work-item-actions { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 10px; 
    align-items: center; 
 } */


/* Mobile specific adjustments for completed items */
@media (max-width: 767px) {
  /* ... other mobile styles ... */

  .work-item.completed .action-menu-toggle {
    /* Position is handled by .work-item-header-actions */
    /* No top, bottom, right, left here */
    width: 28px; /* Keep smaller size for mobile completed items if desired */
    height: 28px;
  }

  .work-item.completed .action-menu-header-actions .action-menu-toggle i, /* If needed for smaller icon */
  .work-item.completed .action-menu-toggle i { /* More general */
    font-size: 0.9rem; /* Adjust icon for smaller button */
  }

  .work-item.completed .action-menu-dropdown {
    /* Ensure dropdown is positioned relative to the smaller button */
    top: 38px; /* Approx 28px button height + 10px offset */
    right: 0; /* Align with the right edge of work-item-header-actions */
    /* Check if transform: none; is needed from previous state */
  }

  /* ... other mobile styles ... */

  .islerim-filter-panel {
    padding: 8px 12px;
    padding: var(--islerim-space-sm) var(--islerim-space-md); /* Reduced padding */
    gap: 8px;
    gap: var(--islerim-space-sm); /* Reduced gap between groups */
    margin-bottom: 12px;
    margin-bottom: var(--islerim-space-md); /* Keep some margin */
  }

  .islerim-filter-panel::before { /* Adjust left accent bar if using the gradient/border approach */
    width: 3px; /* Make accent bar thinner */
  }
  /* If using the background-image gradient for the left bar, adjust it too: */
  /* .islerim-filter-panel {
    background-image: linear-gradient(to right, #e67e22 3px, transparent 3px);
  } */
  /* If using border-left for the left bar, adjust it: */
  /* .islerim-filter-panel {
    border-left-width: 3px;
  } */


  .filter-group {
    gap: 4px;
    gap: var(--islerim-space-xs); /* Reduced gap inside group */
    flex: 1 1 120px; /* Allow more shrinking, smaller base */
    min-width: 100px; /* Allow groups to be narrower */
  }

  .filter-group label {
    font-size: 0.8rem; /* Smaller label font */
    margin-bottom: 2px; /* Add a little space if gap is too small */
  }

  .filter-group label i {
    font-size: 0.75rem; /* Smaller icon in label */
  }

  .filter-group input,
  .filter-group select {
    height: 36px; /* Reduced height */
    padding: 6px 10px; /* Reduced padding */
    font-size: 0.85rem; /* Smaller font in inputs/selects */
  }
  
  .modern-select {
    background-position: right 8px center; /* Adjust arrow position */
    padding-right: 24px !important; /* Adjust padding for smaller arrow space */
  }

  .clear-filters {
    height: 36px; /* Match input height */
    padding: 0 12px; /* Reduced padding */
    font-size: 0.85rem; /* Smaller font */
    gap: 6px; /* Smaller gap */
  }

  .clear-filters i {
    font-size: 0.9rem; /* Smaller icon */
  }

  /* ... other mobile styles ... */

  .work-item-action-group {
    display: flex;
    flex-direction: row;
    gap: 4px !important; /* Reduce gap between buttons */
    width: 100%;
    flex-wrap: wrap;
  }
  
  .work-item-action-group .work-item-action,
  .work-item-action-group .modern-form-btn {
    font-size: 0.8rem !important; /* Smaller font */
    padding: 6px 8px !important; /* Less padding */
    min-width: 80px !important;
    flex: 1 1;
    white-space: normal;
    /* overflow: hidden; */
    /* text-overflow: ellipsis; */
  }
  
  .work-item-action-group .work-item-action i,
  .work-item-action-group .modern-form-btn i {
    margin-right: 4px !important;
    font-size: 0.9rem !important;
  }
}

/* Remove or comment out the old generic .work-item-actions absolute positioning */
/* This was the problematic rule that caused confusion, ensure it's gone or correctly repurposed */
/* 
.work-item-actions { 
  position: absolute; 
  top: 12px; 
  right: 12px; 
  z-index: 10;
}
*/

/* Ensure the specific rule for the header actions container is present and correct */
/* (It's defined at the top of this edit block) */

/* Modal Styles */
.modal-overlay,
.work-details-modal-overlay,
.confirm-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  display: flex;
  justify-content: center;
  z-index: 1000;
  padding: 0;
}

.work-details-modal-overlay {
  align-items: flex-end !important;
  padding-bottom: 50px !important; /* Adding 30px more than the original margin */
}

/* Targeting tag modal overlay specifically */
.modal-overlay {
  align-items: center !important;
  padding-bottom: 30px !important; /* Move tag modal up by 30px */
}

.work-details-modal,
.tag-modal,
.confirm-modal {
  background-color: var(--bg-primary);
  border-radius: 12px;
  border-radius: var(--islerim-card-radius);
  width: 100%;
  max-width: 600px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  box-shadow: var(--islerim-shadow-hover);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: 90vh;
  margin: 0;
  padding: 32px 24px;
}

.work-details-modal {
  max-width: 100%;
  width: 100%;
  padding: 2.5rem 2rem;
  border-radius: 24px 24px 0 0;
  margin: 0 0 20px 0 !important;
}

.modal-header,
.confirm-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
}

.modal-header h3,
.confirm-modal-header h3 {
  margin: 0;
  font-size: 1.2rem;
  color: var(--text-primary);
  font-weight: 600;
}

.close-button {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 5px;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  transition: var(--islerim-transition);
}

.close-button:hover {
  background-color: rgba(var(--text-muted-rgb), 0.1);
  color: var(--text-primary);
}

.modal-body,
.confirm-modal-body {
  padding: 20px;
  color: var(--text-primary);
  overflow-y: auto;
}

.modal-footer,
.confirm-modal-footer {
  display: flex;
  justify-content: flex-end;
  padding: 16px 20px;
  border-top: 1px solid var(--border-color);
  gap: 12px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-secondary);
  font-weight: 500;
}

.form-row {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.location-input,
.date-input,
.time-input,
.details-textarea,
.tag-input {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background-color: var(--bg-input);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: all 0.3s ease;
  transition: var(--islerim-transition);
}

.location-input:focus,
.date-input:focus,
.time-input:focus,
.details-textarea:focus,
.tag-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(var(--primary-color-rgb), 0.2);
}

.details-textarea {
  resize: vertical;
  min-height: 100px;
}

/* Modal Buttons */
.cancel-button,
.save-button,
.approve-button,
.reject-button,
.profile-button,
.remove-button,
.cancel-request-button {
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  transition: var(--islerim-transition);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  min-height: 42px;
}

.cancel-button {
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  height: 42px;
  padding: 0 16px;
  line-height: 1;
}

.save-button,
.approve-button {
  background-color: var(--success-color);
  color: white;
}

.reject-button,
.remove-button,
.cancel-request-button {
  background-color: var(--danger-color);
  color: white;
}

.profile-button {
  background-color: var(--primary-color);
  color: white;
}

.change-request-banner {
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.change-request-banner.your-request {
  background-color: rgba(var(--warning-color-rgb), 0.1);
  color: var(--warning-color);
}

.change-request-banner.pending-approval {
  background-color: rgba(var(--danger-color-rgb), 0.1);
  color: var(--danger-color);
}

.change-request-banner p {
  margin: 0;
  font-size: 0.95rem;
}

.change-request-message {
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 16px;
}

.change-request-message.success {
  background-color: rgba(var(--success-color-rgb), 0.1);
  color: var(--success-color);
}

.change-request-message.error {
  background-color: rgba(var(--danger-color-rgb), 0.1);
  color: var(--danger-color);
}

.change-request-message p {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
}

/* Review Modal */
.rating-stars-container {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.char-counter {
  text-align: right;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.error-message,
.success-message {
  padding: 12px 16px;
  border-radius: 8px;
  margin: 16px 0;
  font-size: 0.95rem;
}

.error-message {
  background-color: rgba(var(--danger-color-rgb), 0.1);
  color: var(--danger-color);
}

.success-message {
  background-color: rgba(var(--success-color-rgb), 0.1);
  color: var(--success-color);
}

/* Cancel Reason Textarea */
.cancel-reason-area {
  margin-top: 16px;
}

.cancel-reason-area label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Loading State */
.work-item.loading-musician .musician-image.placeholder {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--bg-secondary);
  animation: pulse-bg 1.5s infinite alternate;
}

@keyframes pulse-bg {
  0% {
    opacity: 0.5;
  }
  100% {
    opacity: 0.8;
  }
}

/* Responsive Design Adjustments */
@media (min-width: 768px) {
  .works-list {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  
  .work-item {
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "header body footer";
    align-items: center;
    padding-top: 16px;
    padding-bottom: 16px;
    padding-right: 50px;
    min-height: 90px;
    margin-bottom: 0;
    transition: all 0.25s ease;
  }
  
  .work-item.completed {
    position: relative;
    min-height: 110px;
  }
  
  .work-item.completed .action-menu-toggle {
    top: 15px;
    right: 15px;
  }
  
  .work-item-header {
    margin-bottom: 0;
    padding-right: 12px;
    padding-right: var(--islerim-space-md);
  }
  
  .work-item-body {
    margin-bottom: 0;
    padding: 0 12px;
    padding: 0 var(--islerim-space-md);
  }
  
  .work-item-footer {
    border-top: none;
    padding-top: 0;
    padding-left: 12px;
    padding-left: var(--islerim-space-md);
  }
  
  .form-row {
    flex-direction: row;
  }
  
  .form-row .form-group {
    flex: 1 1;
  }
  
  .modal-overlay,
  .work-details-modal-overlay,
  .confirm-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center !important;
    justify-content: center;
    padding-top: 0 !important;
  }
  
  /* Move modals up by 30px on desktop */
  .modal-overlay {
    padding-bottom: 30px !important;
  }
  
  .work-details-modal-overlay {
    padding-bottom: 30px !important;
  }
  
  .work-details-modal,
  .tag-modal,
  .confirm-modal {
    margin: 0 auto !important;
    max-height: 80vh !important;
    width: 100% !important;
    max-width: 650px !important;
  }
}

@media (max-width: 767px) {
  .islerim-container {
    min-height: 85vh;
    padding-bottom: 80px;
  }
  
  /* Ensure action menus on mobile are carefully positioned */
  .action-menu {
    position: absolute;
    top: 100%; /* Position relative to toggle button */
    right: 0;
    max-width: 260px;
    width: auto;
  }
  
  /* Adjust position for right-edge items to prevent overflow */
  .work-item:nth-last-child(-n+2) .action-menu {
    right: auto;
    left: 0;
  }
  
  /* For completed work items, adjust positioning to prevent overflow */
  .work-item.completed .action-menu {
    bottom: auto;
    top: 100%;
    right: 0;
    left: auto;
  }
  
  /* Add scroll container to prevent layout issues */
  .works-list {
    overflow-x: visible;
    position: relative;
  }
  
  .islerim-container h1 {
    font-size: 1.5rem;
  }
  
  .form-row {
    flex-direction: column;
    gap: 12px;
  }
  
  .work-item-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  
  .work-item-action,
  .review-button {
    width: 100%;
  }
  
  .work-item.completed {
    min-height: 130px;
    padding-top: 25px;
    padding-right: 20px;
    padding-bottom: 50px;
  }
  
  .work-item.completed .action-menu-toggle {
    width: 28px;
    height: 28px;
  }
  
  .work-item.completed .approval-date {
    right: 12px;
    top: 12px;
    font-size: 0.9rem;
  }
  
  .action-menu-toggle {
    position: relative;
  }
  
  .action-menu {
    right: 0;
    left: auto;
  }
  
  .work-item:nth-last-child(-n+2) .action-menu,
  .work-item:last-child .action-menu {
    right: auto;
    left: 0;
  }
  
  .modal-footer,
  .confirm-modal-footer {
    flex-direction: column;
  }
  
  .modal-footer button,
  .confirm-modal-footer button {
    width: 100%;
  }
  
  .work-details-modal,
  .tag-modal,
  .confirm-modal {
    max-width: 94vw !important;
    margin: 10px auto !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15) !important;
    padding: 0 !important;
    border-radius: 8px !important;
  }
  
  .modal-header,
  .confirm-modal-header {
    padding: 10px 14px !important;
    margin: 0 !important;
  }
  
  .modal-body,
  .confirm-modal-body {
    padding: 12px 14px !important;
    margin: 0 !important;
  }
  
  .modal-footer,
  .confirm-modal-footer {
    padding: 10px 14px !important;
    margin: 0 !important;
    gap: 6px !important;
  }
  
  .cancel-button,
  .save-button,
  .approve-button,
  .reject-button,
  .profile-button,
  .remove-button,
  .cancel-request-button {
    padding: 8px 10px !important;
    font-size: 0.88rem !important;
    min-height: 36px !important;
    height: 36px !important;
  }
  
  .modal-overlay,
  .work-details-modal-overlay {
    align-items: flex-start !important;
    padding-top: 60px !important;
  }
  
  .confirm-modal-overlay {
    align-items: center !important;
    padding-top: 0 !important;
  }
  
  .work-item.completed .action-menu {
    bottom: auto;
    top: 40px;
    right: 0px;
  }
  
  .islerim-tabs {
    display: none;
  }
  
  .islerim-tabs-dropdown {
    display: block;
    position: relative;
    margin-bottom: 12px;
    margin-bottom: var(--islerim-space-md);
    z-index: 100;
  }
  
  .islerim-dropdown-toggle {
    width: 100%;
    padding: 12px 16px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    position: relative;
  }
  
  .islerim-dropdown-toggle-text {
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  .notification-dot {
    width: 8px;
    height: 8px;
    background-color: #e53e3e;
    border-radius: 50%;
    display: inline-block;
    margin-left: 5px;
  }
  
  .islerim-dropdown-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    z-index: 101;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.2s ease;
    pointer-events: none;
  }
  
  .islerim-dropdown-menu.open {
    max-height: 300px;
    opacity: 1;
    pointer-events: auto;
  }
  
  .islerim-dropdown-item {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: background-color 0.2s;
  }
  
  .islerim-dropdown-item:last-child {
    border-bottom: none;
  }
  
  .islerim-dropdown-item:hover {
    background-color: rgba(var(--primary-color-rgb), 0.05);
  }
  
  .islerim-dropdown-item.active {
    background-color: rgba(var(--primary-color-rgb), 0.1);
    color: #e67e22;
    font-weight: 600;
  }
  
  .islerim-dropdown-item-text {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
  }
  
  .dropdown-badge {
    display: flex;
    align-items: center;
    gap: 4px;
  }
  
  .dropdown-notification {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #e67e22;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
  }
  
  .work-item.completed .action-menu {
    bottom: 12px;
    right: 50px;
    top: auto;
  }
}

@media (min-width: 768px) {
  .islerim-tabs-dropdown {
    display: none;
  }
}

@media (max-width: 480px) {
  .islerim-container {
    padding: 12px;
  }
  
  .islerim-container h1 {
    font-size: 1.3rem;
  }
  
  .filter-group label {
    font-size: 0.85rem;
  }
  
  .tab-button {
    padding: 12px 14px;
    font-size: 0.85rem;
  }
  
  .work-item-info h4 {
    font-size: 1rem;
  }
}

.work-item-meta {
  position: relative;
  overflow: visible;
  z-index: 1 !important;
}

.action-menu-toggle:hover {
  background-color: rgba(var(--text-muted-rgb), 0.1);
  color: var(--text-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.work-item.completed .action-menu-toggle:hover {
  background-color: rgba(180, 70, 25, 1);
  transform: scale(1.05);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
}

@media (min-width: 992px) {
  .action-menu-toggle {
    opacity: 0.8;
    transition: opacity 0.2s ease;
  }
  
  .work-item:hover .action-menu-toggle {
    opacity: 1;
  }
}

/* Add styles for the action menu */
.work-item-actions {
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;
  left: auto !important;
  bottom: auto !important;
  width: auto !important;
  z-index: 100 !important;
  display: flex !important;
  justify-content: flex-end !important;
}

.action-menu-toggle {
  background: transparent;
  border: none;
  color: #666;
  font-size: 18px;
  cursor: pointer;
  padding: 5px 8px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
}

.action-menu-toggle:hover {
  background-color: rgba(0, 0, 0, 0.05);
  color: #333;
}

.action-menu-dropdown {
  position: absolute !important;
  top: 40px !important;
  right: 0 !important;
  left: auto !important;
  min-width: 180px !important;
  z-index: 110 !important;
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

[data-theme='dark'] .action-menu-dropdown {
  background: var(--bg-secondary);
  border: 1px solid #444;
  border: 1px solid var(--border-color-dark, #444);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.action-menu-dropdown button {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
  transition: background-color 0.2s;
  font-size: 14px;
}

[data-theme='dark'] .action-menu-dropdown button {
  color: var(--text-primary);
  border-bottom: 1px solid #444;
  border-bottom: 1px solid var(--border-color-dark, #444);
}

.action-menu-dropdown button:last-child {
  border-bottom: none;
}

.action-menu-dropdown button:hover {
  background-color: #f5f5f5;
}

[data-theme='dark'] .action-menu-dropdown button:hover {
  background-color: #444;
  background-color: var(--bg-hover, #444);
}

.action-menu-dropdown button i {
  margin-right: 8px;
  width: 16px;
  text-align: center;
}

/* Style for tag badges */
.work-tag-badge {
  display: inline-flex;
  align-items: center;
  background-color: #e1f5fe;
  color: #0288d1;
  border-radius: 12px;
  padding: 2px 8px;
  font-size: 12px;
  margin-top: 4px;
}

.work-tag-badge i {
  margin-right: 4px;
  font-size: 10px;
}

/* Position the work item to allow for absolute positioning inside */
.work-item {
  position: relative;
}

/* Specific mobile overrides to guarantee right positioning */
@media (max-width: 767px) {
  .work-item-actions {
    right: 12px !important;
    left: auto !important;
    display: flex !important;
    justify-content: flex-end !important;
  }
  
  /* For completed items too - they sometimes have special handling */
  .work-item.completed .work-item-actions {
    top: 12px !important;
    right: 12px !important;
    left: auto !important;
    bottom: auto !important;
  }
  
  /* Dropdown for mobile */
  .action-menu-dropdown {
    right: 0 !important;
    left: auto !important;
  }
  
  /* Special case for bottom positioned action menus if any */
  .work-item-actions.bottom-position {
    top: auto !important;
    bottom: 12px !important;
    right: 12px !important;
    left: auto !important;
  }
}

.work-item-action.send-approval-btn {
  background-color: var(--success-color);
  color: white;
}

.work-item-action.send-approval-btn:hover {
  background-color: #2f855a;
  background-color: var(--success-color-dark, #2f855a);
  color: white;
}

/* Work Item Status Color Coding */
.work-item.initial-accepted {
  border-left-color: var(--info-color);
}

.work-item.pending-your-approval {
  border-left-color: var(--warning-color);
}

.work-item.pending-other-approval {
  border-left-color: var(--info-color);
}

.work-item.approved {
  border-left-color: var(--success-color);
}

.work-item.completed {
  border-left-color: var(--primary-color);
}

.work-item.cancelled {
  border-left-color: var(--danger-color);
}

/* Dark Theme Adjustments */
[data-theme='dark'] .work-item {
  background-color: var(--bg-secondary);
  border-color: #2d3748;
  border-color: var(--dark-border-color, #2d3748);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

[data-theme='dark'] .work-item:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  border-color: var(--primary-color);
} 
.loading-notes-spinner {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 64px;
  height: 64px;
  min-width: 48px;
  min-height: 48px;
  max-width: 128px;
  max-height: 128px;
}

.loading-note {
  position: absolute;
  width: 22%;
  height: 22%;
  left: 39%;
  top: 39%;
  opacity: 0.7;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.1));
  animation: loading-notes-pulse 1.5s ease-in-out infinite;
  transform-origin: center center;
}

.loading-note:nth-child(1) { animation-delay: 0s; }
.loading-note:nth-child(2) { animation-delay: 0.2s; }
.loading-note:nth-child(3) { animation-delay: 0.4s; }
.loading-note:nth-child(4) { animation-delay: 0.6s; }
.loading-note:nth-child(5) { animation-delay: 0.8s; }

@keyframes loading-notes-pulse {
  0%   { opacity: 0.7; transform: scale(0.95); }
  50%  { opacity: 1; transform: scale(1.05); }
  100% { opacity: 0.7; transform: scale(0.95); }
}

/* Dark mode support */
body[data-theme='dark'] .loading-note {
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.3));
}

@media (max-width: 600px) {
  .loading-notes-spinner {
    width: 40px;
    height: 40px;
  }
}

/* Profile loading animation specific styling */
.profile-loading-notes-wrapper .loading-notes-spinner {
  margin: 0 auto;
} 
/* Form Group */
.form-group {
    margin-bottom: var(--spacing-md);
}

/* Labels */
.form-label {
    display: block;
    margin-bottom: var(--spacing-xs);
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    font-weight: 500;
    transform: translateY(0);
    transition: transform 0.3s ease, font-size 0.3s ease, color 0.3s ease;
}

/* Modern Input ve Form Control Stili */
.form-control {
    width: 100%;
    padding: var(--spacing-md) var(--spacing-md);
    font-size: var(--font-size-base);
    line-height: 1.5;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    border: none;
    border-bottom: 2px solid var(--border-color);
    border-radius: 0;
    box-shadow: none;
    transition: all 0.3s ease;
    min-height: 28px;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    border-bottom-width: 2px;
    box-shadow: 0 4px 6px rgba(50, 50, 93, 0.06), 0 1px 3px rgba(0, 0, 0, 0.08);
    background-color: rgba(var(--primary-color-rgb), 0.02);
}

.form-control:hover:not(:focus):not(:disabled) {
    border-color: var(--text-secondary);
}

.form-control:disabled {
    background-color: var(--bg-secondary);
    opacity: 0.7;
    cursor: not-allowed;
}

/* Floating Label Effect */
.form-group.floating {
    position: relative;
}

.form-group.floating .form-label {
    position: absolute;
    top: 12px;
    left: var(--spacing-md);
    z-index: 1;
    pointer-events: none;
}

.form-group.floating .form-control:focus ~ .form-label,
.form-group.floating .form-control:not(:placeholder-shown) ~ .form-label {
    top: -12px;
    left: 0;
    font-size: calc(var(--font-size-sm) * 0.85);
    color: var(--primary-color);
    background-color: var(--bg-primary);
    padding: 0 4px;
}

/* Textarea Modern Stili */
textarea.form-control {
    min-height: 120px;
    resize: vertical;
    padding: var(--spacing-md);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-md);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

textarea.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 4px 6px rgba(50, 50, 93, 0.06), 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* Select */
select.form-control {
    -webkit-appearance: none;
            appearance: none;
    padding-right: var(--spacing-xl);
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2716%27 height=%2716%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27currentColor%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpolyline points=%276 9 12 15 18 9%27/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right var(--spacing-sm) center;
    background-size: 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-md);
}

select.form-control:focus {
    border-color: var(--primary-color);
}

/* Input Groups */
.input-group {
    display: flex;
    position: relative;
    align-items: stretch;
    width: 100%;
}

.input-group .form-control {
    position: relative;
    flex: 1 1 auto;
    border-radius: 0;
}

.input-group-text {
    display: flex;
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    background-color: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 0;
}

.input-group > :first-child {
    border-top-left-radius: var(--border-radius-md);
    border-bottom-left-radius: var(--border-radius-md);
}

.input-group > :last-child {
    border-top-right-radius: var(--border-radius-md);
    border-bottom-right-radius: var(--border-radius-md);
}

/* Input States */
.form-control.is-invalid {
    border-color: var(--danger-color);
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2716%27 height=%2716%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23dc3545%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Ccircle cx=%2712%27 cy=%2712%27 r=%2710%27/%3E%3Cline x1=%2712%27 y1=%278%27 x2=%2712%27 y2=%2712%27/%3E%3Cline x1=%2712%27 y1=%2716%27 x2=%2712%27 y2=%2716%27/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right calc(var(--spacing-md) / 2) center;
    background-size: 16px;
    padding-right: calc(var(--spacing-md) * 2);
}

.form-control.is-valid {
    border-color: var(--success-color);
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2716%27 height=%2716%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%2328a745%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpolyline points=%2720 6 9 17 4 12%27/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right calc(var(--spacing-md) / 2) center;
    background-size: 16px;
    padding-right: calc(var(--spacing-md) * 2);
}

/* Dark Theme */
[data-theme='dark'] .form-control {
    background-color: var(--dark-bg-primary);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--dark-text-primary);
}

[data-theme='dark'] .form-control:focus {
    border-color: var(--primary-color);
    background-color: rgba(var(--primary-color-rgb), 0.05);
}

[data-theme='dark'] .form-control:hover:not(:focus):not(:disabled) {
    border-color: rgba(255, 255, 255, 0.3);
}

[data-theme='dark'] .form-label {
    color: var(--dark-text-secondary);
}

[data-theme='dark'] .form-group.floating .form-control:focus ~ .form-label,
[data-theme='dark'] .form-group.floating .form-control:not(:placeholder-shown) ~ .form-label {
    background-color: var(--dark-bg-primary);
    color: var(--primary-color);
}

[data-theme='dark'] .input-group-text {
    background-color: var(--dark-bg-secondary);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--dark-text-secondary);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .form-control {
        font-size: var(--font-size-base);
        padding: 0.2rem 0.4rem;
    }

    textarea.form-control {
        min-height: 100px;
    }
    
    .form-group.floating .form-label {
        top: 10px;
    }

    .form-group {
        margin-bottom: 0.03rem;
    }
}

@media (max-width: 480px) {
    .form-control {
        font-size: var(--font-size-sm);
        padding: 0.15rem 0.3rem;
    }

    .input-group {
        flex-direction: column;
    }

    .input-group > * {
        border-radius: var(--border-radius-md) !important;
        margin-bottom: var(--spacing-xs);
    }

    .input-group > :not(:last-child) {
        margin-bottom: var(--spacing-xs);
    }
    
    .form-group.floating .form-control:focus ~ .form-label,
    .form-group.floating .form-control:not(:placeholder-shown) ~ .form-label {
        top: -10px;
    }

    .form-group {
        margin-bottom: 0.01rem;
    }
}

/* Modern form elements */
.form-textarea {
  @apply w-full min-h-[160px] p-5 rounded-xl border-2 border-gray-200 
  bg-white focus:ring-4 focus:ring-primary-500/20 focus:border-primary-500
  transition-all duration-300 resize-vertical text-base leading-relaxed
  shadow-sm hover:border-gray-300;
}

.form-input--youtube {
  @apply w-full px-5 py-4 rounded-xl border-2 border-gray-200
  bg-white focus:ring-4 focus:ring-primary-500/20 focus:border-primary-500
  transition-all duration-300 text-base leading-relaxed
  shadow-sm hover:border-gray-300;
}

.form-select {
  @apply w-full px-5 py-4 rounded-xl border-2 border-gray-200
  bg-white focus:ring-4 focus:ring-primary-500/20 focus:border-primary-500
  appearance-none cursor-pointer transition-all duration-300
  text-base leading-relaxed shadow-sm hover:border-gray-300;
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 fill=%27none%27 viewBox=%270 0 24 24%27 stroke=%27currentColor%27%3E%3Cpath stroke-linecap=%27round%27 stroke-linejoin=%27round%27 stroke-width=%272%27 d=%27M19 9l-7 7-7-7%27/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.25rem center;
  background-size: 1.25em;
}

.form-select--category {
  @apply form-select mb-5;
}

.form-select--subcategory {
  @apply form-select;
}

.selected-category-tag {
  @apply inline-flex items-center px-4 py-2 rounded-full
  bg-primary-50 text-primary-700 text-base font-medium
  mr-3 mb-3 transition-all duration-300 hover:bg-primary-100
  shadow-sm hover:shadow border border-primary-100;
}

/* Dark mode adjustments */
.dark .form-textarea,
.dark .form-input--youtube,
.dark .form-select {
  @apply bg-gray-900 border-gray-700 text-gray-100
  hover:border-gray-600 focus:ring-primary-500/30;
}

.dark .selected-category-tag {
  @apply bg-primary-900/30 text-primary-300 border-primary-800
  hover:bg-primary-900/50;
}

.bio-textarea {
    @apply w-full 
    min-h-[240px] 
    p-6 
    rounded-2xl 
    border-2 
    border-gray-200 
    bg-white 
    text-base 
    leading-relaxed
    placeholder-gray-400
    resize-vertical 
    transition-all 
    duration-300 
    ease-in-out
    shadow-sm
    outline-none
    font-normal;

    /* Hover State */
    @apply hover:border-primary-400 
    hover:shadow-md;

    /* Focus State */
    @apply focus:border-primary-500 
    focus:ring-4 
    focus:ring-primary-500/20 
    focus:shadow-md;

    /* Dark Mode */
    @apply dark:bg-gray-800 
    dark:border-gray-700 
    dark:text-gray-100 
    dark:placeholder-gray-500
    dark:hover:border-gray-600
    dark:focus:border-primary-400
    dark:focus:ring-primary-500/30;
}

/* Responsive adjustments for bio-textarea */
@media (max-width: 768px) {
    .bio-textarea {
        @apply min-h-[200px] 
        p-5 
        text-sm;
    }
}

@media (max-width: 480px) {
    .bio-textarea {
        @apply min-h-[180px] 
        p-4;
    }
}

.auth-button {
    min-height: 0;
    min-height: initial;
    padding: 0;
    padding: initial;
    font-size: medium;
    font-size: initial;
}

.form-group,
.form-control,
input,
select,
textarea {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  box-sizing: border-box;
  line-height: 1 !important;
} 
/* Base Button */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: var(--font-size-base);
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
            user-select: none;
    border: 1px solid transparent;
    border-radius: var(--border-radius-md);
    transition: all var(--transition-base) var(--transition-timing);
    gap: var(--spacing-xs);
}

/* Button Variants */
.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    border-color: var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--bg-hover);
    transform: translateY(-2px);
}

.btn-success {
    background-color: var(--success-color);
    color: white;
}

.btn-success:hover {
    background-color: #218838;
    transform: translateY(-2px);
}

.btn-danger {
    background-color: var(--danger-color);
    color: white;
}

.btn-danger:hover {
    background-color: #c82333;
    transform: translateY(-2px);
}

.btn-warning {
    background-color: var(--warning-color);
    color: #212529;
}

.btn-warning:hover {
    background-color: #e0a800;
    transform: translateY(-2px);
}

.btn-info {
    background-color: var(--info-color);
    color: white;
}

.btn-info:hover {
    background-color: #138496;
    transform: translateY(-2px);
}

/* Button Sizes */
.btn-sm {
    padding: calc(var(--spacing-xs) / 2) var(--spacing-sm);
    font-size: var(--font-size-sm);
}

.btn-lg {
    padding: var(--spacing-md) var(--spacing-lg);
    font-size: var(--font-size-lg);
}

/* Button States */
.btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

.btn.loading {
    position: relative;
    color: transparent;
}

.btn.loading::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-radius: 50%;
    border-top-color: currentColor;
    animation: button-loading-spinner 0.6s linear infinite;
}

@keyframes button-loading-spinner {
    from {
        transform: rotate(0turn);
    }
    to {
        transform: rotate(1turn);
    }
}

/* Button Groups */
.btn-group {
    display: inline-flex;
    position: relative;
}

.btn-group .btn {
    position: relative;
    flex: 1 1 auto;
}

.btn-group .btn:not(:first-child) {
    margin-left: -1px;
}

.btn-group .btn:not(:last-child) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.btn-group .btn:not(:first-child) {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/* Icon Buttons */
.btn-icon {
    padding: var(--spacing-sm);
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.btn-icon.btn-sm {
    padding: calc(var(--spacing-xs) / 2);
    width: 28px;
    height: 28px;
}

.btn-icon.btn-lg {
    padding: var(--spacing-md);
    width: 48px;
    height: 48px;
}

/* Outline Buttons */
.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background-color: transparent;
}

.btn-outline-primary:hover {
    color: white;
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-outline-danger {
    color: var(--danger-color);
    border-color: var(--danger-color);
    background-color: transparent;
}

.btn-outline-danger:hover {
    color: white;
    background-color: var(--danger-color);
    transform: translateY(-2px);
}

/* Dark Theme */
[data-theme='dark'] .btn-secondary {
    background-color: var(--dark-bg-secondary);
    color: var(--dark-text-primary);
    border-color: var(--dark-bg-secondary);
}

[data-theme='dark'] .btn-secondary:hover {
    background-color: var(--dark-bg-primary);
}

[data-theme='dark'] .btn-outline-primary {
    color: var(--primary-color);
}

[data-theme='dark'] .btn-outline-primary:hover {
    color: white;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .btn {
        font-size: var(--font-size-base);
        padding: var(--spacing-sm);
    }

    .btn-group {
        flex-direction: column;
    }

    .btn-group .btn {
        width: 100%;
    }

    .btn-group .btn:not(:first-child) {
        margin-left: 0;
        margin-top: -1px;
    }

    .btn-group .btn:not(:last-child) {
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        border-top-right-radius: var(--border-radius-md);
    }

    .btn-group .btn:not(:first-child) {
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        border-bottom-left-radius: var(--border-radius-md);
    }
}

@media (max-width: 480px) {
    .btn {
        font-size: var(--font-size-sm);
    }

    .btn-icon {
        width: 32px;
        height: 32px;
    }
}

/* Modern Button Styles */
.add-category-button {
    @apply inline-flex items-center px-6 py-3 rounded-xl
    bg-primary-500 text-white font-medium text-base
    hover:bg-primary-600 focus:ring-4 focus:ring-primary-500/20
    transition-all duration-300 disabled:opacity-50 disabled:cursor-not-allowed
    shadow-sm hover:shadow-md transform hover:-translate-y-0.5
    border border-primary-600;
}

.save-all-button {
    @apply w-full sm:w-auto px-8 py-4 rounded-xl
    bg-success-500 text-white font-medium text-base
    hover:bg-success-600 focus:ring-4 focus:ring-success-500/20
    transition-all duration-300 disabled:opacity-50 disabled:cursor-not-allowed
    flex items-center justify-center gap-3 shadow-sm hover:shadow-md
    transform hover:-translate-y-0.5 border border-success-600;
}

.save-all-button svg {
    @apply w-5 h-5 transition-transform duration-300 group-hover:scale-110;
}

/* Dark mode adjustments */
.dark .add-category-button {
    @apply bg-primary-600 border-primary-700
    hover:bg-primary-700 focus:ring-primary-500/30;
}

.dark .save-all-button {
    @apply bg-success-600 border-success-700
    hover:bg-success-700 focus:ring-success-500/30;
}

#mobile-theme-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 48px;
  padding: 0 18px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(220,90,40,1) 0%, rgba(180,70,25,1) 100%);
  color: #fff;
  font-weight: 600;
  font-size: 1.05rem;
  border: none;
  box-shadow: 0 4px 16px rgba(200,80,30,0.13);
  cursor: pointer;
  transition: all 0.2s;
  margin-bottom: 10px;
  margin-top: 0;
  outline: none;
}
#mobile-theme-button i {
  font-size: 1.3rem;
  margin-right: 8px;
  color: #fff;
  transition: color 0.2s, transform 0.2s;
}
#mobile-theme-button:hover {
  background: linear-gradient(135deg, rgba(240,100,50,1) 0%, rgba(200,80,30,1) 100%);
  color: #fff;
  box-shadow: 0 8px 24px rgba(200,80,30,0.22);
  transform: translateY(-2px) scale(1.03);
}
#mobile-theme-button:focus {
  outline: 2px solid #c85a28;
  outline-offset: 2px;
  box-shadow: 0 0 0 3px rgba(200,90,30,0.18);
}
#mobile-theme-button:active {
  background: linear-gradient(135deg, rgba(200,80,30,1) 0%, rgba(180,70,25,1) 100%);
  color: #fff;
  transform: scale(0.97);
}
[data-theme='dark'] #mobile-theme-button {
  background: linear-gradient(135deg, #2d2d38 0%, #18181f 100%);
  color: #fff;
  border: 1px solid rgba(220,90,40,0.25);
}
[data-theme='dark'] #mobile-theme-button:hover {
  background: linear-gradient(135deg, rgba(220,90,40,1) 0%, rgba(180,70,25,1) 100%);
  color: #fff;
}
[data-theme='dark'] #mobile-theme-button i {
  color: #fff;
}

.btn.secondary.modern-form-btn {
  background: rgba(224,224,224,1) !important;
  color: #222 !important;
  border: none !important;
}
[data-theme='dark'] .btn.secondary.modern-form-btn {
  background: rgba(224,224,224,1) !important;
  color: #222 !important;
  border: none !important;
} 
/* Modern Form Elements */

/* Textarea and Input Base Styles */
.bio-textarea,
.youtube-input {
    width: 100%;
    padding: 1.25rem;
    background-color: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    color: var(--text-primary);
    font-size: var(--font-size-base);
    line-height: 1.6;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    outline: none;
    box-sizing: border-box;
    max-width: 100%;
    font-family: inherit;
    text-align: center;
}

.bio-textarea {
    height: 200px;
    min-height: 200px;
    padding: 16px;
    text-align: left;
    line-height: 1.5;
    display: block;
    resize: vertical;
    overflow-y: auto;
}

.youtube-input {
    height: 56px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    width: 100%;
}

.youtube-edit {
    width: 100%;
    margin-bottom: var(--spacing-md);
}

/* Hover States */
.bio-textarea:hover,
.youtube-input:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

/* Focus States */
.bio-textarea:focus,
.youtube-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px var(--primary-color-rgb-20);
    background-color: var(--bg-primary);
    transform: translateY(-1px);
}

/* Dropdown Styles */
.category-dropdown,
.subcategory-dropdown {
    width: 100%;
    height: 56px;
    padding: 0 1.25rem;
    background-color: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    color: var(--text-primary);
    font-size: var(--font-size-base);
    line-height: 1.6;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
            appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 fill=%27none%27 viewBox=%270 0 24 24%27 stroke=%27currentColor%27%3E%3Cpath stroke-linecap=%27round%27 stroke-linejoin=%27round%27 stroke-width=%272%27 d=%27M19 9l-7 7-7-7%27/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.25em;
    box-sizing: border-box;
    max-width: 100%;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    padding-right: 3rem;
    display: block;
}

/* Seçili olmayan dropdown için placeholder rengi */
.category-dropdown option:first-child {
    color: var(--text-secondary);
}

/* Seçili dropdown stilleri */
.category-dropdown.selected {
    color: var(--text-primary);
    border-color: var(--primary-color);
}

/* Seçili dropdown option stilleri */
.category-dropdown.selected option:not(:first-child) {
    color: var(--text-primary);
}

.category-dropdown:hover,
.subcategory-dropdown:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.category-dropdown:focus,
.subcategory-dropdown:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px var(--primary-color-rgb-20);
    background-color: var(--bg-primary);
    transform: translateY(-1px);
}

/* Selected Category Tag */
.selected-category {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 0.85rem;
    background: linear-gradient(135deg, rgba(180, 70, 25, 0.15), rgba(180, 70, 25, 0.25));
    border: none;
    border-radius: 6px;
    color: var(--text-primary) !important;
    font-size: 0.95rem !important;
    font-weight: 500;
    line-height: 1.2;
    transition: all 0.2s ease;
    margin: 0.4rem;
    cursor: default;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.selected-category::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: rgb(180, 70, 25);
    border-radius: 3px 0 0 3px;
}

.selected-category:hover {
    background: linear-gradient(135deg, rgba(180, 70, 25, 0.25), rgba(180, 70, 25, 0.35));
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
}

.selected-category button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: none;
    background: rgba(220, 53, 69, 0.12);
    color: var(--danger-color);
    margin-left: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
    font-size: 12px;
}

.selected-category button:hover {
    background: var(--danger-color);
    color: white;
    transform: scale(1.1);
}

/* Dark theme adjustments for selected categories */
[data-theme='dark'] .selected-category {
    background: linear-gradient(135deg, rgba(180, 70, 25, 0.2), rgba(180, 70, 25, 0.1));
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

[data-theme='dark'] .selected-category:hover {
    background: linear-gradient(135deg, rgba(180, 70, 25, 0.25), rgba(180, 70, 25, 0.15));
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.selected-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-top: 1rem;
    padding: 0.3rem;
}

/* Button Styles */
.add-category-button,
.save-all-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: var(--border-radius-lg);
    font-size: var(--font-size-base);
    font-weight: 600;
    line-height: 1;
    transition: all 0.3s ease;
    cursor: pointer;
    outline: none;
    border: none;
    gap: 0.5rem;
}

.add-category-button {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 2px 4px var(--primary-color-rgb-20);
    padding: 0.75rem 1.5rem;
    width: auto;
    min-width: -webkit-max-content;
    min-width: max-content;
    display: block;
    margin-right: auto;
    margin-left: auto;
}

.save-all-button {
    background-color: var(--success-color);
    color: white;
    box-shadow: 0 2px 4px var(--success-color-rgb-20);
    width: 100%;
    max-width: 200px;
}

.add-category-button:hover,
.save-all-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px var(--primary-color-rgb-20);
    filter: brightness(110%);
}

.add-category-button:active,
.save-all-button:active {
    transform: translateY(0);
    filter: brightness(90%);
}

/* Dark Theme Adjustments */
[data-theme='dark'] .bio-textarea,
[data-theme='dark'] .youtube-input,
[data-theme='dark'] .category-dropdown,
[data-theme='dark'] .subcategory-dropdown {
    background-color: var(--dark-bg-primary);
    border-color: var(--dark-border-color);
    color: var(--dark-text-primary);
}

[data-theme='dark'] .selected-category {
    background-color: var(--primary-color-rgb-20);
    border-color: var(--primary-color-rgb-30);
    color: var(--dark-text-primary) !important;
}

[data-theme='dark'] .add-category-button,
[data-theme='dark'] .save-all-button {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Placeholder Styles */
.bio-textarea::placeholder,
.youtube-input::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
    text-align: left;
}

[data-theme='dark'] .bio-textarea::placeholder,
[data-theme='dark'] .youtube-input::placeholder {
    color: var(--dark-text-secondary);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .bio-textarea {
        min-height: 150px;
        height: 150px;
        padding: 12px;
        font-size: 0.95rem;
    }

    .youtube-input,
    .category-dropdown,
    .subcategory-dropdown {
        height: 48px;
        padding: 0 1.25rem;
    }

    .add-category-button,
    .save-all-button {
        padding: 0.875rem 1.75rem;
        font-size: calc(var(--font-size-base) * 0.95);
    }

    .selected-category {
        padding: 0.625rem 1rem;
        font-size: calc(var(--font-size-base) * 0.95);
    }
}

@media (max-width: 480px) {
    .bio-textarea {
        min-height: 120px;
        height: 120px;
        padding: 10px;
        font-size: 0.9rem;
    }

    .youtube-input,
    .category-dropdown,
    .subcategory-dropdown {
        height: 44px;
        padding: 0 1rem;
        font-size: var(--font-size-sm);
    }

    .add-category-button,
    .save-all-button {
        padding: 0.75rem 1.5rem;
        font-size: var(--font-size-sm);
        width: 100%;
        max-width: none;
    }

    .selected-category {
        padding: 0.5rem 0.875rem;
        font-size: var(--font-size-sm);
        margin: 0.25rem;
    }
}

/* Profile Button Styles */
.profile-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    border-radius: var(--border-radius-lg);
    font-size: var(--font-size-base);
    font-weight: 600;
    line-height: 1;
    transition: all 0.3s ease;
    cursor: pointer;
    outline: none;
    border: none;
    gap: 0.5rem;
}

.save-button {
    background-color: var(--success-color);
    color: white;
    box-shadow: 0 2px 4px var(--success-color-rgb-20);
}

.cancel-button {
    background-color: var(--danger-color);
    color: white;
    box-shadow: 0 2px 4px var(--danger-color-rgb-20);
}

.change-photo {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 2px 4px var(--primary-color-rgb-20);
    padding: 0.75rem 1.5rem;
    font-size: calc(var(--font-size-base) * 0.95);
    border-radius: var(--border-radius-lg);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.youtube-save-button {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 2px 4px var(--primary-color-rgb-20);
    padding: 0.75rem 1.5rem;
    font-size: var(--font-size-base);
    border-radius: var(--border-radius-lg);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    border: none;
    outline: none;
    font-weight: 600;
}

/* Hover States */
.save-button:hover,
.youtube-save-button:hover {
    background-color: var(--success-color-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px var(--success-color-rgb-20);
    filter: brightness(110%);
}

.cancel-button:hover {
    background-color: var(--danger-color-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px var(--danger-color-rgb-20);
    filter: brightness(110%);
}

.change-photo:hover {
    background-color: var(--primary-color-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px var(--primary-color-rgb-20);
    filter: brightness(110%);
}

/* Active States */
.save-button:active,
.cancel-button:active,
.change-photo:active,
.youtube-save-button:active {
    transform: translateY(0);
    filter: brightness(90%);
}

/* Dark Theme Adjustments */
[data-theme='dark'] .save-button,
[data-theme='dark'] .cancel-button,
[data-theme='dark'] .change-photo,
[data-theme='dark'] .youtube-save-button {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

[data-theme='dark'] .save-button:hover,
[data-theme='dark'] .cancel-button:hover,
[data-theme='dark'] .change-photo:hover,
[data-theme='dark'] .youtube-save-button:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

/* Disabled States */
.save-button:disabled,
.cancel-button:disabled,
.change-photo:disabled,
.youtube-save-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    filter: grayscale(20%);
}

/* Loading States */
.save-button.loading,
.cancel-button.loading,
.change-photo.loading,
.youtube-save-button.loading {
    position: relative;
    color: transparent;
}

.save-button.loading::after,
.cancel-button.loading::after,
.change-photo.loading::after,
.youtube-save-button.loading::after {
    content: "";
    position: absolute;
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid transparent;
    border-radius: 50%;
    border-top-color: currentColor;
    animation: button-loading-spinner 0.6s linear infinite;
}

@keyframes button-loading-spinner {
    from {
        transform: rotate(0turn);
    }
    to {
        transform: rotate(1turn);
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .profile-button,
    .change-photo,
    .youtube-save-button {
        padding: 0.75rem 1.5rem;
        font-size: calc(var(--font-size-base) * 0.95);
    }
}

@media (max-width: 480px) {
    .profile-button,
    .change-photo,
    .youtube-save-button {
        width: 100%;
        padding: 0.75rem 1rem;
        font-size: var(--font-size-sm);
    }
    
    .profile-button + .profile-button {
        margin-top: 0.5rem;
    }
}

.auth-card {
    max-width: 380px;
    width: 100%;
    min-width: 220px;
    margin: 2rem auto 0;
    padding: 2rem 1.5rem 1.5rem;
    border-radius: 16px;
    background: #18191a;
    background: var(--card-bg, #18191a);
    box-shadow: 0 4px 24px rgba(0,0,0,0.12), 0 1.5px 4px rgba(255,102,0,0.08);
    border: none;
    transition: box-shadow 0.2s;
    box-sizing: border-box;
    overflow: visible;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.auth-card:focus-within,
.auth-card:hover {
    box-shadow: 0 6px 32px rgba(255,102,0,0.12), 0 2px 8px rgba(255,102,0,0.10);
}

@media (max-width: 500px) {
    .auth-card {
        padding: 1.2rem 0.7rem 1rem;
        max-width: 98vw;
    }
} 

/* Subcategory Filters Modern Styles */
.subcategory-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-start;
    margin-bottom: 1.5rem;
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    width: 100%;
    background: transparent;
    border-radius: 0;
    box-shadow: var(--shadow-xs);
}

.subcategory-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-xl);
    font-size: var(--font-size-base);
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    margin: 0;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: var(--shadow-xs);
    outline: none;
    min-width: 120px;
    min-height: 44px;
    position: relative;
    box-sizing: border-box;
}

.subcategory-button:hover,
.subcategory-button:focus {
    background: var(--primary-color-rgb-10);
    border-color: var(--primary-color);
    color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    z-index: 1;
}

.subcategory-button.active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-color-dark));
    color: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px var(--primary-color-rgb-20);
}

.subcategory-button:active {
    filter: brightness(90%);
    transform: translateY(0);
}

.subcategory-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    filter: grayscale(20%);
}

[data-theme='dark'] .subcategory-filters {
    background: transparent;
    box-shadow: var(--shadow-xs-dark);
    border-radius: 0;
}

[data-theme='dark'] .subcategory-button {
    background: var(--dark-bg-secondary);
    color: var(--dark-text-primary);
    border-color: var(--dark-border-color);
    border-radius: var(--border-radius-xl);
}

[data-theme='dark'] .subcategory-button:hover,
[data-theme='dark'] .subcategory-button:focus {
    background: var(--primary-color-rgb-20);
    color: var(--dark-text-primary);
    border-color: var(--primary-color);
}

[data-theme='dark'] .subcategory-button.active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-color-dark));
    color: #fff;
    border-color: var(--primary-color);
}

@media (max-width: 768px) {
    .subcategory-filters {
        gap: 8px;
        padding-bottom: 0.25rem;
    }
    .subcategory-button {
        font-size: calc(var(--font-size-base) * 0.95);
        padding: 0.5rem 1rem;
        min-width: 90px;
        min-height: 38px;
    }
}

@media (max-width: 480px) {
    .subcategory-filters {
        gap: 6px;
        margin-bottom: 1rem;
    }
    .subcategory-button {
        font-size: var(--font-size-sm);
        padding: 0.4rem 0.75rem;
        min-width: 70px;
        min-height: 32px;
    }
}

.category-selection {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
    margin-bottom: 1.5rem;
}

.category-selection .select-wrapper {
    width: 100%;
    min-width: 0;
    max-width: 100%;
}

.add-category-button {
    width: 100%;
    height: 48px;
    padding: 0 2rem;
    font-size: 1rem;
    border-radius: 8px;
    margin-left: 0;
    margin-top: 0;
    display: block;
    margin-right: auto;
    margin-left: auto;
}

.selected-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

/* Ana kategori seçilince arka planı yeşil yap */
.category-dropdown.selected,
.category-dropdown.selected:focus,
.category-dropdown.selected:hover {
    background-color: #e6f9ed !important;
    border-color: #ff9900 !important;
    color: #1a3d2b !important;
    box-shadow: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}
.category-dropdown.selected option {
    background-color: #e6f9ed !important;
    color: #1a3d2b !important;
}

/* Alt kategori select: disabled ise gri, enabled ise normal */
.subcategory-dropdown:disabled {
    background-color: #ececec !important;
    color: #aaa !important;
    cursor: not-allowed;
    opacity: 0.7;
}
.subcategory-dropdown:enabled {
    background-color: var(--bg-primary) !important;
    color: var(--text-primary) !important;
    cursor: pointer;
    opacity: 1;
}

.add-category-button:disabled {
    background-color: #ececec !important;
    color: #aaa !important;
    cursor: not-allowed !important;
    opacity: 0.7;
    box-shadow: none;
    border: 1px solid #ddd !important;
}
.add-category-button:enabled {
    background-color: var(--primary-color) !important;
    color: #fff !important;
    cursor: pointer !important;
    opacity: 1;
    box-shadow: 0 2px 4px var(--primary-color-rgb-20);
    transform: translateY(0);
    transition: all 0.2s ease;
}

.add-category-button:enabled:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px var(--primary-color-rgb-30);
    background-color: var(--primary-color-dark) !important;
}

.subcategory-dropdown.selected,
.subcategory-dropdown.selected:focus,
.subcategory-dropdown.selected:hover {
  background-color: #e6f9ed !important;
  border-color: #ff9900 !important;
  color: #1a3d2b !important;
  box-shadow: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  background-image: none !important;
}
.subcategory-dropdown.selected option {
  background-color: #e6f9ed !important;
  color: #1a3d2b !important;
}

/* Modern sosyal medya ve iletişim inputları */
input,
.social-media-input-field {
  border-radius: 8px;
  border: 1.5px solid #444;
  border: 1.5px solid var(--border-color, #444);
  background: #18191a;
  color: #fff;
  transition: border 0.2s, box-shadow 0.2s;
  padding: 0.75rem 1.25rem;
  font-size: 1.08rem;
  box-sizing: border-box;
}
input:focus,
.social-media-input-field:focus {
  border-color: #ff9900;
  box-shadow: 0 0 0 2px #ff990033;
  outline: none;
  background: #222;
}
input::placeholder,
.social-media-input-field::placeholder {
  color: #aaa;
  opacity: 1;
}
.social-media-input-wrapper {
  display: flex;
  align-items: stretch;
  gap: 0;
  border-radius: 8px;
  border: 1.5px solid #444;
  border: 1.5px solid var(--border-color, #444);
  overflow: hidden;
  background: #18191a;
}
.social-media-prefix {
  background: #222;
  color: #ff9900;
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  font-size: 1.05rem;
  border: none;
  border-right: 1px solid #444;
  border-right: 1px solid var(--border-color, #444);
  display: flex;
  align-items: center;
}
.social-media-input-field {
  flex: 1 1;
  border: none;
  border-radius: 0;
}

/* Renkli sosyal medya prefixleri */
.social-media-input-wrapper .social-media-prefix.phone    { background: #1abc9c; color: #fff; border-color: #16a085; }
.social-media-input-wrapper .social-media-prefix.twitter  { background: #1da1f2; color: #fff; border-color: #1a8cd8; }
.social-media-input-wrapper .social-media-prefix.instagram{ background: #e1306c; color: #fff; border-color: #c13584; }
.social-media-input-wrapper .social-media-prefix.youtube  { background: #ff0000; color: #fff; border-color: #b80000; }
.social-media-input-wrapper .social-media-prefix.facebook { background: #1877f3; color: #fff; border-color: #145db2; }
.social-media-input-wrapper .social-media-prefix.tiktok   { background: #000; color: #fff; border-color: #25f4ee; }

/* Mobile social media input styles */
@media (max-width: 480px) {
  .social-media-input-wrapper {
    flex-direction: row; /* Always keep horizontally */
  }
  
  .social-media-prefix {
    padding: 0.5rem 0.75rem;
    min-width: 42px;
    justify-content: center;
  }
  
  .social-media-input-field {
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
  }
}

.centered-form-button {
  display: flex;
  justify-content: center;
  width: 100%;
}

/* Light theme: select and dropdown text should be black */
:root[data-theme='light'] select,
:root[data-theme='light'] option,
:root[data-theme='light'] optgroup,
:root[data-theme='light'] .category-dropdown,
:root[data-theme='light'] .subcategory-dropdown {
    color: #111 !important;
    background-color: var(--bg-primary) !important;
}

:root[data-theme='dark'] select,
:root[data-theme='dark'] option,
:root[data-theme='dark'] optgroup,
:root[data-theme='dark'] .category-dropdown,
:root[data-theme='dark'] .subcategory-dropdown {
    color: var(--dark-text-primary) !important;
    background-color: var(--dark-bg-primary) !important;
}

/* Light theme: textarea text should be black */
:root[data-theme='light'] textarea,
:root[data-theme='light'] .bio-textarea {
    color: #111 !important;
    background-color: var(--bg-primary) !important;
}

[data-theme='dark'] textarea,
[data-theme='dark'] .bio-textarea {
    color: var(--dark-text-primary) !important;
    background-color: var(--dark-bg-primary) !important;
}

.work-details-modal .form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.3rem;
}

.work-details-modal label {
  font-size: 1.08rem;
  font-weight: 600;
  color: #fff;
  color: var(--text-primary, #fff);
  margin-bottom: 0.2rem;
  letter-spacing: 0.01em;
}

.work-details-modal input,
.work-details-modal select,
.work-details-modal textarea {
  width: 100%;
  padding: 0.7em 1em;
  border: 1.5px solid #444;
  border: 1.5px solid var(--border-color, #444);
  border-radius: 8px;
  background: #18191c;
  background: var(--bg-primary, #18191c);
  color: #fff;
  color: var(--text-primary, #fff);
  font-size: 1.05rem;
  font-family: inherit;
  outline: none;
  box-shadow: 0 2px 8px rgba(44,62,80,0.06);
  transition: border 0.2s, box-shadow 0.2s, background 0.2s;
}

.work-details-modal input:focus,
.work-details-modal select:focus,
.work-details-modal textarea:focus {
  border-color: #3498db;
  border-color: var(--primary-color, #3498db);
  box-shadow: 0 0 0 2px rgba(52,152,219,0.12);
  background: #23272b;
  background: var(--bg-secondary, #23272b);
}

.work-details-modal input:hover,
.work-details-modal select:hover,
.work-details-modal textarea:hover {
  border-color: #3498db;
  border-color: var(--primary-color, #3498db);
}

.work-details-modal input::placeholder,
.work-details-modal textarea::placeholder {
  color: #aaa;
  color: var(--text-secondary, #aaa);
  opacity: 1;
  font-size: 1.01rem;
}

.work-details-modal .form-row {
  display: flex;
  gap: 1.2rem;
}

@media (max-width: 768px) {
  .work-details-modal .form-row {
    flex-direction: column;
    gap: 0.7rem;
  }
}

.work-details-modal input[type="text"],
.work-details-modal input[type="date"],
.work-details-modal input[type="time"] {
  height: 35px;
  min-height: 35px;
  max-height: 35px;
  line-height: 35px;
}

.review-button.modern-form-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius-lg);
  font-size: var(--font-size-base);
  font-weight: 600;
  line-height: 1;
  transition: all 0.2s cubic-bezier(.4,0,.2,1);
  cursor: pointer;
  outline: none;
  border: none;
  background: var(--primary-color);
  color: #fff;
  box-shadow: 0 2px 4px var(--primary-color-rgb-20);
  margin-top: 8px;
  min-width: 160px;
  min-height: 44px;
  gap: 0.5rem;
}

.review-button.modern-form-btn:hover,
.review-button.modern-form-btn:focus {
  background: #1a237e;
  background: var(--primary-color-dark, #1a237e);
  color: #fff;
  box-shadow: 0 4px 8px var(--primary-color-rgb-30);
  filter: brightness(1.08);
  transform: translateY(-2px) scale(1.03);
}

.review-button.modern-form-btn:active {
  background: var(--primary-color);
  filter: brightness(0.95);
  transform: scale(0.98);
}

.review-button.modern-form-btn:disabled {
  background: var(--border-color);
  color: var(--text-secondary);
  cursor: not-allowed;
  opacity: 0.7;
  box-shadow: none;
}

[data-theme='dark'] .review-button.modern-form-btn {
  background: #222a3a;
  background: var(--primary-color-rgb-20, #222a3a);
  color: #fff;
  color: var(--dark-text-primary, #fff);
  box-shadow: 0 2px 4px rgba(0,0,0,0.25);
}
[data-theme='dark'] .review-button.modern-form-btn:hover,
[data-theme='dark'] .review-button.modern-form-btn:focus {
  background: #0d1333;
  background: var(--primary-color-dark, #0d1333);
  color: #fff;
  box-shadow: 0 4px 8px #111;
  box-shadow: 0 4px 8px var(--primary-color-rgb-40, #111);
}
[data-theme='dark'] .review-button.modern-form-btn:active {
  background: #222a3a;
  background: var(--primary-color-rgb-20, #222a3a);
  filter: brightness(0.95);
}
[data-theme='dark'] .review-button.modern-form-btn:disabled {
  background: #444;
  background: var(--dark-border-color, #444);
  color: #aaa;
  color: var(--dark-text-secondary, #aaa);
  opacity: 0.6;
  box-shadow: none;
}

.category-helper-text {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background-color: rgba(var(--primary-color-rgb), 0.1);
    border-radius: 0.5rem;
    animation: fadeIn 0.3s ease-in-out;
}

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

.category-helper-text i {
    font-size: 1rem;
    color: var(--primary-color);
}

[data-theme='dark'] .category-helper-text {
    color: var(--primary-color-light);
    background-color: rgba(var(--primary-color-rgb), 0.15);
}

/* Subcategory multi-select dropdown styles */
.subcategory-dropdown[size] {
  overflow-y: auto;
  background-color: #18191a;
  border: 1.5px solid #444;
  border: 1.5px solid var(--border-color, #444);
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
}

.subcategory-dropdown[size] option {
  padding: 8px 12px;
  border-bottom: 1px solid #333;
}

.subcategory-dropdown[size] option:hover {
  background-color: #333;
}

.subcategory-dropdown[size] option:checked,
.subcategory-dropdown[size] option:selected {
  background-color: #444;
  color: #ff9900;
  font-weight: bold;
}

.category-selection {
  margin-bottom: 1.5rem;
}

/* Add scrollbar styling for better appearance */
.bio-textarea::-webkit-scrollbar {
    width: 8px;
}

.bio-textarea::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 8px;
}

.bio-textarea::-webkit-scrollbar-thumb {
    background: var(--primary-color-rgb-20);
    border-radius: 8px;
}

.bio-textarea::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color-rgb-30);
}

/* City selection styles */
select[name="city"], 
.info-item select.form-control {
    height: auto;
    min-height: 52px;
    padding: 0.75rem 1.25rem;
    width: 100%;
    max-width: 100%;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    -webkit-appearance: none;
            appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 fill=%27%23ff9900%27 viewBox=%270 0 24 24%27 stroke=%27%23ff9900%27%3E%3Cpath stroke-linecap=%27round%27 stroke-linejoin=%27round%27 stroke-width=%272%27 d=%27M19 9l-7 7-7-7%27/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.25em;
    line-height: 1.5;
} 
/* Work Details Modal Styles */

/* Modal Overlay */
.work-details-modal-overlay {
  position: fixed;
  top: 60px !important; /* Updated to match the new desktop value */
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: flex-start; /* Change from center to flex-start to align with top position */
  z-index: 1040;
  z-index: var(--z-index-modal, 1040);
  padding: 20px 0 0 0; /* Add top padding to ensure content isn't too close to the top */
  overflow-y: auto;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

/* Modal Container */
.work-details-modal {
  background-color: var(--bg-primary);
  border-radius: 24px 24px 0 0;
  width: 100%;
  max-width: 100%;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  animation: modal-slide-up 0.3s ease-out;
  position: relative;
  z-index: 10001;
  margin: 0 0 20px 0;
  align-self: flex-end;
  max-height: calc(100vh - 120px); /* Adjust max-height to account for the 100px top position */
  overflow-y: auto;
  -webkit-overflow-scrolling: touch; /* Improves scrolling on Safari mobile */
}

@keyframes modal-slide-up {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Modal Header */
.work-details-modal .modal-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.work-details-modal .modal-header h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
}

.work-details-modal .close-button {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.work-details-modal .close-button:hover {
  color: var(--text-primary);
  transform: scale(1.1);
}

/* Change Request Banners */
.work-details-modal .change-request-banner {
  padding: 0.5rem;
  border-radius: var(--border-radius-md);
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  max-width: 95%;
  margin-left: auto;
  margin-right: auto;
}

.work-details-modal .change-request-banner.your-request {
  background-color: rgba(var(--primary-color-rgb), 0.08);
  border: 1px solid rgba(var(--primary-color-rgb), 0.15);
  color: var(--primary-color);
}

.work-details-modal .change-request-banner.pending-approval {
  background-color: rgba(var(--warning-color-rgb), 0.08);
  border: 1px solid rgba(var(--warning-color-rgb), 0.15);
  color: var(--warning-color);
}

.work-details-modal .change-request-banner p {
  margin: 0;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.75rem;
  line-height: 1.2;
}

.work-details-modal .change-request-banner i {
  font-size: 0.9rem;
  margin-right: 0.35rem;
}

.work-details-modal .auto-approval-timer {
  display: flex;
  align-items: center;
  font-weight: 500;
  margin-top: 0.15rem;
  padding-top: 0.15rem;
  border-top: 1px dashed rgba(var(--warning-color-rgb), 0.3);
  width: 100%;
  font-size: 0.7rem;
}

.work-details-modal .auto-approval-timer i {
  margin-right: 0.35rem;
  color: var(--warning-color);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.6;
  }
}

/* Dark Theme Adjustments for Timer */
[data-theme='dark'] .work-details-modal .auto-approval-timer {
  border-color: rgba(var(--warning-color-rgb), 0.4);
}

/* Dark Theme Adjustments */
[data-theme='dark'] .work-details-modal .change-request-banner.your-request {
  background-color: rgba(var(--primary-color-rgb), 0.12);
  border-color: rgba(var(--primary-color-rgb), 0.2);
}

[data-theme='dark'] .work-details-modal .change-request-banner.pending-approval {
  background-color: rgba(var(--warning-color-rgb), 0.12);
  border-color: rgba(var(--warning-color-rgb), 0.2);
}

/* Dark Theme Adjustments - Restore deleted styles */
[data-theme='dark'] .work-details-modal {
  background-color: var(--dark-bg-primary);
}

[data-theme='dark'] .work-details-modal .modal-header,
[data-theme='dark'] .work-details-modal .modal-footer {
  border-color: var(--dark-border-color);
}

[data-theme='dark'] .work-details-modal .location-input,
[data-theme='dark'] .work-details-modal .date-input,
[data-theme='dark'] .work-details-modal .time-input,
[data-theme='dark'] .work-details-modal .details-textarea {
  background-color: var(--dark-bg-primary);
  border-color: var(--dark-border-color);
  color: var(--dark-text-primary);
}

[data-theme='dark'] .work-details-modal .location-input[readonly],
[data-theme='dark'] .work-details-modal .date-input[readonly],
[data-theme='dark'] .work-details-modal .time-input[readonly],
[data-theme='dark'] .work-details-modal .details-textarea[readonly] {
  background-color: var(--dark-bg-secondary);
}

[data-theme='dark'] .work-details-modal .cancel-button {
  background-color: var(--dark-bg-secondary);
  color: var(--dark-text-primary);
  border-color: var(--dark-border-color);
}

[data-theme='dark'] .work-details-modal .close-button {
  color: var(--dark-text-secondary);
}

[data-theme='dark'] .work-details-modal .close-button:hover {
  color: var(--dark-text-primary);
}

[data-theme='dark'] .work-details-modal .change-request-message.success {
  background-color: rgba(var(--success-color-rgb), 0.2);
  border-color: rgba(var(--success-color-rgb), 0.3);
}

[data-theme='dark'] .work-details-modal .change-request-message.error {
  background-color: rgba(var(--danger-color-rgb), 0.2);
  border-color: rgba(var(--danger-color-rgb), 0.3);
}

[data-theme='dark'] .work-details-preview {
  border-color: var(--dark-border-color-light);
  color: var(--dark-text-secondary);
}

[data-theme='dark'] .pending-changes-indicator {
  background-color: rgba(var(--warning-color-rgb), 0.2);
  border-color: rgba(var(--warning-color-rgb), 0.3);
}

[data-theme='dark'] .pending-changes-indicator.your-request {
  background-color: rgba(var(--primary-color-rgb), 0.2);
  border-color: rgba(var(--primary-color-rgb), 0.3);
}

[data-theme='dark'] .pending-changes-indicator.needs-approval {
  background-color: rgba(var(--warning-color-rgb), 0.25);
  border-color: rgba(var(--warning-color-rgb), 0.35);
}

[data-theme='dark'] .work-details-modal .reject-button {
  background-color: var(--danger-color);
  color: #fff;
}

[data-theme='dark'] .work-details-modal .reject-button:hover:not(:disabled),
[data-theme='dark'] .work-details-modal .reject-button:focus:not(:disabled),
[data-theme='dark'] .work-details-modal .reject-button:active:not(:disabled) {
  background-color: var(--danger-color-dark);
  color: #fff;
}

/* Change Request Messages */
.work-details-modal .change-request-message {
  padding: 0.875rem;
  border-radius: var(--border-radius-md);
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  animation: fade-in 0.3s ease-out;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.work-details-modal .change-request-message p {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.work-details-modal .change-request-message i {
  font-size: 1.125rem;
}

.work-details-modal .change-request-message.success {
  background-color: rgba(var(--success-color-rgb), 0.1);
  border: 1px solid rgba(var(--success-color-rgb), 0.2);
  color: var(--success-color);
}

.work-details-modal .change-request-message.error {
  background-color: rgba(var(--danger-color-rgb), 0.1);
  border: 1px solid rgba(var(--danger-color-rgb), 0.2);
  color: var(--danger-color);
}

/* Modal Body */
.work-details-modal .modal-body {
  padding: 1.5rem;
  overflow-y: auto;
  max-height: calc(80vh - 8rem);
}

/* Form Groups */
.work-details-modal .form-group {
  margin-bottom: 1.25rem;
  width: 100%; /* Ensures consistent width in Safari */
}

.work-details-modal .form-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  width: 100%; /* Ensures full width on Safari */
}

.work-details-modal .form-row .form-group {
  flex: 1 1 120px; /* Better flex specification for Safari */
  min-width: 120px;
  margin-bottom: 0;
}

.work-details-modal label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

/* Input Fields */
.work-details-modal .location-input,
.work-details-modal .date-input,
.work-details-modal .time-input {
  width: 100%;
  padding: 0.875rem 1rem;
  background-color: var(--bg-primary);
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius-md);
  color: var(--text-primary);
  font-size: var(--font-size-base);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
  outline: none;
  box-sizing: border-box;
  -webkit-appearance: none; /* Removes Safari's default styling */
  appearance: none;
}

.work-details-modal .details-textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  background-color: var(--bg-primary);
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius-md);
  color: var(--text-primary);
  font-size: var(--font-size-base);
  line-height: 1.5;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
  outline: none;
  box-sizing: border-box;
  resize: vertical;
  min-height: 120px;
  -webkit-appearance: none; /* Removes Safari's default styling */
  appearance: none;
}

/* Read-only Input Styles */
.work-details-modal .location-input[readonly],
.work-details-modal .date-input[readonly],
.work-details-modal .time-input[readonly],
.work-details-modal .details-textarea[readonly] {
  background-color: var(--bg-secondary);
  cursor: not-allowed;
  opacity: 0.8;
  border-color: var(--border-color-light);
}

/* Disabled Input Styles */
.work-details-modal .location-input:disabled,
.work-details-modal .date-input:disabled,
.work-details-modal .time-input:disabled,
.work-details-modal .details-textarea:disabled {
  background-color: var(--bg-secondary);
  cursor: not-allowed;
  opacity: 0.7;
}

/* Input Hover & Focus States */
.work-details-modal .location-input:hover:not([readonly]):not(:disabled),
.work-details-modal .date-input:hover:not([readonly]):not(:disabled),
.work-details-modal .time-input:hover:not([readonly]):not(:disabled),
.work-details-modal .details-textarea:hover:not([readonly]):not(:disabled) {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-md);
}

.work-details-modal .location-input:focus:not([readonly]):not(:disabled),
.work-details-modal .date-input:focus:not([readonly]):not(:disabled),
.work-details-modal .time-input:focus:not([readonly]):not(:disabled),
.work-details-modal .details-textarea:focus:not([readonly]):not(:disabled) {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px var(--primary-color-rgb-20);
}

/* Modal Footer */
.work-details-modal .modal-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Footer Buttons */
.work-details-modal .cancel-button,
.work-details-modal .save-button,
.work-details-modal .profile-button,
.work-details-modal .approve-button,
.work-details-modal .reject-button,
.work-details-modal .cancel-request-button {
  padding: 0.75rem 1.25rem;
  border-radius: var(--border-radius-md);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  gap: 0.5rem;
}

.work-details-modal .cancel-button {
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.work-details-modal .save-button {
  background-color: var(--success-color);
  color: white;
}

.work-details-modal .profile-button {
  background-color: var(--primary-color);
  color: white;
  margin-right: auto;
}

.work-details-modal .approve-button {
  background-color: var(--success-color);
  color: white;
}

.work-details-modal .reject-button {
  background-color: var(--danger-color);
  color: white;
}

.work-details-modal .cancel-request-button {
  background-color: var(--warning-color);
  color: #000;
}

.work-details-modal .cancel-button:hover:not(:disabled) {
  background-color: var(--bg-tertiary);
}

.work-details-modal .save-button:hover:not(:disabled) {
  background-color: var(--success-color-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.work-details-modal .profile-button:hover:not(:disabled) {
  background-color: var(--primary-color-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.work-details-modal .approve-button:hover:not(:disabled) {
  background-color: var(--success-color-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.work-details-modal .reject-button:hover:not(:disabled) {
  background-color: var(--danger-color-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.work-details-modal .cancel-request-button:hover:not(:disabled),
.work-details-modal .cancel-request-button:focus:not(:disabled) {
  background-color: var(--warning-color-dark);
  color: #000;
}

.work-details-modal .cancel-request-button:active:not(:disabled) {
  background-color: var(--warning-color-dark);
  color: #000;
}

.work-details-modal .cancel-request-button:disabled {
  background-color: #ffe082;
  background-color: var(--warning-color-light, #ffe082);
  color: #888;
  cursor: not-allowed;
}

/* Disabled Button Styles */
.work-details-modal button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  pointer-events: none;
}

/* Work Card Preview */
.work-details-preview {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  border-top: 1px solid var(--border-color-light);
  padding-top: 0.75rem;
}

.work-details-preview p {
  margin: 0.25rem 0;
  display: flex;
  align-items: center;
}

.work-details-preview p i {
  margin-right: 0.4rem;
  color: var(--primary-color);
}

/* Pending Change Indicator for Work Cards */
.approved-work-card.has-pending-changes {
  border: 2px solid var(--warning-color);
  position: relative;
}

.approved-work-card.has-pending-changes::after {
  content: "";
  position: absolute;
  top: -8px;
  right: -8px;
  width: 20px;
  height: 20px;
  background-color: var(--warning-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.75rem;
  color: white;
  box-shadow: var(--shadow-sm);
}

.pending-changes-indicator {
  background-color: rgba(var(--warning-color-rgb), 0.1);
  border-top: 1px solid rgba(var(--warning-color-rgb), 0.2);
  padding: 0.5rem;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--warning-color);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.pending-changes-indicator.your-request {
  background-color: rgba(var(--primary-color-rgb), 0.1);
  border-color: rgba(var(--primary-color-rgb), 0.2);
  color: var(--primary-color);
}

.pending-changes-indicator.needs-approval {
  background-color: rgba(var(--warning-color-rgb), 0.15);
  border-color: rgba(var(--warning-color-rgb), 0.25);
  color: var(--warning-color);
  font-weight: bold;
}

/* Mobile adjustments */
@media (max-width: 480px) {
  /* Uyarı ve mesaj bantlarını düzenleme */
  .work-details-modal .change-request-banner,
  .work-details-modal .change-request-message {
    font-size: 0.7rem;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    max-width: 90%;
  }
  
  .work-details-modal .change-request-banner p {
    font-size: 0.7rem;
    gap: 0.15rem;
  }
  
  .work-details-modal .change-request-banner i {
    font-size: 0.8rem;
    margin-right: 0.25rem;
  }
  
  .work-details-modal .auto-approval-timer {
    font-size: 0.65rem;
    margin-top: 0.1rem;
    padding-top: 0.1rem;
  }
}

/* Safari-specific overrides */
@supports (-webkit-touch-callout: none) {
  .work-details-modal .form-row {
    display: flex;
    flex-flow: row wrap;
  }
  
  .work-details-modal .form-row .form-group {
    flex: 1 1 200px; /* Larger minimum width for Safari */
  }
  
  /* Fix Safari input rendering */
  .work-details-modal .location-input,
  .work-details-modal .date-input,
  .work-details-modal .time-input,
  .work-details-modal .details-textarea {
    border-radius: var(--border-radius-md);
    -webkit-appearance: none;
    appearance: none;
    width: 100%; /* Force 100% width */
  }
  
  /* Fix Safari modal positioning */
  .work-details-modal-overlay {
    position: fixed;
    top: 60px !important; /* Updated to match the new desktop value */
    height: calc(100% - 60px); /* Adjust height based on top position */
  }
  
  /* Ensure proper sizing of input fields on Safari mobile */
  .work-details-modal .location-input,
  .work-details-modal .date-input,
  .work-details-modal .time-input {
    height: 44px; /* Consistent height for touch targets */
    line-height: normal; /* Fix text alignment in inputs */
    width: 100%; /* Force 100% width */
    max-width: 100%; /* Ensure no element exceeds container */
    display: block; /* Ensures block display */
  }
  
  /* Fix textarea proportions on Safari */
  .work-details-modal .details-textarea {
    min-height: 100px;
    padding: 12px;
    line-height: 1.4;
    width: 100%; /* Force 100% width */
    display: block; /* Ensures block display */
  }
  
  /* Safari mobile styles */
  @media (max-width: 768px) {
    .work-details-modal-overlay {
      top: 0 !important; /* Mobile value */
      height: 100%; /* Full height for mobile */
    }
  }
  
  /* Create fixed-width layout for all form elements on iOS devices */
  @media only screen and (max-device-width: 430px) {
    .work-details-modal .form-row {
      flex-direction: column;
    }
    
    .work-details-modal .form-row .form-group {
      width: 100%;
      flex: none;
    }

    .work-details-modal .details-textarea {
      min-height: 85px; /* 15% smaller than 100px */
      font-size: 13.6px; /* 15% smaller than 16px */
      padding: 8.5px 12.75px; /* 15% smaller padding */
      width: 85%; /* 15% smaller width */
      margin: 0 auto; /* Center the textarea */
    }
  }
}

/* Fix Safari on iPad */
@media (min-width: 768px) and (max-width: 1024px) and (-webkit-min-device-pixel-ratio: 2) {
  .work-details-modal .form-row {
    flex-wrap: wrap;
  }
  
  .work-details-modal .form-row .form-group {
    flex-basis: 45%;
    min-width: 180px;
  }
}

/* iPhone 13/14/15 Pro & Pro Max Models */
@media only screen and (min-device-width: 390px) and (max-device-width: 430px) and (-webkit-min-device-pixel-ratio: 3) {
  .work-details-modal {
    border-radius: 25px 25px 0 0;
    max-height: 85vh;
  }
  
  .work-details-modal .modal-header {
    padding: 16px 20px;
  }
  
  .work-details-modal .modal-body {
    padding: 15px 20px;
  }
  
  .work-details-modal .form-group {
    margin-bottom: 18px;
    width: 100%;
  }
  
  /* Force equal width for all inputs */
  .work-details-modal .form-row {
    flex-direction: column;
    gap: 18px;
  }
  
  .work-details-modal .form-row .form-group {
    width: 100%;
    flex: 0 0 100%;
  }
  
  .work-details-modal .location-input,
  .work-details-modal .date-input,
  .work-details-modal .time-input {
    height: 48px;
    font-size: 16px; /* Prevent auto-zoom on iOS */
    padding: 10px 15px;
    width: 100%;
    box-sizing: border-box;
    display: block; /* Ensures block display */
  }
  
  .work-details-modal .details-textarea {
    min-height: 85px; /* 15% smaller than 100px */
    font-size: 13.6px; /* 15% smaller than 16px */
    padding: 8.5px 12.75px; /* 15% smaller padding */
    width: 85%; /* 15% smaller width */
    margin: 0 auto; /* Center the textarea */
    box-sizing: border-box;
  }
  
  .work-details-modal label {
    font-size: 15px;
    margin-bottom: 8px;
    display: block; /* Ensures block display */
  }
  
  /* Fix button proportions */
  .work-details-modal .modal-footer {
    padding: 15px 20px;
    gap: 10px;
  }
  
  .work-details-modal .profile-button {
    flex-basis: 100%;
    margin-bottom: 10px;
    height: 44px;
  }
  
  .work-details-modal .cancel-button,
  .work-details-modal .save-button,
  .work-details-modal .approve-button,
  .work-details-modal .reject-button {
    height: 44px;
    padding: 0 16px;
    font-size: 15px;
  }
}

/* iPhone SE and small screens */
@media (max-width: 375px) {
  .work-details-modal .form-row .form-group {
    flex: 1 0 100%; /* Force single column layout on very small screens */
  }
  
  .work-details-modal .modal-footer button {
    flex: 1 0 auto;
    min-width: 0;
    padding: 0.6rem 0.5rem;
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .work-details-modal {
    border-radius: var(--border-radius-lg);
    max-width: 500px;
    margin: 20px;
    align-self: center;
  }
  
  .work-details-modal-overlay {
    top: 0 !important; /* Set to 0 for mobile view */
    padding-top: 10px;
    align-items: flex-start;
  }
  
  .work-details-modal {
    max-height: calc(100vh - 20px); /* Adjust max-height for mobile */
  }
  
  .work-details-modal .modal-body {
    padding: 1.25rem;
  }
  
  .work-details-modal .form-row {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  /* Form row içindeki form gruplarının yeni stil düzenlemeleri */
  .work-details-modal .form-row .form-group {
    width: 100%;
    flex: 0 0 100%; /* Safari için daha kesin flex değeri */
    margin-right: 0;
  }

  /* Ensure all inputs have equal width */
  .work-details-modal .location-input,
  .work-details-modal .date-input,
  .work-details-modal .time-input {
    width: 100%;
    box-sizing: border-box;
  }
  
  .work-details-modal .modal-footer {
    justify-content: space-between;
  }
  
  .work-details-modal .profile-button {
    margin-right: 0;
    order: -1;
    flex-basis: 100%;
    margin-bottom: 0.5rem;
  }
  
  .work-details-modal .approve-button,
  .work-details-modal .reject-button,
  .work-details-modal .cancel-request-button {
    padding: 0.7rem 1rem;
    font-size: 0.85rem;
  }
} 
/* Theme Variables */
:root {
  /* Light theme */
  --modal-bg-light: #ffffff;
  --modal-text-light: #333333;
  --modal-border-light: #e0e0e0;
  --modal-secondary-text-light: #666666;
  --modal-hover-light: #f5f5f5;
  
  /* Dark theme */
  --modal-bg-dark: #222222;
  --modal-text-dark: #ffffff;
  --modal-border-dark: #444444;
  --modal-secondary-text-dark: #bbbbbb;
  --modal-hover-dark: rgba(255, 255, 255, 0.05);
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: flex-start !important;
    justify-content: center;
    z-index: 4000;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 0 !important;
    margin: 0 !important;
    animation: modalOverlayFadeIn 0.3s ease;
}

/* Modal Container */
.modal,
.base-modal,
.confirmation-modal,
.work-details-modal {
    width: auto;
    max-width: 400px;
    min-width: 0;
    background: #ffffff;
    background: var(--modal-bg-light);
    color: #333333;
    color: var(--modal-text-light);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    padding: 2rem 1.5rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 0 !important;
}

/* Modal Header */
.modal-header {
    display: flex;
    align-items: center !important;
    justify-content: center !important;
    padding: var(--spacing-md) var(--spacing-lg);
    border-bottom: 1px solid var(--border-color);
}

.modal-title {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

/* Modal Close Button */
.modal-close {
    display: none !important;
}

/* Modal Body */
.modal-body {
    padding: var(--spacing-lg);
}

/* Modal Footer */
.modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-lg);
    border-top: 1px solid var(--border-color);
}

/* Modal Sizes */
.modal-sm {
    max-width: 300px;
}

.modal-lg {
    max-width: 800px;
}

.modal-xl {
    max-width: 1140px;
}

/* Modal Animations */
@keyframes modalOverlayFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* Scrollbar Styles */
.modal::-webkit-scrollbar {
    width: 8px;
}

.modal::-webkit-scrollbar-track {
    background-color: var(--bg-secondary);
    border-radius: 4px;
}

.modal::-webkit-scrollbar-thumb {
    background-color: var(--text-secondary);
    border-radius: 4px;
}

.modal::-webkit-scrollbar-thumb:hover {
    background-color: var(--text-primary);
}

/* Dark Theme */
[data-theme='dark'] .modal,
[data-theme='dark'] .base-modal,
[data-theme='dark'] .confirmation-modal,
[data-theme='dark'] .work-details-modal {
    background: #222222;
    background: var(--modal-bg-dark);
    color: #ffffff;
    color: var(--modal-text-dark);
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}

[data-theme='dark'] .modal-header {
    border-bottom-color: var(--dark-bg-secondary);
}

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

[data-theme='dark'] .modal-close {
    color: var(--dark-text-secondary);
}

[data-theme='dark'] .modal-close:hover {
    background-color: var(--dark-bg-secondary);
    color: var(--dark-text-primary);
}

[data-theme='dark'] .modal-footer {
    border-top-color: var(--dark-bg-secondary);
}

[data-theme='dark'] .modal::-webkit-scrollbar-track {
    background-color: var(--dark-bg-secondary);
}

[data-theme='dark'] .modal::-webkit-scrollbar-thumb {
    background-color: var(--dark-text-secondary);
}

[data-theme='dark'] .modal::-webkit-scrollbar-thumb:hover {
    background-color: var(--dark-text-primary);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .modal,
    .base-modal,
    .confirmation-modal,
    .work-details-modal {
        margin-top: 60px !important;
    }
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: var(--spacing-md);
    }

    .modal-title {
        font-size: var(--font-size-base);
    }

    .modal-overlay {
        top: calc(60px + 20px) !important;
        height: calc(100vh - 60px - 20px) !important;
        padding-top: 16px !important;
    }
    
    .work-details-modal-overlay {
        top: 0 !important; /* Set to 0 for mobile view */
        height: 100vh !important;
        padding: 0 !important;
        margin: 0 !important;
        align-items: flex-start !important;
    }
    
    .tag-modal {
        top: 130px !important; /* staff-background height (120px) + 10px gap */
        padding-top: 0 !important;
        margin-top: 0 !important;
    }
}

@media (max-width: 480px) {
    .modal-overlay {
        top: 0 !important;
    }

    .modal,
    .base-modal,
    .confirmation-modal,
    .work-details-modal {
        max-width: 98vw;
        width: 98vw;
        padding: 1rem 0.5rem;
        border-radius: 10px;
        margin-top: 0;
    }

    .modal-header,
    .modal-body,
    .modal-footer {
        padding: var(--spacing-sm);
    }

    .modal-footer {
        flex-direction: column;
        gap: var(--spacing-xs);
    }

    .modal-footer .btn {
        width: 100%;
    }
}

html, body {
    height: 100%;
}

.tag-modal {
    background: #222;
    background: var(--modal-bg, #222);
    color: #fff;
    color: var(--text-primary, #fff);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
    padding: 2rem 1.5rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    top: 130px !important; /* staff-background height (120px) + 10px gap */
}

.tag-modal .close-button {
    position: absolute;
    top: 18px;
    right: 18px;
    background: none;
    border: none;
    color: #aaa;
    color: var(--text-secondary, #aaa);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 2;
    padding: 4px;
    border-radius: 50%;
    transition: background 0.2s, color 0.2s;
}

.tag-modal .close-button:hover {
    background: #333;
    background: var(--bg-secondary, #333);
    color: #fff;
    color: var(--text-primary, #fff);
}

[data-theme='dark'] .tag-modal {
    background: #222;
    background: var(--dark-bg-primary, #222);
    color: #fff;
    color: var(--dark-text-primary, #fff);
}

.tag-modal .remove-button.modern-form-btn {
    background: #e74c3c;
    background: var(--danger-color, #e74c3c);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.6em 1.5em;
    margin-right: 0.5em;
    margin-left: 0.5em;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.08);
    outline: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
}

.tag-modal .remove-button.modern-form-btn:hover,
.tag-modal .remove-button.modern-form-btn:focus {
    background: #c0392b;
    color: #fff;
}

.tag-modal .remove-button.modern-form-btn:active {
    background: #a93226;
    color: #fff;
}

.tag-modal .remove-button.modern-form-btn:disabled {
    background: #f5b7b1;
    color: #fff;
    cursor: not-allowed;
    opacity: 0.7;
}

.work-details-modal-overlay {
    position: fixed;
    top: 60px !important; /* Set to 60px on desktop */
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    -webkit-backdrop-filter: blur(4px);
            backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: flex-start !important;
    z-index: 1000;
    padding: 10px 0 !important;
    margin: 0 !important;
    animation: modalOverlayFadeIn 0.3s ease;
}

/* Override any other styles to ensure padding is properly set */
div.work-details-modal-overlay,
.work-details-modal-overlay[class],
body .work-details-modal-overlay {
    padding-top: 0 !important;
    padding: 0 !important;
    top: 60px !important; /* Desktop value: 60px */
}

.work-details-modal .close-button.modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    background: none;
    border: none;
    color: #aaa;
    color: var(--text-secondary, #aaa);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 2;
    padding: 4px;
    border-radius: 50%;
    transition: background 0.2s, color 0.2s;
}

.work-details-modal .close-button.modal-close:hover {
    background: #333;
    background: var(--bg-secondary, #333);
    color: #fff;
    color: var(--text-primary, #fff);
}

.work-details-modal {
    max-width: 100%;
    width: 100%;
    padding: 2.5rem 2rem;
    border-radius: 24px 24px 0 0;
}

@media (max-width: 768px) {
    .work-details-modal {
        max-width: 98vw;
        width: 98vw;
        padding: 1.2rem 0.5rem;
        border-radius: 16px;
        margin: 0 auto;
    }
}

.work-details-modal .modal-header {
    background: transparent;
    border-bottom: 1px solid #333;
    border-bottom: 1px solid var(--border-color, #333);
    border-radius: 16px 16px 0 0;
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.work-details-modal .modal-body {
    background: transparent;
    border-radius: 0;
    padding: 0.7rem 0 1.2rem 0;
    font-size: 1.08rem;
    color: #fff;
    color: var(--text-primary, #fff);
    line-height: 1.7;
    margin-top: 0.5rem;
}

.work-details-modal .modal-footer {
    background: transparent;
    border-top: 1px solid #333;
    border-top: 1px solid var(--border-color, #333);
    border-radius: 0 0 16px 16px;
    margin-top: 1.2rem;
    padding-top: 1.2rem;
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
}

.work-details-modal .modal-footer button {
    flex: 1 1;
    min-width: 0;
    max-width: 220px;
    margin: 0;
    border-radius: 8px;
    font-size: 1.08rem;
    font-weight: 600;
    padding: 0.7em 1.2em;
    box-shadow: 0 2px 8px rgba(44,62,80,0.07);
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.work-details-modal .modal-footer .modern-form-btn {
    background: #3498db;
    background: var(--primary-color, #3498db);
    color: #fff;
    border: none;
}

.work-details-modal .modal-footer .modern-form-btn:hover {
    background: #217dbb;
    background: var(--primary-color-dark, #217dbb);
    color: #fff;
}

.work-details-modal .modal-footer .cancel-button {
    background: #e74c3c;
    background: var(--danger-color, #e74c3c);
    color: #fff;
}

.work-details-modal .modal-footer .cancel-button:hover {
    background: #c0392b;
    color: #fff;
}

.work-details-modal .modal-header,
.work-details-modal .modal-body,
.work-details-modal .modal-footer {
    width: 100%;
    box-sizing: border-box;
}

/* Override any other styles to ensure positioning is properly set for tag-modal */
div.tag-modal,
.tag-modal[class],
body .tag-modal {
    top: 100px !important; /* 30px yukarı taşındı */
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .work-details-modal {
        max-width: 98vw;
        width: 98vw;
        padding: 1.2rem 0.5rem;
        border-radius: 16px;
        margin: 0 auto;
    }
}

/* Media query for mobile devices */
@media (max-width: 768px) {
    .work-details-modal-overlay,
    div.work-details-modal-overlay,
    .work-details-modal-overlay[class],
    body .work-details-modal-overlay {
        top: 0 !important; /* Set to 0 for mobile view */
    }
}

/* Radio Container */
.radio-container {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    border: 1px solid var(--modal-border-light);
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    background-color: #ffffff;
    background-color: var(--modal-bg-light);
}

[data-theme='dark'] .radio-container {
    border-color: #444444;
    border-color: var(--modal-border-dark);
    background-color: #222222;
    background-color: var(--modal-bg-dark);
}

.radio-container:hover {
    background-color: #f5f5f5;
    background-color: var(--modal-hover-light);
}

[data-theme='dark'] .radio-container:hover {
    background-color: rgba(255, 255, 255, 0.05);
    background-color: var(--modal-hover-dark);
}

.radio-container input[type="radio"] {
    opacity: 0;
    position: absolute;
}

.radio-custom {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #bbb;
    border: 2px solid var(--text-secondary, #bbb);
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 3px;
}

.radio-custom::after {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(200, 80, 30, 1);
    opacity: 0;
    transition: all 0.2s ease;
}

.radio-container input[type="radio"]:checked + .radio-custom {
    border-color: rgba(200, 80, 30, 1);
}

.radio-container input[type="radio"]:checked + .radio-custom::after {
    opacity: 1;
}

.radio-label {
    display: flex;
    flex-direction: column;
}

.radio-label strong {
    font-size: 1rem;
    margin-bottom: 4px;
    color: #333333;
    color: var(--modal-text-light);
}

[data-theme='dark'] .radio-label strong {
    color: #ffffff;
    color: var(--modal-text-dark);
}

.radio-label p {
    font-size: 0.9rem;
    margin: 0;
    color: #666666;
    color: var(--modal-secondary-text-light);
}

[data-theme='dark'] .radio-label p {
    color: #bbbbbb;
    color: var(--modal-secondary-text-dark);
}

.report-modal-header h3 {
    color: #333333;
    color: var(--modal-text-light);
}

[data-theme='dark'] .report-modal-header h3 {
    color: #ffffff;
    color: var(--modal-text-dark);
}

/* Terms Notice */
.terms-notice {
    padding: 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    margin: 20px 0;
    line-height: 1.5;
    background-color: rgba(200, 80, 30, 0.05);
    border: 1px solid #e0e0e0;
    border: 1px solid var(--modal-border-light);
    color: #333333;
    color: var(--modal-text-light);
}

[data-theme='dark'] .terms-notice {
    background-color: rgba(200, 80, 30, 0.1);
    border-color: #444444;
    border-color: var(--modal-border-dark);
    color: #ffffff;
    color: var(--modal-text-dark);
}

.terms-notice a {
    color: rgba(200, 80, 30, 0.9);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.terms-notice a:hover {
    color: rgba(200, 80, 30, 1);
    text-decoration: underline;
}

[data-theme='dark'] .terms-notice a {
    color: rgba(255, 140, 90, 0.9);
}

[data-theme='dark'] .terms-notice a:hover {
    color: rgba(255, 140, 90, 1);
} 
/* Confirmation Modal */
.confirmation-modal {
    max-width: 400px;
}

/* Confirmation Header */
.confirmation-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-lg);
    border-bottom: 1px solid var(--border-color);
}

.confirmation-header i {
    font-size: var(--font-size-xl);
}

.confirmation-header.warning i {
    color: var(--warning-color);
}

.confirmation-header.danger i {
    color: var(--danger-color);
}

.confirmation-header.success i {
    color: var(--success-color);
}

.confirmation-header h3 {
    margin: 0;
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-primary);
}

/* Confirmation Body */
.confirmation-body {
    padding: var(--spacing-lg);
}

.confirmation-message {
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    line-height: 1.5;
}

.warning-text {
    color: var(--warning-color);
    font-weight: 500;
    margin-bottom: var(--spacing-md);
}

.info-text {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    margin-bottom: var(--spacing-md);
}

/* Password Confirmation */
.password-confirmation {
    margin-top: var(--spacing-md);
}

.password-confirmation label {
    display: block;
    margin-bottom: var(--spacing-xs);
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
}

.password-input {
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    font-size: var(--font-size-base);
    transition: all var(--transition-base) var(--transition-timing);
}

.password-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.password-input.error {
    border-color: var(--danger-color);
}

.password-error {
    color: var(--danger-color);
    font-size: var(--font-size-sm);
    margin-top: var(--spacing-xs);
}

/* Confirmation Buttons */
.confirmation-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    padding: var(--spacing-md) var(--spacing-lg);
    border-top: 1px solid var(--border-color);
}

.confirmation-buttons button,
.confirmation-buttons .confirm-delete-button,
.confirmation-buttons .cancel-delete-button {
    flex: 1 1;
    min-width: 0;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 12px 0;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.confirm-button {
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius-md);
    font-size: var(--font-size-base);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-base) var(--transition-timing);
    background-color: var(--danger-color);
    color: white;
    border: none;
}

.confirm-button:hover {
    background-color: #c82333;
    transform: translateY(-2px);
}

.confirm-button:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

/* Loading State */
.confirm-button.loading {
    position: relative;
    color: transparent;
}

.confirm-button.loading::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-radius: 50%;
    border-top-color: white;
    animation: button-loading-spinner 0.6s linear infinite;
}

@keyframes button-loading-spinner {
    from {
        transform: rotate(0turn);
    }
    to {
        transform: rotate(1turn);
    }
}

/* Dark Theme */
[data-theme='dark'] .confirmation-header {
    border-bottom-color: var(--dark-bg-secondary);
}

[data-theme='dark'] .confirmation-header h3 {
    color: var(--dark-text-primary);
}

[data-theme='dark'] .confirmation-message {
    color: var(--dark-text-primary);
}

[data-theme='dark'] .info-text {
    color: var(--dark-text-secondary);
}

[data-theme='dark'] .password-confirmation label {
    color: var(--dark-text-secondary);
}

[data-theme='dark'] .password-input {
    background-color: var(--dark-bg-primary);
    border-color: var(--dark-bg-secondary);
    color: var(--dark-text-primary);
}

[data-theme='dark'] .password-input:focus {
    border-color: var(--primary-color);
}

[data-theme='dark'] .confirmation-buttons {
    border-top-color: var(--dark-bg-secondary);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .confirmation-header {
        padding: var(--spacing-md);
    }

    .confirmation-body {
        padding: var(--spacing-md);
    }

    .confirmation-buttons {
        padding: var(--spacing-md);
        flex-direction: column;
    }

    .confirm-button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .confirmation-header {
        padding: var(--spacing-sm);
    }

    .confirmation-body {
        padding: var(--spacing-sm);
    }

    .confirmation-buttons {
        padding: var(--spacing-sm);
    }

    .confirmation-header h3 {
        font-size: var(--font-size-base);
    }

    .confirmation-message {
        font-size: var(--font-size-sm);
    }
}

@media (max-width: 600px) {
    .confirmation-buttons {
        flex-direction: column;
        gap: 10px;
        padding: var(--spacing-md);
    }
    .confirmation-buttons button,
    .confirmation-buttons .confirm-delete-button,
    .confirmation-buttons .cancel-delete-button {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        font-size: 0.98rem;
        padding: 12px 0;
    }
}

.share-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.share-option-button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    color: white;
    transition: all 0.3s ease;
}

.share-option-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* WhatsApp button */
.share-option-button:nth-child(1) {
    background-color: #25D366;
}

.share-option-button:nth-child(1):hover {
    background-color: #128C7E;
}

/* Telegram button */
.share-option-button:nth-child(2) {
    background-color: #0088cc;
}

.share-option-button:nth-child(2):hover {
    background-color: #006699;
}

/* Twitter button */
.share-option-button:nth-child(3) {
    background-color: #1DA1F2;
}

.share-option-button:nth-child(3):hover {
    background-color: #1a91da;
}

/* Instagram button */
.share-option-button:nth-child(4) {
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
}

.share-option-button:nth-child(4):hover {
    background: linear-gradient(45deg, #833AB4, #C13584, #E1306C, #FD1D1D, #405DE6, #5851DB);
}

/* Copy Link button */
.share-option-button:nth-child(5) {
    background-color: #6c757d;
}

.share-option-button:nth-child(5):hover {
    background-color: #5a6268;
}

/* Custom Profile Share Modal */
.custom-profile-share-modal {
    position: fixed;
    left: 50%;
    top: 250px;
    transform: translateX(-50%);
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    align-self: flex-start !important;
    z-index: 2000;
    background: var(--bg-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 684px;
    width: 684px;
    min-width: 320px;
    min-height: 200px;
    padding: 2rem 2rem 1.5rem 2rem;
    border-radius: 18px;
    box-shadow: 0 8px 40px 0 rgba(0,0,0,0.25);
}

.custom-profile-share-modal.modal.base-modal.confirmation-modal {
    padding: 0 !important;
    width: 562px;
    max-width: 562px;
}

.custom-profile-share-modal .modal-content {
    background-color: #222 !important;
    background-color: var(--background-color-dark, #222) !important;
    background-image: linear-gradient(to bottom, #2a2a2a, #222) !important;
    border: 1px solid #333 !important;
    border: 1px solid var(--border-color-dark, #333) !important;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding: 30px;
    max-width: 90%;
    width: 500px;
    position: relative;
    animation: customModalFade 0.3s ease;
}

.custom-profile-share-modal h3 {
    color: #e67e22 !important;
    color: var(--primary-orange, #e67e22) !important;
    font-size: 1.4rem;
    margin-top: 0;
    margin-bottom: 1.8rem;
    text-align: center;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.custom-profile-share-modal h3:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 3px;
    background-color: #e67e22;
    background-color: var(--primary-orange, #e67e22);
    border-radius: 3px;
    max-width: 400px;
}

.custom-profile-share-modal .profile-share-options {
    margin-bottom: 2rem;
}

.custom-profile-share-modal .share-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 16px;
    gap: 16px;
    margin-bottom: 20px;
}

.custom-profile-share-modal .share-option-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #333 !important;
    background-color: var(--background-dark, #333) !important;
    color: #eee !important;
    color: var(--text-color-dark, #eee) !important;
    border: 1px solid #444 !important;
    border: 1px solid var(--border-color-dark, #444) !important;
    border-radius: 12px;
    padding: 0 18px;
    height: 56px;
    font-size: 1.08rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s ease;
    flex: 1 0 100%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2) !important;
}

.custom-profile-share-modal .share-option-button:hover {
    background-color: #2980b9 !important;
    background-color: var(--primary-color-dark, #2980b9) !important;
    border-color: #3498db !important;
    border-color: var(--primary-color, #3498db) !important;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3) !important;
}

.custom-profile-share-modal .share-option-button i {
    margin-right: 10px;
    font-size: 22px;
    display: flex;
    align-items: center;
}

.custom-profile-share-modal .share-option-button:nth-child(1) {
    background-color: #e7f8ef;
}

.custom-profile-share-modal .share-option-button:nth-child(1) i {
    color: #25D366; /* WhatsApp color */
}

.custom-profile-share-modal .share-option-button:nth-child(2) {
    background-color: #e7f5fc;
}

.custom-profile-share-modal .share-option-button:nth-child(2) i {
    color: #0088cc; /* Telegram color */
}

.custom-profile-share-modal .share-option-button:nth-child(3) {
    background-color: #e9eef8;
}

.custom-profile-share-modal .share-option-button:nth-child(3) i {
    color: #3b5998; /* Facebook color */
}

.custom-profile-share-modal .share-option-button:nth-child(4) {
    background-color: #e9f5fd;
}

.custom-profile-share-modal .share-option-button:nth-child(4) i {
    color: #1DA1F2; /* Twitter color */
}

.custom-profile-share-modal .share-option-button:nth-child(5) {
    background-color: #f0f0f0;
}

.custom-profile-share-modal .share-option-button:nth-child(5) i {
    color: #333;
    color: var(--text-color, #333);
}

.custom-profile-share-modal .modal-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-top: 1px solid var(--border-color, rgba(0, 0, 0, 0.1));
    padding-top: 20px;
}

.custom-profile-share-modal .modal-actions button {
    flex: 1 1;
    min-width: 30%;
    max-width: 100%;
    font-weight: 500;
    border-radius: 10px;
    padding: 12px 15px;
}

/* Dark Theme Support */
[data-theme='dark'] .custom-profile-share-modal .modal-content {
    background-color: #222 !important;
    background-color: var(--background-color-dark, #222) !important;
    background-image: linear-gradient(to bottom, #2a2a2a, #222) !important;
    border: 1px solid #333 !important;
    border: 1px solid var(--border-color-dark, #333) !important;
}

[data-theme='dark'] .custom-profile-share-modal h3 {
    color: #e67e22 !important;
    color: var(--primary-orange, #e67e22) !important;
}

[data-theme='dark'] .custom-profile-share-modal .share-option-button {
    background-color: #333 !important;
    background-color: var(--background-dark, #333) !important;
    color: #eee !important;
    color: var(--text-color-dark, #eee) !important;
    border-color: #444 !important;
    border-color: var(--border-color-dark, #444) !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2) !important;
}

[data-theme='dark'] .custom-profile-share-modal .share-option-button:hover {
    background-color: #2980b9 !important;
    background-color: var(--primary-color-dark, #2980b9) !important;
    border-color: #3498db !important;
    border-color: var(--primary-color, #3498db) !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3) !important;
}

[data-theme='dark'] .custom-profile-share-modal .share-option-button:nth-child(1) {
    background-color: #1a3629;
}

[data-theme='dark'] .custom-profile-share-modal .share-option-button:nth-child(2) {
    background-color: #1a3442;
}

[data-theme='dark'] .custom-profile-share-modal .share-option-button:nth-child(3) {
    background-color: #1c2334;
}

[data-theme='dark'] .custom-profile-share-modal .share-option-button:nth-child(4) {
    background-color: #1a2e3d;
}

[data-theme='dark'] .custom-profile-share-modal .share-option-button:nth-child(5) {
    background-color: #2a2a2a;
}

[data-theme='dark'] .custom-profile-share-modal .modal-actions {
    border-top: 1px solid #333;
    border-top: 1px solid var(--border-color-dark, #333);
}

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

/* Responsive Adjustments */
@media (max-width: 480px) {
    .custom-profile-share-modal .share-option-button {
        flex: 1 0 100%;
        max-width: 100%;
    }
    
    .custom-profile-share-modal .modal-content {
        padding: 16px;
    }
    .custom-profile-share-modal h3:after {
        width: 70vw;
        max-width: 90%;
    }
}

@media (max-width: 600px) {
    .custom-profile-share-modal.modal.base-modal.confirmation-modal {
        width: 90vw !important;
        max-width: 500px !important;
        min-width: 0 !important;
        min-width: initial !important;
        padding: 0 !important;
        margin: 0 auto !important;
    }
    .custom-profile-share-modal .modal-content {
        width: 90vw !important;
        max-width: 500px !important;
        min-width: 0 !important;
        min-width: initial !important;
        padding: 16px !important;
        margin: 0 auto !important;
        box-sizing: border-box;
    }
    .custom-profile-share-modal .share-options {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 400px) {
    .custom-profile-share-modal .share-options {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .custom-profile-share-modal {
        width: 98vw;
        max-width: 98vw;
        margin-top: 32px !important;
        top: 32px !important;
    }
}

.share-option-button.share-tiktok {
    background: #fff !important;
    color: #111 !important;
    border: none;
    position: relative;
}
.share-option-button.share-tiktok i {
    color: #111 !important;
    text-shadow: none !important;
}
.share-option-button.share-tiktok:hover {
    background: #222;
}

.share-option-button.share-copy {
    background: #fff !important;
    color: #111 !important;
}
.share-option-button.share-copy i,
.share-option-button.share-copy span {
    color: #111 !important;
}
.share-option-button.share-copy:hover {
    background: #1da851;
}

body:not([data-theme='dark']) .custom-profile-share-modal .share-option-button.share-copy {
    color: #27ae60 !important;
}
body:not([data-theme='dark']) .custom-profile-share-modal .share-option-button.share-whatsapp {
    color: #27ae60 !important;
}
body:not([data-theme='dark']) .custom-profile-share-modal .share-option-button.share-telegram {
    color: #3498db !important;
}
body:not([data-theme='dark']) .custom-profile-share-modal .share-option-button.share-facebook {
    color: #3498db !important;
}

body:not([data-theme='dark']) .custom-profile-share-modal .share-option-button.share-whatsapp i {
    color: #27ae60 !important;
}

body:not([data-theme='dark']) .custom-profile-share-modal .share-option-button.share-copy:hover,
body:not([data-theme='dark']) .custom-profile-share-modal .share-option-button.share-whatsapp:hover,
body:not([data-theme='dark']) .custom-profile-share-modal .share-option-button.share-telegram:hover,
body:not([data-theme='dark']) .custom-profile-share-modal .share-option-button.share-facebook:hover {
    background: inherit !important;
    color: inherit !important;
    border-color: inherit !important;
    filter: none !important;
    /* Sadece büyüme efekti kalsın */
    transform: translateY(-3px) scale(1.04);
}
body:not([data-theme='dark']) .custom-profile-share-modal .share-option-button.share-copy:hover i,
body:not([data-theme='dark']) .custom-profile-share-modal .share-option-button.share-whatsapp:hover i,
body:not([data-theme='dark']) .custom-profile-share-modal .share-option-button.share-telegram:hover i,
body:not([data-theme='dark']) .custom-profile-share-modal .share-option-button.share-facebook:hover i {
    color: inherit !important;
}

[data-theme='dark'] .custom-profile-share-modal .share-option-button.share-copy,
[data-theme='dark'] .custom-profile-share-modal .share-option-button.share-whatsapp,
[data-theme='dark'] .custom-profile-share-modal .share-option-button.share-telegram,
[data-theme='dark'] .custom-profile-share-modal .share-option-button.share-facebook {
    background-color: white !important;
    color: black !important;
}

[data-theme='dark'] .custom-profile-share-modal .share-option-button.share-copy i,
[data-theme='dark'] .custom-profile-share-modal .share-option-button.share-whatsapp i,
[data-theme='dark'] .custom-profile-share-modal .share-option-button.share-telegram i,
[data-theme='dark'] .custom-profile-share-modal .share-option-button.share-facebook i {
    color: black !important;
}

[data-theme='dark'] .custom-profile-share-modal .share-option-button.dark-tiktok {
    background: #fff !important;
    color: #111 !important;
}
[data-theme='dark'] .custom-profile-share-modal .share-option-button.dark-tiktok i {
    color: #111 !important;
    text-shadow: none !important;
}
[data-theme='dark'] .custom-profile-share-modal .share-option-button.dark-copy {
    background: #fff !important;
    color: #111 !important;
}
[data-theme='dark'] .custom-profile-share-modal .share-option-button.dark-copy i {
    color: #111 !important;
}
[data-theme='dark'] .custom-profile-share-modal .share-option-button.dark-copy span {
    color: #111 !important;
} 
.report-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4000;
    padding: 0; /* Remove padding-top that pushes modal down */
}

.report-modal {
    width: 420px;
    max-width: 90vw;
    max-height: 85vh;
    background: #222;
    background: var(--modal-bg, #222);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
    overflow: auto;
    animation: reportModalSlideIn 0.3s ease;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem 1rem 1rem 1rem;
    position: relative;
    z-index: 4100;
}

@keyframes reportModalSlideIn {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.report-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.7rem;
}

.report-modal-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.report-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    background: #e74c3c;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}

.report-modal-close:hover {
    background: #c0392b;
}

.report-modal-body {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.report-modal-body label {
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 0.3rem;
}

.report-modal-body select,
.report-modal-body textarea {
    padding: 0.7rem;
    border-radius: 8px;
    border: 1px solid #444;
    border: 1px solid var(--border-color, #444);
    background-color: #333;
    background-color: var(--bg-secondary, #333);
    color: #fff;
    color: var(--text-primary, #fff);
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.report-modal-body select:focus,
.report-modal-body textarea:focus {
    border-color: #3498db;
    border-color: var(--primary-color, #3498db);
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
    outline: none;
}

.report-modal-body textarea {
    min-height: 100px;
    resize: vertical;
}

.report-modal-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 0.7rem;
    margin-top: 1rem;
}

.report-btn-cancel,
.report-btn-submit {
    padding: 0.7rem 1.2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.report-btn-cancel {
    background-color: #333;
    background-color: var(--bg-secondary, #333);
    color: #fff;
    color: var(--text-primary, #fff);
}

.report-btn-cancel:hover {
    background-color: #444;
    background-color: var(--bg-tertiary, #444);
}

.report-btn-submit {
    background-color: #e74c3c;
    background-color: var(--danger-color, #e74c3c);
    color: white;
}

.report-btn-submit:hover {
    background-color: #c0392b;
}

.report-btn-cancel:disabled,
.report-btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.warning-text {
    color: #e74c3c;
    color: var(--danger-color, #e74c3c);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.warning-text::before {
    content: "\f06a";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}

.info-text {
    color: #2ecc71;
    color: var(--success-color, #2ecc71);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-text::before {
    content: "\f05a";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}

@media (max-width: 480px) {
    .report-modal {
        width: 100vw;
        max-width: 100vw;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
        padding: 1.5rem 1rem;
    }
    
    .report-modal-overlay {
        padding: 0;
    }
} 
/* Messaging Modal Styles */

.message-modal-overlay,
.message-center-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4000;
  padding: 0;
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
}

.message-modal,
.message-center-modal {
  width: 420px;
  max-width: 90vw;
  height: 500px;
  max-height: 85vh;
  background: #222;
  background: var(--modal-bg, #222);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  overflow: hidden;
  animation: messageModalSlideIn 0.3s ease;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  position: relative;
  z-index: 4100;
}

.message-center-modal {
  width: 480px;
  max-width: 90vw;
}

@keyframes messageModalSlideIn {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.message-modal-header,
.message-center-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid #444;
  border-bottom: 1px solid var(--border-color, #444);
  background-color: #333;
  background-color: var(--bg-secondary, #333);
}

.message-modal-header h3,
.message-center-header h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  color: var(--text-primary, #fff);
  display: flex;
  align-items: center;
  gap: 8px;
}

.message-modal-header h3 i,
.message-center-header h3 i {
  color: #3498db;
  color: var(--primary-color, #3498db);
}

.message-modal-user {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.message-modal-user:hover {
  color: #3498db;
  color: var(--primary-color, #3498db);
}

.message-modal-user span {
  font-weight: 600;
  font-size: 1.1rem;
  transition: color 0.2s ease;
}

.message-modal-user:hover span {
  text-decoration: underline;
}

.message-modal-close,
.message-center-close {
  background: transparent;
  color: #bbb;
  color: var(--text-secondary, #bbb);
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  transition: all 0.2s ease;
}

.message-modal-close:hover,
.message-center-close:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  color: var(--text-primary, #fff);
}

.message-body {
  flex-grow: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background-color: #222;
  background-color: var(--bg-primary, #222);
}

.message-form {
  display: flex;
  padding: 12px;
  border-top: 1px solid #444;
  border-top: 1px solid var(--border-color, #444);
  background-color: #333;
  background-color: var(--bg-secondary, #333);
}

.message-input {
  flex-grow: 1;
  padding: 10px 14px;
  border-radius: 24px;
  border: 1px solid #444;
  border: 1px solid var(--border-color, #444);
  background-color: #444;
  background-color: var(--bg-tertiary, #444);
  color: #fff;
  color: var(--text-primary, #fff);
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.message-input:focus {
  outline: none;
  border-color: #3498db;
  border-color: var(--primary-color, #3498db);
  box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.send-message-button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #3498db;
  background-color: var(--primary-color, #3498db);
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.send-message-button:hover {
  background-color: #2980b9;
  background-color: var(--primary-dark, #2980b9);
}

.send-message-button:disabled {
  background-color: #444;
  background-color: var(--bg-tertiary, #444);
  cursor: not-allowed;
}

.message-item {
  display: flex;
  margin-bottom: 8px;
}

.message-item.sent {
  justify-content: flex-end;
}

.message-item.received {
  justify-content: flex-start;
}

.message-content {
  max-width: 70%;
  padding: 10px 14px;
  border-radius: 18px;
  font-size: 0.95rem;
  position: relative;
}

.message-item.sent .message-content {
  background-color: #3498db;
  background-color: var(--primary-color, #3498db);
  color: white;
  border-top-right-radius: 4px;
}

.message-item.received .message-content {
  background-color: #444;
  background-color: var(--bg-tertiary, #444);
  color: #fff;
  color: var(--text-primary, #fff);
  border-top-left-radius: 4px;
}

/* Light theme styling for received messages */
:root[data-theme="light"] .message-item.received .message-content {
  background-color: #e0e0e0;
  background-color: var(--bg-tertiary, #e0e0e0); 
  color: #333;
  border-top-left-radius: 4px;
}

.message-time {
  font-size: 0.7rem;
  opacity: 0.7;
  margin-top: 4px;
  text-align: right;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.message-delete-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  padding: 0;
  font-size: 0.75rem;
  opacity: 0.7;
  transition: opacity 0.2s ease, color 0.2s ease;
  display: flex;
  align-items: center;
}

.message-item.sent:hover .message-delete-btn {
  opacity: 1;
}

.message-delete-btn:hover {
  color: rgba(255, 255, 255, 0.9);
}

.messages-loading,
.no-messages {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #bbb;
  color: var(--text-secondary, #bbb);
  gap: 12px;
  text-align: center;
}

.no-messages i,
.messages-loading i {
  font-size: 2rem;
  margin-bottom: 8px;
  opacity: 0.5;
}

/* User selection for new messages */
.message-user-select {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  padding: 16px;
  background-color: #222;
  background-color: var(--bg-primary, #222);
}

.message-search-wrap {
  position: relative;
  margin-bottom: 16px;
}

.message-search-input {
  height: 23px;
  min-height: 23px;
  max-height: 23px;
  padding-top: 0;
  padding-bottom: 0;
  font-size: 0.95rem;
}

.message-search-input:focus {
  outline: none;
  border-color: #3498db;
  border-color: var(--primary-color, #3498db);
}

.message-searching-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #bbb;
  color: var(--text-secondary, #bbb);
}

.message-search-results {
  flex-grow: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.user-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.user-result-item:hover {
  background-color: #444;
  background-color: var(--bg-tertiary, #444);
}

.user-result-info {
  display: flex;
  flex-direction: column;
}

.user-result-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
  color: var(--text-primary, #fff);
}

.user-result-username {
  font-size: 0.85rem;
  color: #bbb;
  color: var(--text-secondary, #bbb);
}

.no-results,
.search-prompt {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
  color: #bbb;
  color: var(--text-secondary, #bbb);
  text-align: center;
}

.no-results i,
.search-prompt i {
  font-size: 1.6rem;
  margin-bottom: 12px;
  opacity: 0.5;
}

/* Messaging Center Styles */
.message-center-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background-color: #333;
  background-color: var(--bg-secondary, #333);
  border-bottom: 1px solid #444;
  border-bottom: 1px solid var(--border-color, #444);
}

/* Set message-search-input height to 44px when inside message-center-actions */
.message-center-actions .message-search-input {
  height: 44px;
  min-height: 44px;
  max-height: 44px;
}

.message-search-container {
  position: relative;
  flex-grow: 1;
  max-width: 100%;
}

.message-search-container input {
  width: 100%;
  padding: 8px 12px;
  padding-left: 32px;
  border-radius: 24px;
  border: 1px solid #444;
  border: 1px solid var(--border-color, #444);
  background-color: #444;
  background-color: var(--bg-tertiary, #444);
  color: #fff;
  color: var(--text-primary, #fff);
  font-size: 0.85rem;
}

.message-search-container input:focus {
  outline: none;
  border-color: #3498db;
  border-color: var(--primary-color, #3498db);
}

.message-search-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #bbb;
  color: var(--text-secondary, #bbb);
  font-size: 0.85rem;
}

.message-center-content {
  flex-grow: 1;
  overflow-y: auto;
  background-color: #222;
  background-color: var(--bg-primary, #222);
}

.conversation-list {
  display: flex;
  flex-direction: column;
}

.conversation-item {
  display: flex;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid #444;
  border-bottom: 1px solid var(--border-color, #444);
  transition: all 0.2s ease;
  cursor: pointer;
}

.conversation-item:hover {
  background-color: #333;
  background-color: var(--bg-secondary, #333);
}

.conversation-item.has-unread {
  background-color: rgba(52, 152, 219, 0.1);
}

.conversation-avatar {
  position: relative;
  margin-right: 12px;
}

.unread-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: #3498db;
  background-color: var(--primary-color, #3498db);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #222;
  border: 2px solid var(--bg-primary, #222);
}

.conversation-info {
  flex-grow: 1;
  min-width: 0;
}

.conversation-name {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 4px;
  color: #fff;
  color: var(--text-primary, #fff);
}

.conversation-preview {
  font-size: 0.85rem;
  color: #bbb;
  color: var(--text-secondary, #bbb);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.has-unread .conversation-preview {
  color: #fff;
  color: var(--text-primary, #fff);
  font-weight: 500;
}

.conversation-time {
  font-size: 0.75rem;
  color: #888;
  color: var(--text-tertiary, #888);
  white-space: nowrap;
  margin-left: 8px;
}

.message-center-loading,
.message-center-error,
.message-center-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 300px;
  padding: 24px;
  text-align: center;
  color: #bbb;
  color: var(--text-secondary, #bbb);
}

.message-center-loading i,
.message-center-error i,
.message-center-empty i {
  font-size: 2.5rem;
  margin-bottom: 16px;
  opacity: 0.5;
}

.message-center-empty p {
  margin-bottom: 20px;
  font-size: 1rem;
}

.start-message-button {
  background-color: #3498db;
  background-color: var(--primary-color, #3498db);
  color: white;
  border: none;
  border-radius: 24px;
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  margin-top: 16px;
}

.start-message-button:hover {
  background-color: #2980b9;
  background-color: var(--primary-dark, #2980b9);
}

/* Message Button Style for Profile Page */
.message-profile-button {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #3498db;
  background-color: var(--primary-color, #3498db);
  color: white;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-left: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  position: relative;
}

.message-profile-button:hover {
  background-color: #2980b9;
  background-color: var(--primary-dark, #2980b9);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Message notification badge */
.message-notification-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: #e74c3c;
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  border: 2px solid white;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  z-index: 10;
  animation: badge-pulse 1.5s infinite;
}

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

/* Responsive */
@media (max-width: 480px) {
  .message-modal,
  .message-center-modal {
    width: 420px;
    max-width: 90vw;
    height: 500px;
    max-height: 85vh;
    border-radius: 16px;
  }
  
  .message-center-modal {
    width: 480px;
  }
  
  .message-center-actions {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }
  
  .message-search-container {
    max-width: 100%;
  }
}

/* Profile photo modal styling */
.profile-photo-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  overflow: auto;
}

.profile-photo-modal-content {
  padding: 20px;
  background-color: #333;
  background-color: var(--bg-secondary, #333);
  border-radius: 12px;
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  max-width: calc(100vw - 40px);
  max-height: calc(100vh - 40px);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-photo-modal-img-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-photo-modal-close {
  position: absolute;
  top: -15px;
  right: -15px;
  background-color: #e74c3c;
  background-color: var(--danger-color, #e74c3c);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9999;
  font-size: 18px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  transition: all 0.2s ease;
}

.profile-photo-modal-close:hover, 
.profile-photo-modal-close:focus {
  background-color: #c0392b;
  transform: scale(1.1);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.profile-photo-modal-img {
  display: block;
  max-width: 100%;
  border-radius: 8px;
  object-fit: contain;
  max-height: 60vh;
  max-width: 500px;
}

/* Add this for media queries */
@media screen and (max-width: 600px) {
  .profile-photo-modal-img {
    max-width: 90vw;
    max-height: 50vh;
    max-width: 300px;
  }
  
  .profile-photo-modal-content {
    padding: 10px;
    max-width: 95vw;
  }
  
  .profile-photo-modal-close {
    top: 5px;
    right: 5px;
    width: 36px;
    height: 36px;
  }
}

/* Adjust profile images in the messaging components */
.message-modal-user img,
.user-result-item img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.conversation-avatar img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

/* Profile Photo Modal Navigation Buttons */
.profile-photo-nav-button {
    position: absolute !important;
    top: 75% !important;
    transform: translateY(-50%) !important;
    background: #b44619 !important; /* User requested color */
    color: #fff !important;
    border: none !important;
    border-radius: 50% !important;
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.2rem !important;
    cursor: pointer !important;
    z-index: 1001 !important; /* Higher than image, lower than close button if close is outside content */
    transition: background-color 0.2s ease, transform 0.2s ease !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2) !important;
    padding: 0 !important;
    text-align: center !important;
    margin: 0 !important;
    outline: none !important;
}

.profile-photo-nav-button:hover {
    background-color: #d65f2b !important; /* Darker/lighter shade for hover */
    transform: translateY(-50%) scale(1.1) !important;
}

.profile-photo-nav-button.prev-button {
    left: 15px !important; /* Adjust as needed for placement */
}

.profile-photo-nav-button.next-button {
    right: 15px !important; /* Adjust as needed for placement */
}

/* Delete message confirmation modal */
.delete-message-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4500;
  padding: 0;
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
}

.delete-message-modal {
  width: 320px;
  max-width: 90vw;
  background: #222;
  background: var(--modal-bg, #222);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  padding: 24px;
  animation: messageModalSlideIn 0.3s ease;
}

:root[data-theme="light"] .delete-message-modal {
  background: #fff;
  background: var(--modal-bg, #fff);
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}

.delete-message-modal h3 {
  margin: 0 0 16px 0;
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  color: var(--text-primary, #fff);
}

:root[data-theme="light"] .delete-message-modal h3 {
  color: #222;
  color: var(--text-primary, #222);
}

.delete-message-modal p {
  margin: 0 0 24px 0;
  color: #bbb;
  color: var(--text-secondary, #bbb);
}

:root[data-theme="light"] .delete-message-modal p {
  color: #666;
  color: var(--text-secondary, #666);
}

.delete-message-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.delete-message-actions button {
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.delete-message-actions .cancel-button {
  background: transparent;
  border: 1px solid #444;
  border: 1px solid var(--border-color, #444);
  color: #bbb;
  color: var(--text-secondary, #bbb);
}

.delete-message-actions .cancel-button:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  color: var(--text-primary, #fff);
}

.delete-message-actions .delete-button {
  background: #e74c3c;
  background: var(--danger-color, #e74c3c);
  border: none;
  color: white;
}

.delete-message-actions .delete-button:hover {
  background: #c0392b;
  background: var(--danger-dark, #c0392b);
}

.delete-message-actions button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Açık tema için silme butonu stili ekliyorum */
:root[data-theme="light"] .message-delete-btn {
  color: rgba(0, 0, 0, 0.5); /* Açık temada koyu renk kullanarak görünürlüğü artırıyorum */
}

:root[data-theme="light"] .message-item.sent:hover .message-delete-btn {
  color: rgba(0, 0, 0, 0.8);
}

/* Contact request warning for needing completed work */
.needs-completed-work-info {
  background-color: #fff3cd;
  border: 1px solid #ffeeba;
  color: #856404;
  padding: 12px;
  border-radius: 8px;
  margin-top: 10px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.needs-completed-work-info i {
  margin-right: 8px;
  font-size: 1rem;
}

.needs-completed-work-info p {
  margin: 0;
}

/* Dark theme support */
:root[data-theme="dark"] .needs-completed-work-info {
  background-color: rgba(255, 193, 7, 0.2);
  border-color: rgba(255, 193, 7, 0.3);
  color: #ffc107;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .needs-completed-work-info {
    padding: 8px;
    font-size: 0.8rem;
  }
} 
:root {
  /* Colors */
  --primary-color: rgba(180,70,25,1);
  --primary-hover: rgba(150,50,15,1);
  --secondary-color: #2c3e50;
  --success-color: #28a745;
  --danger-color: #dc3545;
  --warning-color: #ffc107;
  --info-color: #17a2b8;
  --primary-color-rgb: 180, 70, 25; /* Primary color RGB değeri */
  
  /* Text Colors */
  --text-primary: #2c3e50;
  --text-secondary: #6c757d;
  --text-muted: #95a5a6;
  
  /* Background Colors */
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --bg-hover: #f0f2f5;
  
  /* Dark Theme Colors */
  --dark-bg-primary: #1a1a1a;
  --dark-bg-secondary: #2d2d2d;
  --dark-text-primary: #e0e0e0;
  --dark-text-secondary: #b0b0b0;
  
  /* Social Media Colors */
  --twitter-color: #1DA1F2;
  --facebook-color: #1877F2;
  --instagram-color: #E4405F;
  --youtube-color: #FF0000;
  --tiktok-color: #000000;
  
  /* Category Colors */
  --category-color: #2c3e50;
  --category-hover-color: #c85a28;
  --nav-bg: #ffffff;
  --border-color: #dee2e6;
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  
  /* Typography */
  --font-family-base: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  
  /* Border Radius */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 12px;
  --border-radius-xl: 16px;
  --border-radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
  
  /* Transitions */
  --transition-fast: 150ms;
  --transition-base: 300ms;
  --transition-slow: 500ms;
  --transition-timing: cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Z-index */
  --z-index-dropdown: 1000;
  --z-index-sticky: 1020;
  --z-index-fixed: 1030;
  --z-index-modal: 1040;
  --z-index-popover: 1050;
  --z-index-tooltip: 1060;
  --z-index-nav: 999;
  
  /* Grid */
  --container-max-width: 1200px;
  --grid-gutter: 1.5rem;
  --grid-columns: 12;
} 
/* Notifications Modal Styles */

/* Notification Button */
.btn.primary.notification-btn {
  position: relative;
  margin-right: 0 !important;
  width: auto !important;
  height: auto !important;
  min-width: 40px !important;
  min-height: 40px !important;
  padding: 8px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.3s ease !important;
  overflow: visible !important;
}

/* Hide notification button text on all screen sizes */
.btn.primary.notification-btn span:not(.notification-badge) {
  display: none !important;
}

/* Center the bell icon and make it visually smaller */
.btn.primary.notification-btn i {
  margin: 0 !important;
  font-size: 1.2em !important;
  transition: font-size 0.2s;
}

/* Button spacing to match nav-buttons-group */
.nav-buttons .btn.primary.notification-btn {
  margin-right: 15px;
}

/* Match button responsive styles at each breakpoint from App.css */
@media (max-width: 1160px) {
  .btn.primary.notification-btn {
    min-width: 38px !important;
    min-height: 38px !important;
    padding: 7px !important;
  }
}

/* Match the responsive styles in nav-buttons-group .btn at 1060px */
@media (max-width: 1060px) {
  .btn.primary.notification-btn {
    min-width: 36px !important;
    min-height: 36px !important;
    padding: 6px !important;
  }
  .btn.primary.notification-btn i {
    font-size: 1.1em !important;
    margin-right: 0 !important;
  }
}

/* Match the styles in nav-buttons-group at 992px-768px range */
@media (min-width: 768px) and (max-width: 992px) {
  .nav-buttons .btn.primary.notification-btn {
    margin-right: 8px;
  }
  .btn.primary.notification-btn {
    min-width: 34px !important;
    min-height: 34px !important;
    padding: 6px !important;
  }
  .btn.primary.notification-btn i {
    font-size: 1em !important;
  }
}

/* Mobile styles */
@media (max-width: 768px) {
  .btn.primary.notification-btn {
    min-width: 32px !important;
    min-height: 32px !important;
    padding: 5px !important;
  }
  .btn.primary.notification-btn i {
    font-size: 1em !important;
  }
}

/* Small mobile styles */
@media (max-width: 480px) {
  .btn.primary.notification-btn {
    min-width: 30px !important;
    min-height: 30px !important;
    padding: 4px !important;
  }
  .btn.primary.notification-btn i {
    font-size: 0.95em !important;
  }
}

/* Modal close button */
.modal .close-button {
  background: none;
  border: none;
  color: #aaa;
  color: var(--text-secondary, #aaa);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  position: absolute;
  top: 16px;
  right: 16px;
  transition: all 0.2s;
}

.modal .close-button:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  color: var(--text-primary, #fff);
}

.notification-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  background-color: #e74c3c;
  background-color: var(--danger-color, #e74c3c);
  color: #fff;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 0.85rem !important;
  font-weight: 900 !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.25), 0 0 2px #fff;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s, background-color 0.2s;
  z-index: 5;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Ensure notification badge is visible in all contexts */
*:not(.btn.primary.notification-btn) > .notification-badge {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.notifications-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 400px;
  overflow-y: auto;
}

.notification-item {
  display: flex;
  align-items: flex-start;
  padding: 12px;
  border-radius: 8px;
  background-color: #333;
  background-color: var(--bg-secondary, #333);
  transition: background-color 0.2s ease;
  cursor: pointer;
  border-left: 3px solid #3498db;
  border-left: 3px solid var(--primary-color, #3498db);
}

.notification-item:hover {
  background-color: #444;
  background-color: var(--bg-secondary-hover, #444);
}

.notification-item.unread {
  border-left-color: #3498db;
  border-left-color: var(--primary-color, #3498db);
  background-color: rgba(52, 152, 219, 0.1);
}

/* Processing state for notifications */
.notification-item.processing {
  opacity: 0.7;
  pointer-events: none;
  border-left-color: #f39c12;
  border-left-color: var(--warning-color, #f39c12);
  position: relative;
  transition: opacity 0.3s ease, background-color 0.3s ease;
}

.notification-item.processing .notification-icon {
  background-color: rgba(243, 156, 18, 0.2);
  background-color: var(--warning-color-light, rgba(243, 156, 18, 0.2));
  color: #f39c12;
  color: var(--warning-color, #f39c12);
}

.notification-item.processing .notification-icon i.fa-spinner {
  animation: spin 1s linear infinite;
}

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

.notification-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background-color: rgba(52, 152, 219, 0.2);
  background-color: var(--primary-color-light, rgba(52, 152, 219, 0.2));
  color: #3498db;
  color: var(--primary-color, #3498db);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
}

.notification-content {
  flex-grow: 1;
}

.notification-title {
  font-weight: 600;
  margin-bottom: 4px;
  color: #fff;
  color: var(--text-primary, #fff);
}

.notification-description {
  font-size: 0.9rem;
  color: #bbb;
  color: var(--text-secondary, #bbb);
  margin-bottom: 8px;
  line-height: 1.4;
}

.notification-time {
  font-size: 0.8rem;
  color: #888;
  color: var(--text-tertiary, #888);
  display: flex;
  align-items: center;
}

.notification-time i {
  margin-right: 5px;
  font-size: 0.75rem;
}

.notification-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  border-top: 1px solid #444;
  border-top: 1px solid var(--border-color, #444);
  padding-top: 12px;
}

.notification-actions button {
  background: transparent;
  color: #bbb;
  color: var(--text-secondary, #bbb);
  border: none;
  font-size: 0.9rem;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.notification-actions button:hover {
  color: #fff;
  color: var(--text-primary, #fff);
  background-color: #555;
  background-color: var(--bg-tertiary, #555);
}

.notification-actions button.read-all {
  color: #3498db;
  color: var(--primary-color, #3498db);
}

.notification-actions button.read-all:hover {
  color: #5dade2;
  color: var(--primary-color-light, #5dade2);
}

.notification-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
}

.notification-empty i {
  font-size: 48px;
  color: #888;
  color: var(--text-tertiary, #888);
  margin-bottom: 16px;
}

.notification-empty p {
  font-size: 1rem;
  color: #bbb;
  color: var(--text-secondary, #bbb);
  max-width: 260px;
  line-height: 1.5;
}

/* Dark theme adjustments */
[data-theme='dark'] .notification-item {
  background-color: #333;
  background-color: var(--dark-bg-secondary, #333);
  border-left-color: #3498db;
  border-left-color: var(--primary-color, #3498db);
}

[data-theme='dark'] .notification-item:hover {
  background-color: #444;
  background-color: var(--dark-bg-tertiary, #444);
}

[data-theme='dark'] .notification-item.unread {
  background-color: rgba(52, 152, 219, 0.1);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .notifications-list {
    max-height: 70vh;
  }
  
  .notification-item {
    padding: 10px;
  }
  
  .notification-icon {
    width: 36px;
    height: 36px;
  }
  
  .notification-title {
    font-size: 0.95rem;
  }
  
  .notification-description {
    font-size: 0.85rem;
  }
  
  /* Ensure mobile menu notification button has the same style */
  .mobile-menu-nav .btn.primary.notification-btn {
    padding: 0.5em 0.8em;
  }
  
  .mobile-menu-nav .notification-badge {
    right: 0;
    top: 0;
  }
}

/* Mobile notifications layout for 746px and below */
@media screen and (max-width: 746px) {
  /* Header nav flex container to position elements correctly */
  .header-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: relative;
  }
  
  /* Ensure left menu button stays at the far left */
  .menu-toggle-btn-left {
    position: relative !important;
    left: 0 !important;
    margin-right: auto;
    top: auto !important;
    transform: none !important;
    z-index: 30;
  }
  
  /* Position notification button next to hamburger menu */
  .nav-menu-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    margin-left: auto;
  }
  
  /* Container for mobile notification button */
  .mobile-notification-container {
    display: inline-flex !important;
    margin-right: 8px !important;
  }
  
  /* Hide text in notification button on mobile */
  .mobile-notification-container .btn.primary.notification-btn span:not(.notification-badge) {
    display: none !important;
  }
  
  /* Keep the right hamburger menu on the right */
  .menu-toggle-btn {
    position: relative !important;
    right: 0 !important;
    margin-left: auto;
    top: auto !important;
    transform: none !important;
    z-index: 30;
  }
}

/* Add high z-index to notifications modal overlay and modal */
.modal-overlay {
  z-index: 5001 !important;
}
.modal.base-modal {
  z-index: 5002 !important;
}

.notification-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(20, 20, 30, 0.55);
  -webkit-backdrop-filter: blur(2.5px);
          backdrop-filter: blur(2.5px);
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 0;
  z-index: 9999;
  animation: fadeInOverlay 0.25s;
}

@keyframes fadeInOverlay {
  from { opacity: 0; }
  to { opacity: 1; }
}

.notification-modal {
  background: #181824;
  background: var(--background-color, #181824);
  border-radius: 18px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.13), 0 1.5px 8px 0 rgba(0,0,0,0.10);
  width: 100%;
  max-width: 410px;
  max-height: 82vh;
  overflow-y: auto;
  border: 1.5px solid rgba(200, 80, 30, 1);
  animation: modalPopIn 0.25s cubic-bezier(.4,1.6,.6,1);
  position: relative;
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
}

@keyframes modalPopIn {
  from { transform: translateY(-30px) scale(0.98); opacity: 0.7; }
  to { transform: none; opacity: 1; }
}

.notification-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px 12px 24px;
  border-bottom: 1px solid #23243a;
  border-bottom: 1px solid var(--border-color, #23243a);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  background: #181824;
  background: var(--background-color, #181824);
  z-index: 2;
}

.notification-modal-header h3 {
  margin: 0;
  font-size: 1.25rem;
  color: rgba(200, 80, 30, 1);
  letter-spacing: 0.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.notification-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.action-button {
  background: none;
  border: none;
  color: #b0b8d1;
  color: var(--text-color-secondary, #b0b8d1);
  font-size: 0.95rem;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.action-button:hover {
  background: rgba(200, 80, 30, 1);
  color: #fff;
  box-shadow: 0 2px 8px 0 rgba(200, 80, 30, 0.15);
}

.close-button {
  background: none;
  border: none;
  color: #b0b8d1;
  color: var(--text-color-secondary, #b0b8d1);
  font-size: 1.3rem;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  transition: all 0.2s;
}

.close-button:hover {
  background: rgba(200, 80, 30, 1);
  color: #fff;
}

.notification-modal-content {
  padding: 18px 20px 18px 20px;
}

.notification-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.notification-item {
  display: flex;
  align-items: flex-start;
  padding: 14px 12px 14px 10px;
  border-radius: 10px;
  background: #23243a;
  background: var(--background-color-light, #23243a);
  transition: all 0.18s;
  cursor: pointer;
  position: relative;
  border-left: 3.5px solid transparent;
  box-shadow: 0 1.5px 6px 0 rgba(0,0,0,0.07);
}

.notification-item:hover {
  background: rgba(200, 80, 30, 0.15);
  box-shadow: 0 2.5px 12px 0 rgba(200, 80, 30, 0.10);
}

.notification-item.unread {
  background: rgba(200, 80, 30, 0.15);
  border-left-color: rgba(200, 80, 30, 1);
}

.notification-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(200, 80, 30, 1) 0%, rgba(200, 80, 30, 0.15) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 14px;
  flex-shrink: 0;
  box-shadow: 0 1.5px 6px 0 rgba(200, 80, 30, 0.10);
}

.notification-icon i {
  font-size: 1.25rem;
  color: #fff;
}

.notification-details {
  flex: 1 1;
}

.notification-text {
  margin: 0 0 4px 0;
  color: #e6e9f0;
  color: var(--text-color, #e6e9f0);
  font-size: 1.01rem;
  line-height: 1.5;
  font-weight: 500;
}

.notification-time {
  font-size: 0.85rem;
  color: #b0b8d1;
  color: var(--text-color-secondary, #b0b8d1);
  display: flex;
  align-items: center;
  gap: 4px;
}

.notification-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  color: #b0b8d1;
  color: var(--text-color-secondary, #b0b8d1);
  text-align: center;
}

.notification-empty i {
  font-size: 2.5rem;
  margin-bottom: 16px;
  opacity: 0.5;
}

.unread-indicator {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(200, 80, 30, 1);
  box-shadow: 0 0 8px 0 rgba(200, 80, 30, 0.18);
}

.notification-item.message {
  border-left-color: rgba(200, 80, 30, 1);
}

.notification-item.task {
  border-left-color: rgba(200, 80, 30, 1);
}

/* Mobile styles */
@media (max-width: 480px) {
  .notification-modal {
    max-height: 92vh;
    margin: 12px;
    border-radius: 14px;
  }
  .notification-modal-header {
    padding: 12px 14px 8px 14px;
  }
  .notification-modal-content {
    padding: 10px 6px 10px 6px;
  }
  .notification-item {
    padding: 10px 6px 10px 6px;
  }
  .notification-icon {
    width: 36px;
    height: 36px;
    margin-right: 8px;
  }
  .action-button {
    padding: 4px 8px;
    font-size: 0.85rem;
  }
}

/* Notification Type Styles */
.notification-item.message .notification-icon {
  background-color: var(--primary-color);
}

.notification-item.task .notification-icon {
  background-color: var(--warn-color);
}

/* Icon styling */
.notification-icon i {
  font-size: 1.2rem;
  color: white;
}

/* Make sure task notifications are clearly visible */
.notification-item.task {
  border-left: 4px solid var(--warn-color);
}

/* Sekme Stili */
.notification-tabs {
  display: flex;
  flex-direction: row !important;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 0;
  position: relative;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0;
}

.notification-tab {
  padding: 10px 15px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text-color);
  position: relative;
  transition: all 0.2s ease;
  flex: 0 0 auto;
}

.notification-tab:hover {
  color: var(--primary-color);
}

.notification-tab.active {
  color: var(--primary-color);
  font-weight: 600;
}

.notification-tab.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
}

/* Sekme işlem butonları */
.notification-tab-actions {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 10px 0 8px 0;
}

.tab-action-button {
  background: none;
  border: none;
  color: #b0b8d1;
  color: var(--text-color-secondary, #b0b8d1);
  font-size: 0.8rem;
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s;
}

.tab-action-button:hover {
  background: rgba(200, 80, 30, 0.1);
  color: rgba(200, 80, 30, 1);
}

.tab-action-button i {
  font-size: 0.75rem;
}

.tab-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  font-size: 0.7rem;
  background-color: var(--primary-color);
  color: white;
  border-radius: 10px;
  margin-left: 5px;
}

/* Mobil cihazlarda stil düzeltmeleri */
@media (max-width: 480px) {
  .notification-tabs {
    flex-direction: row !important;
    flex-wrap: nowrap;
    align-items: center;
    padding-bottom: 0;
  }
  .notification-tab-actions {
    width: 100%;
    justify-content: center;
    margin: 10px 0 8px 0;
    gap: 10px;
  }
} 
/* Main Navigation Styles */
.main-nav {
  background-color: var(--nav-bg);
  padding: 10px 15px;
  border-bottom: 1px solid var(--border-color);
  position: relative;
  width: 100%;
  z-index: var(--z-index-nav);
  box-sizing: border-box;
  white-space: nowrap;
  box-shadow: 0 4px 8px -4px rgba(0,0,0,0.1);
  scrollbar-width: thin;
  scrollbar-color: rgba(200, 80, 30, 0.5) rgba(0, 0, 0, 0.1);
  overflow-x: auto;
}

/* Webkit browser scrollbar style */
.main-nav::-webkit-scrollbar {
  height: 6px;
}

.main-nav::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 10px;
}

.main-nav::-webkit-scrollbar-thumb {
  background-color: rgba(200, 80, 30, 0.4);
  border-radius: 10px;
}

.main-nav::-webkit-scrollbar-thumb:hover {
  background-color: rgba(200, 80, 30, 0.6);
}

.main-nav ul {
  display: flex;
  justify-content: flex-start;
  list-style: none;
  gap: 15px;
  padding: 0;
  margin: 0 auto;
  max-width: 1400px;
  flex-wrap: nowrap;
  position: relative;
}

.main-nav li {
  display: flex;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}

.main-nav a {
  text-decoration: none;
  color: var(--category-color);
  font-weight: 500;
  padding: 6px 10px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  background-color: transparent;
  border: 2px solid transparent;
  display: block;
  text-align: center;
  white-space: nowrap;
}

/* Hover effect for light theme */
[data-theme='light'] .main-nav a:hover {
  background-color: var(--category-hover-color);
  color: #ffffff;
  border: 2px solid var(--category-hover-color);
  border-radius: 20px;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Hover effect for dark theme */
[data-theme='dark'] .main-nav a:hover {
  background-color: var(--category-hover-color);
  color: #ffffff;
  border: 2px solid var(--category-hover-color);
  border-radius: 20px;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Dark Theme */
[data-theme='dark'] .main-nav {
  background-color: var(--dark-bg-primary);
  border-bottom-color: var(--dark-bg-secondary);
}

[data-theme='dark'] .main-nav a {
  color: var(--dark-text-primary);
}

/* Responsive styles */
@media (max-width: 1400px) {
  .main-nav ul {
    gap: 8px;
  }
  
  .main-nav a {
    padding: 6px 8px;
    font-size: 0.9rem;
  }
}

@media (max-width: 1200px) {
  .main-nav ul {
    gap: 5px;
  }
  
  .main-nav a {
    padding: 5px 7px;
    font-size: 0.85rem;
  }
}

@media (max-width: 768px) {
  .main-nav {
    padding: 8px 10px;
  }
  
  .main-nav ul {
    gap: 4px;
  }
  
  .main-nav a {
    padding: 4px 6px;
    font-size: 0.8rem;
  }
}

@media (min-width: 1650px) {
  .main-nav ul {
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    min-width: -webkit-max-content;
    min-width: max-content;
    padding: 0 20px;
  }
}

@media (min-width: 900px) and (max-width: 1649px) {
  .main-nav ul {
    justify-content: flex-start;
    margin-left: 0;
    margin-right: 0;
  }
}

/* Mobilde hover efekt override'ını kaldırıyorum */
/*
@media (max-width: 900px) {
  .main-nav a:hover {
    background-color: transparent !important;
    color: inherit !important;
    border: none !important;
    border-radius: 0 !important;
    transform: none !important;
    box-shadow: 0 4px 8px rgba(200, 80, 30, 0.2) !important; 
  }
} 
*/ 
/* Dark Theme Variables */
[data-theme='dark'] {
    /* Colors */
    --primary-color: #3b82f6;
    --primary-hover: #2563eb;
    --secondary-color: #4b5563;
    --primary-color-rgb: 59, 130, 246; /* Primary color RGB değeri */
    
    /* Text Colors */
    --text-primary: #e0e0e0;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    
    /* Background Colors */
    --bg-primary: #1e1e1e;
    --bg-secondary: #252526;
    --bg-hover: #2d2d30;
    
    /* Border Colors */
    --border-color: #3e3e42;
    
    /* Shadow Colors */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.6);
}

/* Dark Theme Specific Styles */
[data-theme='dark'] {
    color-scheme: dark;
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

/* Selection */
[data-theme='dark'] ::selection {
    background-color: var(--primary-color);
    color: white;
}

/* Links */
[data-theme='dark'] a {
    color: var(--primary-color);
}

[data-theme='dark'] a:hover {
    color: var(--primary-hover);
}

/* Code */
[data-theme='dark'] code {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
}

/* Blockquotes */
[data-theme='dark'] blockquote {
    background-color: var(--bg-secondary);
    border-left-color: var(--primary-color);
}

/* Form Elements */
[data-theme='dark'] input,
[data-theme='dark'] textarea,
[data-theme='dark'] select {
    background-color: var(--bg-secondary);
    border-color: var(--border-color);
    color: var(--text-primary);
}

[data-theme='dark'] input:focus,
[data-theme='dark'] textarea:focus,
[data-theme='dark'] select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

[data-theme='dark'] input::placeholder,
[data-theme='dark'] textarea::placeholder {
    color: var(--text-muted);
}

/* Buttons */
[data-theme='dark'] .btn-secondary {
    background-color: var(--bg-secondary);
    border-color: var(--border-color);
    color: var(--text-primary);
}

[data-theme='dark'] .btn-secondary:hover {
    background-color: var(--bg-hover);
}

/* Tables */
[data-theme='dark'] table {
    border-color: var(--border-color);
}

[data-theme='dark'] th {
    background-color: var(--bg-secondary);
}

[data-theme='dark'] tr:nth-child(even) {
    background-color: var(--bg-secondary);
}

/* Scrollbars */
[data-theme='dark'] ::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

[data-theme='dark'] ::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

[data-theme='dark'] ::-webkit-scrollbar-thumb {
    background-color: var(--text-muted);
    border-radius: 6px;
    border: 3px solid var(--bg-secondary);
}

[data-theme='dark'] ::-webkit-scrollbar-thumb:hover {
    background-color: var(--text-secondary);
}

/* Cards and Containers */
[data-theme='dark'] .card,
[data-theme='dark'] .container {
    background-color: var(--bg-secondary);
    border-color: var(--border-color);
}

/* Alerts and Messages */
[data-theme='dark'] .alert-info {
    background-color: rgba(59, 130, 246, 0.1);
    border-color: var(--primary-color);
    color: var(--text-primary);
}

[data-theme='dark'] .alert-success {
    background-color: rgba(34, 197, 94, 0.1);
    border-color: #22c55e;
    color: var(--text-primary);
}

[data-theme='dark'] .alert-warning {
    background-color: rgba(234, 179, 8, 0.1);
    border-color: #eab308;
    color: var(--text-primary);
}

[data-theme='dark'] .alert-danger {
    background-color: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
    color: var(--text-primary);
}

/* Icons */
[data-theme='dark'] .icon {
    color: var(--text-secondary);
}

[data-theme='dark'] .icon:hover {
    color: var(--text-primary);
}

/* Tooltips */
[data-theme='dark'] .tooltip {
    background-color: var(--bg-secondary);
    border-color: var(--border-color);
    color: var(--text-primary);
    box-shadow: var(--shadow-lg);
}

/* Badges */
[data-theme='dark'] .badge {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
}

/* Progress Bars */
[data-theme='dark'] .progress {
    background-color: var(--bg-secondary);
}

[data-theme='dark'] .progress-bar {
    background-color: var(--primary-color);
}

/* Dropdowns */
[data-theme='dark'] .dropdown-menu {
    background-color: var(--bg-secondary);
    border-color: var(--border-color);
    box-shadow: var(--shadow-lg);
}

[data-theme='dark'] .dropdown-item {
    color: var(--text-primary);
}

[data-theme='dark'] .dropdown-item:hover {
    background-color: var(--bg-hover);
}

/* Navigation */
[data-theme='dark'] .nav-link {
    color: var(--text-secondary);
}

[data-theme='dark'] .nav-link:hover,
[data-theme='dark'] .nav-link.active {
    color: var(--text-primary);
}

/* Borders */
[data-theme='dark'] .border {
    border-color: var(--border-color) !important;
}

[data-theme='dark'] .border-top {
    border-top-color: var(--border-color) !important;
}

[data-theme='dark'] .border-bottom {
    border-bottom-color: var(--border-color) !important;
}

[data-theme='dark'] .border-left {
    border-left-color: var(--border-color) !important;
}

[data-theme='dark'] .border-right {
    border-right-color: var(--border-color) !important;
}

/* Dark Theme */
[data-theme='dark'] .name-and-rating h1 {
    color: var(--dark-text-primary);
}

[data-theme='dark'] .rating-summary {
    background-color: transparent;
    color: var(--text-primary);
}

[data-theme='dark'] .rating-text {
    color: var(--text-primary);
}

[data-theme='dark'] .approved-work-count {
    background-color: var(--dark-bg-secondary);
    color: var(--dark-text-primary);
    border-color: var(--dark-border-color);
}

[data-theme='dark'] .approved-work-count:hover {
    background-color: var(--dark-bg-hover);
    box-shadow: var(--dark-shadow-md);
}

/* Dark theme styling for the placeholder element */
[data-theme='dark'] .approved-work-count-placeholder .approved-work-count {
    background-color: var(--dark-bg-secondary);
    color: var(--dark-text-primary);
    border-color: var(--dark-border-color);
}

[data-theme='dark'] .profile-button.save-button {
    background-color: var(--primary-color);
}

[data-theme='dark'] .profile-button.save-button:hover {
    background-color: var(--primary-hover);
}

[data-theme='dark'] .profile-button.cancel-button {
    background-color: var(--danger-color);
}

[data-theme='dark'] .profile-button.cancel-button:hover {
    background-color: #c82333;
} 
/* 
 * PROFILE BUTTON RESPONSIVE FIX
 * This file fixes the responsive scaling issues with profile buttons
 * from wide screens down to 425px screens
 */

/* Ensure the profile header has proper positioning */
#teknota-profile-container .profile-header {
  position: relative !important;
  display: flex !important;
  flex-wrap: wrap !important;
}

/* Align the profile action group with the top edge of the profile header */
.profile-action-group,
#teknota-profile-container .profile-action-group {
  top: 0 !important;
  right: 0 !important;
  position: absolute !important;
  padding-top: 10px !important;
  padding-right: 10px !important;
  z-index: 50 !important;
}

/* Responsive adjustments for positioning */
@media (max-width: 768px) {
  #teknota-profile-container .profile-header {
    flex-direction: column !important;
  }
  
  .profile-action-group,
  #teknota-profile-container .profile-action-group {
    padding-top: 5px !important;
    padding-right: 5px !important;
  }
}

@media (max-width: 480px) {
  #teknota-profile-container .profile-header {
    position: relative !important;
  }
  
  .profile-action-group,
  #teknota-profile-container .profile-action-group {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    padding-top: 0 !important;
    padding-right: 0 !important;
  }
}

/* Desktop button styles - for screens larger than 768px */
#teknota-profile-container .profile-action-group .btn.primary.edit-profile-button,
#teknota-profile-container .profile-action-group button.btn.primary.edit-profile-button,
#root #teknota-profile-container .profile-action-group .btn.primary.edit-profile-button,
#teknota-profile-container .profile-action-group .btn.primary.save-button.green-button,
#teknota-profile-container .profile-action-group .btn.secondary.cancel-button.red-button,
#teknota-profile-container .profile-action-group .btn.primary.modern-form-btn,
#teknota-profile-container .profile-action-group .btn.secondary.cancel-request-btn,
#teknota-profile-container .profile-action-group .btn.primary.musician-request-button,
#teknota-profile-container .profile-action-group .btn.danger.report-profile-btn {
  width: auto !important;
  min-width: 160px !important;
  max-width: 100% !important;
  padding: 0 1.5rem !important;
}

/* Create intermediate breakpoints for smoother scaling */
@media (max-width: 1200px) {
  #teknota-profile-container .profile-action-group .btn.primary.edit-profile-button,
  #teknota-profile-container .profile-action-group button.btn.primary.edit-profile-button,
  #root #teknota-profile-container .profile-action-group .btn.primary.edit-profile-button,
  #teknota-profile-container .profile-action-group .btn.primary.save-button.green-button,
  #teknota-profile-container .profile-action-group .btn.secondary.cancel-button.red-button,
  #teknota-profile-container .profile-action-group .btn.primary.modern-form-btn,
  #teknota-profile-container .profile-action-group .btn.secondary.cancel-request-btn,
  #teknota-profile-container .profile-action-group .btn.primary.musician-request-button,
  #teknota-profile-container .profile-action-group .btn.danger.report-profile-btn {
    min-width: 155px !important;
  }
}

@media (max-width: 992px) {
  #teknota-profile-container .profile-action-group .btn.primary.edit-profile-button,
  #teknota-profile-container .profile-action-group button.btn.primary.edit-profile-button,
  #root #teknota-profile-container .profile-action-group .btn.primary.edit-profile-button,
  #teknota-profile-container .profile-action-group .btn.primary.save-button.green-button,
  #teknota-profile-container .profile-action-group .btn.secondary.cancel-button.red-button,
  #teknota-profile-container .profile-action-group .btn.primary.modern-form-btn,
  #teknota-profile-container .profile-action-group .btn.secondary.cancel-request-btn,
  #teknota-profile-container .profile-action-group .btn.primary.musician-request-button,
  #teknota-profile-container .profile-action-group .btn.danger.report-profile-btn {
    min-width: 150px !important;
  }
}

/* Mobile button styles - exact 150x35 size for all buttons */
@media (max-width: 768px) {
  #teknota-profile-container .profile-action-group .btn.primary.edit-profile-button,
  #teknota-profile-container .profile-action-group button.btn.primary.edit-profile-button,
  #root #teknota-profile-container .profile-action-group .btn.primary.edit-profile-button,
  #teknota-profile-container .profile-action-group .btn.primary.save-button.green-button,
  #teknota-profile-container .profile-action-group .btn.secondary.cancel-button.red-button,
  #teknota-profile-container .profile-action-group .btn.primary.modern-form-btn,
  #teknota-profile-container .profile-action-group .btn.secondary.cancel-request-btn,
  #teknota-profile-container .profile-action-group .btn.primary.musician-request-button,
  #teknota-profile-container .profile-action-group .btn.danger.report-profile-btn {
    width: 150px !important;
    min-width: 150px !important;
    max-width: 150px !important;
    height: 35px !important;
    min-height: 35px !important;
    max-height: 35px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.9rem !important;
  }
}

/* Green and red button colors */
.green-button {
  background-color: #28a745 !important;
  border-color: #28a745 !important;
  color: white !important;
}

.green-button:hover {
  background-color: #218838 !important;
  border-color: #1e7e34 !important;
}

.red-button {
  background-color: #dc3545 !important;
  border-color: #dc3545 !important;
  color: white !important;
}

.red-button:hover {
  background-color: #c82333 !important;
  border-color: #bd2130 !important;
}

#teknota-profile-container .profile-action-group .btn.danger.report-profile-btn {
  background-color: #dc3545 !important;
  border-color: #dc3545 !important;
  color: white !important;
}

#teknota-profile-container .profile-action-group .btn.danger.report-profile-btn:hover {
  background-color: #c82333 !important;
  border-color: #bd2130 !important;
  color: white !important;
}

/* Style the contact request button using modern form button style */
.request-contact-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 0.75rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  width: auto;
  min-width: 200px;
  max-width: 100%;
  margin: 0.75rem auto;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  text-transform: none;
}

.request-contact-button:hover {
  background-color: var(--primary-color-dark);
  transform: translateY(-1px);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

.request-contact-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
}

.request-contact-button i {
  font-size: 1rem;
}

/* Mobile responsive styling */
@media (max-width: 768px) {
  .request-contact-button {
    width: 100%;
    min-width: 0;
    min-width: initial;
    font-size: 0.85rem;
    padding: 0.7rem 1rem;
    height: 40px;
    min-height: 40px;
    max-height: 40px;
  }
}

@media (max-width: 425px) {
  .request-contact-button {
    height: 35px;
    min-height: 35px;
    max-height: 35px;
  }
}

/* Pending request info buttons side by side and equal width */
.pending-request-info {
  display: flex;
  flex-direction: row;
  gap: 0.75rem;
  width: 100%;
  margin-top: 0.5rem;
}

.pending-request-info .musician-request-status,
.pending-request-info .btn,
.pending-request-info button {
  flex: 1 1;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  text-align: center;
  justify-content: center;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (max-width: 768px) {
  .pending-request-info {
    flex-direction: row;
    gap: 0.5rem;
  }
  .pending-request-info .btn,
  .pending-request-info button {
    font-size: 0.85rem;
    height: 40px;
    min-height: 40px;
    max-height: 40px;
  }
}

@media (max-width: 425px) {
  .pending-request-info .btn,
  .pending-request-info button {
    height: 35px;
    min-height: 35px;
    max-height: 35px;
  }
} 
/* Base Styles */

/* Animations */

/* Components */

/* Forms */

/* Modals */

/* Navigation */

/* Theme */

/* Fixes - must be last to ensure they override other styles */

.main-content {
  max-width: 1400px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
} 
.auth-container {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
  padding: 40px 20px 20px 20px;
  background-color: var(--bg-primary);
}

.auth-card {
  width: 100%;
  max-width: 480px;
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 30px;
  transition: all 0.3s ease;
  margin-top: 0;
  position: relative;
  overflow: hidden;
}

.auth-card:hover {
  transform: translateY(-2px);
}

.auth-card h2 {
  text-align: center;
  margin-bottom: 30px;
  color: var(--text-primary);
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.form-group label {
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.3s ease;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  box-sizing: border-box;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* New register-specific form control that won't be affected by other index field changes */
.register-form-control {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.3s ease;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  box-sizing: border-box;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  height: auto; /* Ensure height is auto or set to specific value */
  min-height: 44px; /* Set minimum height */
}

/* New login-specific form control with fixed height on desktop and responsive sizing */
.login-form-control {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.3s ease;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  box-sizing: border-box;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  height: 44px; /* Fixed height for desktop */
}

/* Form control'ün değeri varsa veya focused ise border'ı turuncu yap */
.form-control:focus,
.form-control.has-value,
.register-form-control:focus,
.register-form-control.has-value,
.login-form-control:focus,
.login-form-control.has-value {
  border-color: rgba(200,80,30,255);
}

.form-control:focus,
.register-form-control:focus,
.login-form-control:focus {
  outline: none;
  border-color: rgba(180,70,25,255);
  box-shadow: 0 4px 8px rgba(200,80,30,0.2);
  transform: translateY(-1px);
}

.form-control:hover,
.register-form-control:hover,
.login-form-control:hover {
  border-color: rgba(180,70,25,255);
  box-shadow: 0 4px 8px rgba(200,80,30,0.15);
}

.auth-button {
  width: 100%;
  margin-top: 10px;
  padding: 14px;
  background-color: rgba(200,80,30,255);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.auth-button:hover {
  background-color: rgba(180,70,25,255);
}

.error-message {
  color: #ff4444;
  margin-bottom: 1rem;
  text-align: center;
  padding: 0.5rem;
  border-radius: 4px;
  max-width: 100%;
  word-break: break-word;
  overflow: hidden;
  box-sizing: border-box;
}

.error-notification {
  background-color: #fff8f8;
  border: 1px solid #ffcccc;
  border-left: 4px solid #dc3545;
  color: #dc3545;
  padding: 12px 16px;
  margin-bottom: 20px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: fadeIn 0.3s ease;
}

.error-notification i {
  font-size: 20px;
  color: #dc3545;
}

.error-notification p {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
}

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

[data-theme='dark'] .error-notification {
  background-color: rgba(220, 53, 69, 0.15);
  border-color: rgba(220, 53, 69, 0.3);
  color: #f8d7da;
}

[data-theme='dark'] .error-notification i {
  color: #f8d7da;
}

.forgot-password-container {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  margin-top: 6px;
}

.forgot-password-link {
  color: var(--primary-color);
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.forgot-password-link:hover {
  color: var(--primary-hover);
}

[data-theme='dark'] .forgot-password-link {
  color: rgba(220,100,50,255);
}

[data-theme='dark'] .forgot-password-link:hover {
  color: rgba(240,120,70,255);
}

.register-type-selection {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin: 20px 0;
  width: 100%;
}

.register-type-button {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background-color: var(--bg-secondary);
  border: 2px solid var(--border-color);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  min-height: 180px;
}

.register-type-button:hover {
  border-color: rgba(200,80,30,255);
  background-color: rgba(200,80,30,0.05);
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

/* Ensure the hover background color matches the theme */
[data-theme='light'] .register-type-button:hover,
[data-theme='dark'] .register-type-button:hover {
  background-color: rgba(200,80,30,0.1);
  border-color: rgba(200,80,30,255);
}

[data-theme='dark'] .register-type-button:hover {
  background-color: rgba(200,80,30,0.2);
}

.register-type-image {
  width: 80px;
  height: 80px;
  margin-bottom: 15px;
}

.register-type-text {
  text-align: center;
  font-weight: 600;
  color: var(--text-primary);
}

/* Google Sign In styles */
.google-signin-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 25px;
  width: 100%;
}

.google-signin-container p {
  margin-bottom: 15px;
  color: var(--text-secondary);
}

/* Google buton stillerini özelleştir */
#google-signin-button {
  display: flex !important;
  justify-content: center !important;
  width: 100% !important;
  border: none !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  transition: all 0.3s ease !important;
}

#google-signin-button:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15) !important;
}

#google-signin-button iframe {
  scale: 1.2 !important;
}

/* Dark tema için Google buton stilleri */
[data-theme='dark'] #google-signin-button {
  border-color: rgba(200,80,30,255) !important;
  background-color: transparent !important;
}

.auth-divider {
  display: flex;
  align-items: center;
  margin: 20px 0;
  color: var(--text-secondary);
  width: 100%;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1 1;
  border-bottom: 1px solid var(--border-color);
}

.auth-divider span {
  padding: 0 15px;
  font-size: 14px;
}

/* Additional new styles for fixing responsive issues */
@media (max-width: 768px) {
  .auth-card {
    padding: 20px;
  }
  
  .form-control {
    padding: 10px 12px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .register-type-selection {
    flex-direction: column;
  }
  
  .register-type-button {
    min-height: 140px;
  }
  
  .register-type-image {
    width: 60px;
    height: 60px;
  }
}

[data-theme='dark'] .auth-card {
  background-color: #2a2a2a;
  background-color: var(--dark-background, #2a2a2a);
}

[data-theme='dark'] .form-group label {
  color: #e0e0e0;
  color: var(--dark-text-color, #e0e0e0);
}

[data-theme='dark'] .form-control,
[data-theme='dark'] .register-form-control,
[data-theme='dark'] .login-form-control {
  background-color: #3a3a3a;
  background-color: var(--dark-input-background, #3a3a3a);
  border-color: #c8501e;
}

[data-theme='dark'] .form-control:focus,
[data-theme='dark'] .form-control:hover,
[data-theme='dark'] .register-form-control:focus,
[data-theme='dark'] .register-form-control:hover,
[data-theme='dark'] .login-form-control:focus,
[data-theme='dark'] .login-form-control:hover {
  background-color: #3a3a3a;
  background-color: var(--dark-input-background, #3a3a3a);
  border-color: #b44619;
}

[data-theme='dark'] .form-control::placeholder,
[data-theme='dark'] .register-form-control::placeholder,
[data-theme='dark'] .login-form-control::placeholder {
  color: #6b7280;
  color: var(--dark-placeholder-color, #6b7280);
}

[data-theme='dark'] .auth-button {
  background-color: rgba(200,80,30,255);
}

[data-theme='dark'] .auth-button:hover {
  background-color: rgba(180,70,25,255);
}

[data-theme='dark'] .error-message {
  background-color: #471818;
  background-color: var(--dark-error-background, #471818);
  border-color: #7f1d1d;
  border-color: var(--dark-error-border, #7f1d1d);
  color: #fca5a5;
  color: var(--dark-error-text, #fca5a5);
}

[data-theme='dark'] h2 {
  color: #f3f4f6;
  color: var(--dark-heading-color, #f3f4f6);
}

.categories-selection {
  margin-top: 15px;
  width: 100%;
}

.categories-selection h3 {
  margin-bottom: 10px;
  font-size: 16px;
  color: var(--text-primary);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  grid-gap: 10px;
  gap: 10px;
  width: 100%;
}

.category-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  cursor: pointer;
}

.category-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
}

/* Add styles for Google form */

.google-info-text {
  margin-bottom: 20px;
  text-align: center;
  color: var(--text-secondary);
}

.form-control.disabled {
  background-color: var(--bg-secondary);
  cursor: not-allowed;
  opacity: 0.7;
}

.auth-button.secondary {
  background-color: rgba(200,80,30,255);
  margin-top: 10px;
}

.auth-button.secondary:hover {
  background-color: rgba(180,70,25,255);
}

small {
  display: block;
  margin-top: 5px;
  color: var(--text-secondary);
  font-size: 12px;
}

.google-info-banner {
  background-color: rgba(66, 133, 244, 0.1);
  border-left: 4px solid rgba(66, 133, 244, 0.8);
  padding: 12px 16px;
  margin-bottom: 25px;
  border-radius: 6px;
}

.google-info-banner p {
  margin: 0;
  color: var(--text-primary);
  font-size: 14px;
}

select.form-control {
  -webkit-appearance: none;
          appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27currentColor%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3e%3cpolyline points=%276 9 12 15 18 9%27%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1em;
  padding-right: 2.5rem;
}

[data-theme='dark'] .register-type-text {
  color: #e0e0e0;
  color: var(--dark-text-color, #e0e0e0);
}

.error-text {
  color: #dc3545 !important;
  font-size: 12px;
  margin-top: 5px;
  display: block;
}

.is-invalid {
  border-color: #dc3545 !important;
  background-color: rgba(220, 53, 69, 0.05);
}

.google-login-suggestion {
  margin-top: 1rem;
  padding: 0.5rem;
  background-color: #f8f9fa;
  border-radius: 4px;
}

.google-login-button {
  background-color: #4285f4;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  width: 100%;
  max-width: 200px;
  margin: 0 auto;
  display: block;
  transition: background-color 0.2s ease;
}

.google-login-button:hover {
  background-color: #357abd;
}

.dark-mode .google-login-suggestion {
  background-color: #2d3436;
}

.auth-card input,
.auth-card select,
.auth-card textarea {
  height: 38px;
  padding-top: 6px;
  padding-bottom: 6px;
  font-size: 15px;
}

/* City selection styles */
select.register-form-control {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27currentColor%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpolyline points=%276 9 12 15 18 9%27%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  padding-right: 40px;
}

/* Responsive adjustments for login form */
@media (max-width: 768px) {
  .login-form-control {
    height: 40px;
    padding: 10px 12px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .login-form-control {
    height: 38px;
    padding: 8px 10px;
    font-size: 14px;
  }
}
.star-rating {
    display: inline-flex;
    gap: 0.25rem;
}

.star-rating i {
    color: #ddd;
}

.star-rating i.filled {
    color: #ffd700;
}

.star-rating.small i {
    font-size: 0.8rem;
}

.star-rating.normal i {
    font-size: 1.2rem;
}

.star-rating.large i {
    font-size: 1.5rem;
}

.star-rating i.interactive {
    cursor: pointer;
    transition: transform 0.2s;
}

.star-rating i.interactive:hover {
    transform: scale(1.2);
} 
.contact-requests-container {
    background-color: var(--bg-primary);
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.contact-requests-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.contact-requests-loading {
    text-align: center;
    padding: 20px;
    color: var(--text-secondary);
}

.contact-requests-error {
    background-color: #ffebee;
    color: #c62828;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-requests-error::before {
    content: "⚠️";
    margin-right: 8px;
}

.no-requests {
    text-align: center;
    padding: 30px;
    color: var(--text-secondary);
    font-style: italic;
    background-color: var(--bg-secondary);
    border-radius: 8px;
}

.request-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.request-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background-color: var(--bg-secondary);
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.request-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.request-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

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

.request-details h3 {
    margin: 0 0 5px;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.request-details p {
    margin: 0 0 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.request-date {
    font-size: 0.8rem;
    color: var(--text-tertiary);
}

.request-actions {
    display: flex;
    gap: 10px;
}

.approve-button, .reject-button {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.approve-button {
    background-color: var(--primary-color);
    color: white;
}

.approve-button:hover {
    background-color: var(--primary-color-dark);
}

.reject-button {
    background-color: #f1f1f1;
    color: #444;
}

.reject-button:hover {
    background-color: #e0e0e0;
}

.approve-button:disabled, .reject-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Dark theme adjustments */
[data-theme='dark'] .contact-requests-error {
    background-color: rgba(198, 40, 40, 0.2);
    color: #ef9a9a;
}

[data-theme='dark'] .reject-button {
    background-color: #424242;
    color: #e0e0e0;
}

[data-theme='dark'] .reject-button:hover {
    background-color: #303030;
} 
@charset "UTF-8";
.react-datepicker__navigation-icon::before, .react-datepicker__year-read-view--down-arrow,
.react-datepicker__month-read-view--down-arrow,
.react-datepicker__month-year-read-view--down-arrow {
  border-color: #ccc;
  border-style: solid;
  border-width: 3px 3px 0 0;
  content: "";
  display: block;
  height: 9px;
  position: absolute;
  top: 6px;
  width: 9px;
}
.react-datepicker-wrapper {
  display: inline-block;
  padding: 0;
  border: 0;
}

.react-datepicker {
  font-family: "Helvetica Neue", helvetica, arial, sans-serif;
  font-size: 0.8rem;
  background-color: #fff;
  color: #000;
  border: 1px solid #aeaeae;
  border-radius: 0.3rem;
  display: inline-block;
  position: relative;
  line-height: normal;
  line-height: initial;
}

.react-datepicker--time-only .react-datepicker__time-container {
  border-left: 0;
}
.react-datepicker--time-only .react-datepicker__time,
.react-datepicker--time-only .react-datepicker__time-box {
  border-bottom-left-radius: 0.3rem;
  border-bottom-right-radius: 0.3rem;
}

.react-datepicker-popper {
  z-index: 1;
  line-height: 0;
}
.react-datepicker-popper .react-datepicker__triangle {
  stroke: #aeaeae;
}
.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle {
  fill: #f0f0f0;
  color: #f0f0f0;
}
.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle {
  fill: #fff;
  color: #fff;
}

.react-datepicker__header {
  text-align: center;
  background-color: #f0f0f0;
  border-bottom: 1px solid #aeaeae;
  border-top-left-radius: 0.3rem;
  padding: 8px 0;
  position: relative;
}
.react-datepicker__header--time {
  padding-bottom: 8px;
  padding-left: 5px;
  padding-right: 5px;
}
.react-datepicker__header--time:not(.react-datepicker__header--time--only) {
  border-top-left-radius: 0;
}
.react-datepicker__header:not(.react-datepicker__header--has-time-select) {
  border-top-right-radius: 0.3rem;
}

.react-datepicker__year-dropdown-container--select,
.react-datepicker__month-dropdown-container--select,
.react-datepicker__month-year-dropdown-container--select,
.react-datepicker__year-dropdown-container--scroll,
.react-datepicker__month-dropdown-container--scroll,
.react-datepicker__month-year-dropdown-container--scroll {
  display: inline-block;
  margin: 0 15px;
}

.react-datepicker__current-month,
.react-datepicker-time__header,
.react-datepicker-year-header {
  margin-top: 0;
  color: #000;
  font-weight: bold;
  font-size: 0.944rem;
}

h2.react-datepicker__current-month {
  padding: 0;
  margin: 0;
}

.react-datepicker-time__header {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.react-datepicker__navigation {
  align-items: center;
  background: none;
  display: flex;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  position: absolute;
  top: 2px;
  padding: 0;
  border: none;
  z-index: 1;
  height: 32px;
  width: 32px;
  text-indent: -999em;
  overflow: hidden;
}
.react-datepicker__navigation--previous {
  left: 2px;
}
.react-datepicker__navigation--next {
  right: 2px;
}
.react-datepicker__navigation--next--with-time:not(.react-datepicker__navigation--next--with-today-button) {
  right: 85px;
}
.react-datepicker__navigation--years {
  position: relative;
  top: 0;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.react-datepicker__navigation--years-previous {
  top: 4px;
}
.react-datepicker__navigation--years-upcoming {
  top: -4px;
}
.react-datepicker__navigation:hover *::before {
  border-color: rgb(165.75, 165.75, 165.75);
}

.react-datepicker__navigation-icon {
  position: relative;
  top: -1px;
  font-size: 20px;
  width: 0;
}
.react-datepicker__navigation-icon--next {
  left: -2px;
}
.react-datepicker__navigation-icon--next::before {
  transform: rotate(45deg);
  left: -7px;
}
.react-datepicker__navigation-icon--previous {
  right: -2px;
}
.react-datepicker__navigation-icon--previous::before {
  transform: rotate(225deg);
  right: -7px;
}

.react-datepicker__month-container {
  float: left;
}

.react-datepicker__year {
  margin: 0.4rem;
  text-align: center;
}
.react-datepicker__year-wrapper {
  display: flex;
  flex-wrap: wrap;
  max-width: 180px;
}
.react-datepicker__year .react-datepicker__year-text {
  display: inline-block;
  width: 4rem;
  margin: 2px;
}

.react-datepicker__month {
  margin: 0.4rem;
  text-align: center;
}
.react-datepicker__month .react-datepicker__month-text,
.react-datepicker__month .react-datepicker__quarter-text {
  display: inline-block;
  width: 4rem;
  margin: 2px;
}

.react-datepicker__input-time-container {
  clear: both;
  width: 100%;
  float: left;
  margin: 5px 0 10px 15px;
  text-align: left;
}
.react-datepicker__input-time-container .react-datepicker-time__caption {
  display: inline-block;
}
.react-datepicker__input-time-container .react-datepicker-time__input-container {
  display: inline-block;
}
.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input {
  display: inline-block;
  margin-left: 10px;
}
.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input {
  width: auto;
}
.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type=time]::-webkit-inner-spin-button,
.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type=time]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type=time] {
  -moz-appearance: textfield;
}
.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__delimiter {
  margin-left: 5px;
  display: inline-block;
}

.react-datepicker__time-container {
  float: right;
  border-left: 1px solid #aeaeae;
  width: 85px;
}
.react-datepicker__time-container--with-today-button {
  display: inline;
  border: 1px solid #aeaeae;
  border-radius: 0.3rem;
  position: absolute;
  right: -87px;
  top: 0;
}
.react-datepicker__time-container .react-datepicker__time {
  position: relative;
  background: white;
  border-bottom-right-radius: 0.3rem;
}
.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box {
  width: 85px;
  overflow-x: hidden;
  margin: 0 auto;
  text-align: center;
  border-bottom-right-radius: 0.3rem;
}
.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list {
  list-style: none;
  margin: 0;
  height: calc(195px + 1.7rem / 2);
  overflow-y: scroll;
  padding-right: 0;
  padding-left: 0;
  width: 100%;
  box-sizing: content-box;
}
.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item {
  height: 30px;
  padding: 5px 10px;
  white-space: nowrap;
}
.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item:hover {
  cursor: pointer;
  background-color: #f0f0f0;
}
.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--selected {
  background-color: #216ba5;
  color: white;
  font-weight: bold;
}
.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--selected:hover {
  background-color: #216ba5;
}
.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--disabled {
  color: #ccc;
}
.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--disabled:hover {
  cursor: default;
  background-color: transparent;
}

.react-datepicker__week-number {
  color: #ccc;
  display: inline-block;
  width: 1.7rem;
  line-height: 1.7rem;
  text-align: center;
  margin: 0.166rem;
}
.react-datepicker__week-number.react-datepicker__week-number--clickable {
  cursor: pointer;
}
.react-datepicker__week-number.react-datepicker__week-number--clickable:not(.react-datepicker__week-number--selected):hover {
  border-radius: 0.3rem;
  background-color: #f0f0f0;
}
.react-datepicker__week-number--selected {
  border-radius: 0.3rem;
  background-color: #216ba5;
  color: #fff;
}
.react-datepicker__week-number--selected:hover {
  background-color: rgb(28.75, 93.2196969697, 143.75);
}

.react-datepicker__day-names {
  white-space: nowrap;
  margin-bottom: -8px;
}

.react-datepicker__week {
  white-space: nowrap;
}

.react-datepicker__day-name,
.react-datepicker__day,
.react-datepicker__time-name {
  color: #000;
  display: inline-block;
  width: 1.7rem;
  line-height: 1.7rem;
  text-align: center;
  margin: 0.166rem;
}

.react-datepicker__day,
.react-datepicker__month-text,
.react-datepicker__quarter-text,
.react-datepicker__year-text {
  cursor: pointer;
}
.react-datepicker__day:not([aria-disabled=true]):hover,
.react-datepicker__month-text:not([aria-disabled=true]):hover,
.react-datepicker__quarter-text:not([aria-disabled=true]):hover,
.react-datepicker__year-text:not([aria-disabled=true]):hover {
  border-radius: 0.3rem;
  background-color: #f0f0f0;
}
.react-datepicker__day--today,
.react-datepicker__month-text--today,
.react-datepicker__quarter-text--today,
.react-datepicker__year-text--today {
  font-weight: bold;
}
.react-datepicker__day--highlighted,
.react-datepicker__month-text--highlighted,
.react-datepicker__quarter-text--highlighted,
.react-datepicker__year-text--highlighted {
  border-radius: 0.3rem;
  background-color: #3dcc4a;
  color: #fff;
}
.react-datepicker__day--highlighted:not([aria-disabled=true]):hover,
.react-datepicker__month-text--highlighted:not([aria-disabled=true]):hover,
.react-datepicker__quarter-text--highlighted:not([aria-disabled=true]):hover,
.react-datepicker__year-text--highlighted:not([aria-disabled=true]):hover {
  background-color: rgb(49.8551020408, 189.6448979592, 62.5632653061);
}
.react-datepicker__day--highlighted-custom-1,
.react-datepicker__month-text--highlighted-custom-1,
.react-datepicker__quarter-text--highlighted-custom-1,
.react-datepicker__year-text--highlighted-custom-1 {
  color: magenta;
}
.react-datepicker__day--highlighted-custom-2,
.react-datepicker__month-text--highlighted-custom-2,
.react-datepicker__quarter-text--highlighted-custom-2,
.react-datepicker__year-text--highlighted-custom-2 {
  color: green;
}
.react-datepicker__day--holidays,
.react-datepicker__month-text--holidays,
.react-datepicker__quarter-text--holidays,
.react-datepicker__year-text--holidays {
  position: relative;
  border-radius: 0.3rem;
  background-color: #ff6803;
  color: #fff;
}
.react-datepicker__day--holidays .overlay,
.react-datepicker__month-text--holidays .overlay,
.react-datepicker__quarter-text--holidays .overlay,
.react-datepicker__year-text--holidays .overlay {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #333;
  color: #fff;
  padding: 4px;
  border-radius: 4px;
  white-space: nowrap;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s, opacity 0.3s ease-in-out;
}
.react-datepicker__day--holidays:not([aria-disabled=true]):hover,
.react-datepicker__month-text--holidays:not([aria-disabled=true]):hover,
.react-datepicker__quarter-text--holidays:not([aria-disabled=true]):hover,
.react-datepicker__year-text--holidays:not([aria-disabled=true]):hover {
  background-color: rgb(207, 82.9642857143, 0);
}
.react-datepicker__day--holidays:hover .overlay,
.react-datepicker__month-text--holidays:hover .overlay,
.react-datepicker__quarter-text--holidays:hover .overlay,
.react-datepicker__year-text--holidays:hover .overlay {
  visibility: visible;
  opacity: 1;
}
.react-datepicker__day--selected, .react-datepicker__day--in-selecting-range, .react-datepicker__day--in-range,
.react-datepicker__month-text--selected,
.react-datepicker__month-text--in-selecting-range,
.react-datepicker__month-text--in-range,
.react-datepicker__quarter-text--selected,
.react-datepicker__quarter-text--in-selecting-range,
.react-datepicker__quarter-text--in-range,
.react-datepicker__year-text--selected,
.react-datepicker__year-text--in-selecting-range,
.react-datepicker__year-text--in-range {
  border-radius: 0.3rem;
  background-color: #216ba5;
  color: #fff;
}
.react-datepicker__day--selected:not([aria-disabled=true]):hover, .react-datepicker__day--in-selecting-range:not([aria-disabled=true]):hover, .react-datepicker__day--in-range:not([aria-disabled=true]):hover,
.react-datepicker__month-text--selected:not([aria-disabled=true]):hover,
.react-datepicker__month-text--in-selecting-range:not([aria-disabled=true]):hover,
.react-datepicker__month-text--in-range:not([aria-disabled=true]):hover,
.react-datepicker__quarter-text--selected:not([aria-disabled=true]):hover,
.react-datepicker__quarter-text--in-selecting-range:not([aria-disabled=true]):hover,
.react-datepicker__quarter-text--in-range:not([aria-disabled=true]):hover,
.react-datepicker__year-text--selected:not([aria-disabled=true]):hover,
.react-datepicker__year-text--in-selecting-range:not([aria-disabled=true]):hover,
.react-datepicker__year-text--in-range:not([aria-disabled=true]):hover {
  background-color: rgb(28.75, 93.2196969697, 143.75);
}
.react-datepicker__day--keyboard-selected,
.react-datepicker__month-text--keyboard-selected,
.react-datepicker__quarter-text--keyboard-selected,
.react-datepicker__year-text--keyboard-selected {
  border-radius: 0.3rem;
  background-color: rgb(186.25, 217.0833333333, 241.25);
  color: rgb(0, 0, 0);
}
.react-datepicker__day--keyboard-selected:not([aria-disabled=true]):hover,
.react-datepicker__month-text--keyboard-selected:not([aria-disabled=true]):hover,
.react-datepicker__quarter-text--keyboard-selected:not([aria-disabled=true]):hover,
.react-datepicker__year-text--keyboard-selected:not([aria-disabled=true]):hover {
  background-color: rgb(28.75, 93.2196969697, 143.75);
}
.react-datepicker__day--in-selecting-range:not(.react-datepicker__day--in-range,
.react-datepicker__month-text--in-range,
.react-datepicker__quarter-text--in-range,
.react-datepicker__year-text--in-range),
.react-datepicker__month-text--in-selecting-range:not(.react-datepicker__day--in-range,
.react-datepicker__month-text--in-range,
.react-datepicker__quarter-text--in-range,
.react-datepicker__year-text--in-range),
.react-datepicker__quarter-text--in-selecting-range:not(.react-datepicker__day--in-range,
.react-datepicker__month-text--in-range,
.react-datepicker__quarter-text--in-range,
.react-datepicker__year-text--in-range),
.react-datepicker__year-text--in-selecting-range:not(.react-datepicker__day--in-range,
.react-datepicker__month-text--in-range,
.react-datepicker__quarter-text--in-range,
.react-datepicker__year-text--in-range) {
  background-color: rgba(33, 107, 165, 0.5);
}
.react-datepicker__month--selecting-range .react-datepicker__day--in-range:not(.react-datepicker__day--in-selecting-range,
.react-datepicker__month-text--in-selecting-range,
.react-datepicker__quarter-text--in-selecting-range,
.react-datepicker__year-text--in-selecting-range), .react-datepicker__year--selecting-range .react-datepicker__day--in-range:not(.react-datepicker__day--in-selecting-range,
.react-datepicker__month-text--in-selecting-range,
.react-datepicker__quarter-text--in-selecting-range,
.react-datepicker__year-text--in-selecting-range),
.react-datepicker__month--selecting-range .react-datepicker__month-text--in-range:not(.react-datepicker__day--in-selecting-range,
.react-datepicker__month-text--in-selecting-range,
.react-datepicker__quarter-text--in-selecting-range,
.react-datepicker__year-text--in-selecting-range),
.react-datepicker__year--selecting-range .react-datepicker__month-text--in-range:not(.react-datepicker__day--in-selecting-range,
.react-datepicker__month-text--in-selecting-range,
.react-datepicker__quarter-text--in-selecting-range,
.react-datepicker__year-text--in-selecting-range),
.react-datepicker__month--selecting-range .react-datepicker__quarter-text--in-range:not(.react-datepicker__day--in-selecting-range,
.react-datepicker__month-text--in-selecting-range,
.react-datepicker__quarter-text--in-selecting-range,
.react-datepicker__year-text--in-selecting-range),
.react-datepicker__year--selecting-range .react-datepicker__quarter-text--in-range:not(.react-datepicker__day--in-selecting-range,
.react-datepicker__month-text--in-selecting-range,
.react-datepicker__quarter-text--in-selecting-range,
.react-datepicker__year-text--in-selecting-range),
.react-datepicker__month--selecting-range .react-datepicker__year-text--in-range:not(.react-datepicker__day--in-selecting-range,
.react-datepicker__month-text--in-selecting-range,
.react-datepicker__quarter-text--in-selecting-range,
.react-datepicker__year-text--in-selecting-range),
.react-datepicker__year--selecting-range .react-datepicker__year-text--in-range:not(.react-datepicker__day--in-selecting-range,
.react-datepicker__month-text--in-selecting-range,
.react-datepicker__quarter-text--in-selecting-range,
.react-datepicker__year-text--in-selecting-range) {
  background-color: #f0f0f0;
  color: #000;
}
.react-datepicker__day--disabled,
.react-datepicker__month-text--disabled,
.react-datepicker__quarter-text--disabled,
.react-datepicker__year-text--disabled {
  cursor: default;
  color: #ccc;
}
.react-datepicker__day--disabled .overlay,
.react-datepicker__month-text--disabled .overlay,
.react-datepicker__quarter-text--disabled .overlay,
.react-datepicker__year-text--disabled .overlay {
  position: absolute;
  bottom: 70%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #333;
  color: #fff;
  padding: 4px;
  border-radius: 4px;
  white-space: nowrap;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s, opacity 0.3s ease-in-out;
}

.react-datepicker__input-container {
  position: relative;
  display: inline-block;
  width: 100%;
}
.react-datepicker__input-container .react-datepicker__calendar-icon {
  position: absolute;
  padding: 0.5rem;
  box-sizing: content-box;
}

.react-datepicker__view-calendar-icon input {
  padding: 6px 10px 5px 25px;
}

.react-datepicker__year-read-view,
.react-datepicker__month-read-view,
.react-datepicker__month-year-read-view {
  border: 1px solid transparent;
  border-radius: 0.3rem;
  position: relative;
}
.react-datepicker__year-read-view:hover,
.react-datepicker__month-read-view:hover,
.react-datepicker__month-year-read-view:hover {
  cursor: pointer;
}
.react-datepicker__year-read-view:hover .react-datepicker__year-read-view--down-arrow,
.react-datepicker__year-read-view:hover .react-datepicker__month-read-view--down-arrow,
.react-datepicker__month-read-view:hover .react-datepicker__year-read-view--down-arrow,
.react-datepicker__month-read-view:hover .react-datepicker__month-read-view--down-arrow,
.react-datepicker__month-year-read-view:hover .react-datepicker__year-read-view--down-arrow,
.react-datepicker__month-year-read-view:hover .react-datepicker__month-read-view--down-arrow {
  border-top-color: rgb(178.5, 178.5, 178.5);
}
.react-datepicker__year-read-view--down-arrow,
.react-datepicker__month-read-view--down-arrow,
.react-datepicker__month-year-read-view--down-arrow {
  transform: rotate(135deg);
  right: -16px;
  top: 0;
}

.react-datepicker__year-dropdown,
.react-datepicker__month-dropdown,
.react-datepicker__month-year-dropdown {
  background-color: #f0f0f0;
  position: absolute;
  width: 50%;
  left: 25%;
  top: 30px;
  z-index: 1;
  text-align: center;
  border-radius: 0.3rem;
  border: 1px solid #aeaeae;
}
.react-datepicker__year-dropdown:hover,
.react-datepicker__month-dropdown:hover,
.react-datepicker__month-year-dropdown:hover {
  cursor: pointer;
}
.react-datepicker__year-dropdown--scrollable,
.react-datepicker__month-dropdown--scrollable,
.react-datepicker__month-year-dropdown--scrollable {
  height: 150px;
  overflow-y: scroll;
}

.react-datepicker__year-option,
.react-datepicker__month-option,
.react-datepicker__month-year-option {
  line-height: 20px;
  width: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.react-datepicker__year-option:first-of-type,
.react-datepicker__month-option:first-of-type,
.react-datepicker__month-year-option:first-of-type {
  border-top-left-radius: 0.3rem;
  border-top-right-radius: 0.3rem;
}
.react-datepicker__year-option:last-of-type,
.react-datepicker__month-option:last-of-type,
.react-datepicker__month-year-option:last-of-type {
  -webkit-user-select: none;
  user-select: none;
  border-bottom-left-radius: 0.3rem;
  border-bottom-right-radius: 0.3rem;
}
.react-datepicker__year-option:hover,
.react-datepicker__month-option:hover,
.react-datepicker__month-year-option:hover {
  background-color: #ccc;
}
.react-datepicker__year-option:hover .react-datepicker__navigation--years-upcoming,
.react-datepicker__month-option:hover .react-datepicker__navigation--years-upcoming,
.react-datepicker__month-year-option:hover .react-datepicker__navigation--years-upcoming {
  border-bottom-color: rgb(178.5, 178.5, 178.5);
}
.react-datepicker__year-option:hover .react-datepicker__navigation--years-previous,
.react-datepicker__month-option:hover .react-datepicker__navigation--years-previous,
.react-datepicker__month-year-option:hover .react-datepicker__navigation--years-previous {
  border-top-color: rgb(178.5, 178.5, 178.5);
}
.react-datepicker__year-option--selected,
.react-datepicker__month-option--selected,
.react-datepicker__month-year-option--selected {
  position: absolute;
  left: 15px;
}

.react-datepicker__close-icon {
  cursor: pointer;
  background-color: transparent;
  border: 0;
  outline: 0;
  padding: 0 6px 0 0;
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  display: table-cell;
  vertical-align: middle;
}
.react-datepicker__close-icon::after {
  cursor: pointer;
  background-color: #216ba5;
  color: #fff;
  border-radius: 50%;
  height: 16px;
  width: 16px;
  padding: 2px;
  font-size: 12px;
  line-height: 1;
  text-align: center;
  display: table-cell;
  vertical-align: middle;
  content: "×";
}
.react-datepicker__close-icon--disabled {
  cursor: default;
}
.react-datepicker__close-icon--disabled::after {
  cursor: default;
  background-color: #ccc;
}

.react-datepicker__today-button {
  background: #f0f0f0;
  border-top: 1px solid #aeaeae;
  cursor: pointer;
  text-align: center;
  font-weight: bold;
  padding: 5px 0;
  clear: left;
}

.react-datepicker__portal {
  position: fixed;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.8);
  left: 0;
  top: 0;
  justify-content: center;
  align-items: center;
  display: flex;
  z-index: 2147483647;
}
.react-datepicker__portal .react-datepicker__day-name,
.react-datepicker__portal .react-datepicker__day,
.react-datepicker__portal .react-datepicker__time-name {
  width: 3rem;
  line-height: 3rem;
}
@media (max-width: 400px), (max-height: 550px) {
  .react-datepicker__portal .react-datepicker__day-name,
  .react-datepicker__portal .react-datepicker__day,
  .react-datepicker__portal .react-datepicker__time-name {
    width: 2rem;
    line-height: 2rem;
  }
}
.react-datepicker__portal .react-datepicker__current-month,
.react-datepicker__portal .react-datepicker-time__header {
  font-size: 1.44rem;
}

.react-datepicker__children-container {
  width: 13.8rem;
  margin: 0.4rem;
  padding-right: 0.2rem;
  padding-left: 0.2rem;
  height: auto;
}

.react-datepicker__aria-live {
  position: absolute;
  -webkit-clip-path: circle(0);
          clip-path: circle(0);
  border: 0;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  width: 1px;
  white-space: nowrap;
}

.react-datepicker__calendar-icon {
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
}

/* Profile component styling */
.profile-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 1rem;
}

.profile-section {
  background-color: var(--bg-primary);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  padding: 2rem;
}

/* Dark theme */
[data-theme='dark'] .profile-section {
  background-color: var(--dark-bg-secondary);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Improved subcategory selection styling */
.music-categories .selected-category {
    position: relative;
    animation: selectFade 0.3s ease-in;
    transition: all 0.2s ease;
}

.music-categories .selected-category button {
    border: none;
    background: transparent;
    color: var(--danger-color);
    font-size: 1rem;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.2s ease;
    margin-left: 8px;
}

.music-categories .selected-category button:hover {
    background: var(--danger-color);
    color: white;
}

.category-selection .add-category-button {
    position: relative;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
    width: 100%;
    max-width: 100%;
}

.category-selection .add-category-button:hover:not(:disabled) {
    background-color: var(--primary-color-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.category-selection .add-category-button:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

@keyframes selectFade {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Make dropdown arrow more visible */
.category-dropdown, .subcategory-dropdown {
    background-position: right 1rem center;
    background-size: 1.25em;
    background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 fill=%27%23ff9900%27 viewBox=%270 0 24 24%27 stroke=%27%23ff9900%27%3E%3Cpath stroke-linecap=%27round%27 stroke-linejoin=%27round%27 stroke-width=%272%27 d=%27M19 9l-7 7-7-7%27/%3E%3C/svg%3E") !important;
    cursor: pointer;
}

/* Username edit section */
.username-edit-section {
  margin: 1.5rem 0;
  padding: 1.5rem;
  border-radius: 8px;
  background-color: var(--bg-secondary);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

[data-theme='dark'] .username-edit-section {
  background-color: var(--dark-bg-primary);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.username-edit-section h3 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  color: var(--text-primary);
}

.username-edit-field .input-with-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.username-edit-field input {
  flex: 1 1;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 1rem;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  transition: all 0.2s ease;
}

[data-theme='dark'] .username-edit-field input {
  background-color: var(--dark-bg-secondary);
  border-color: var(--dark-border-color);
}

.username-edit-field input:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 2px rgba(var(--primary-color-rgb), 0.2);
}

.username-edit-field .error-input {
  border-color: var(--danger-color);
  background-color: rgba(var(--danger-color-rgb), 0.05);
}

.username-edit-field .success-input {
  border-color: var(--success-color);
  background-color: rgba(var(--success-color-rgb), 0.05);
}

.username-edit-field .confirm-username-btn {
  padding: 0.75rem;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 6px;
  background-color: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.username-edit-field .confirm-username-btn:hover:not(:disabled) {
  background-color: var(--primary-color-dark);
}

.username-edit-field .confirm-username-btn:disabled {
  background-color: var(--disabled-bg);
  color: var(--disabled-text);
  cursor: not-allowed;
  opacity: 0.7;
}

.username-edit-field .error-message {
  color: var(--danger-color);
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

.username-edit-field .success-message {
  color: var(--success-color);
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

.username-edit-field .info-message {
  margin-top: 1rem;
  padding: 0.75rem;
  background-color: rgba(var(--info-color-rgb), 0.1);
  border-radius: 6px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.username-edit-field .info-message i {
  color: var(--info-color);
  margin-top: 0.1rem;
} 
/* Modern favorite list styling */
.favorites-container {
    padding: 20px;
    background-color: #fff;
    background-color: var(--card-background, #fff);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
    overflow: hidden;
}

.favorites-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    border-bottom: 1px solid var(--border-color, #eee);
    padding-bottom: 15px;
}

.favorites-header h3 {
    margin: 0;
    color: #333;
    color: var(--text-primary, #333);
    font-size: 1.3rem;
    font-weight: 600;
}

.refresh-button {
    background-color: #f0f0f0;
    background-color: var(--button-secondary, #f0f0f0);
    color: #555;
    color: var(--text-secondary, #555);
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.refresh-button:hover {
    background-color: #e0e0e0;
    background-color: var(--button-secondary-hover, #e0e0e0);
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.refresh-button i {
    font-size: 0.8rem;
}

.refresh-favorites-button {
    padding: 8px 16px;
    background-color: #4a6da7;
    background-color: var(--button-secondary, #4a6da7);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.refresh-favorites-button:hover {
    background-color: #3a5a8a;
    background-color: var(--button-secondary-hover, #3a5a8a);
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.refresh-favorites-button i {
    font-size: 0.8rem;
}

.favorites-controls {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1rem;
}

.favorites-debug {
    margin-bottom: 15px;
    padding: 10px;
    background-color: #f5f5f5;
    border: 1px dashed #ccc;
    border-radius: 4px;
    font-size: 0.8rem;
}

.favorites-debug details {
    cursor: pointer;
}

.favorites-debug summary {
    font-weight: bold;
    padding: 5px 0;
}

.favorites-debug pre {
    background-color: #eee;
    padding: 8px;
    border-radius: 4px;
    overflow-x: auto;
    margin-top: 8px;
    font-family: monospace;
    font-size: 0.75rem;
}

.favorites-loading, .favorites-error, .no-favorites {
    padding: 30px;
    text-align: center;
    color: #777;
    color: var(--text-secondary, #777);
    background-color: #fff;
    background-color: var(--card-background, #fff);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.no-favorites {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 40px 20px;
}

.no-favorites p {
    margin: 0;
}

.favorites-note {
    font-size: 0.9rem;
    color: #777;
    background-color: rgba(255, 235, 205, 0.3);
    padding: 15px;
    border-radius: 8px;
    border-left: 3px solid #e0c096;
    max-width: 90%;
    text-align: left;
    margin-top: 10px;
}

[data-theme='dark'] .favorites-note {
    background-color: rgba(255, 235, 205, 0.1);
    border-left: 3px solid #856b4d;
    color: #b5b5b5;
}

.favorites-error {
    border-left: 4px solid #ff5252;
    border-left: 4px solid var(--error-color, #ff5252);
}

.favorites-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-gap: 20px;
    gap: 20px;
}

.favorite-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background-color: #f9f9f9;
    background-color: var(--card-background-secondary, #f9f9f9);
    border-radius: 12px;
    transition: all 0.3s ease;
    color: #333;
    color: var(--text-primary, #333);
    position: relative;
    justify-content: space-between;
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.favorite-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.1);
}

.favorite-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    flex-grow: 1;
}

.favorite-image {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    flex-shrink: 0;
    border: 3px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

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

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

.favorite-details {
    flex: 1 1;
}

.favorite-details h4 {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    color: var(--text-primary, #333);
}

.favorite-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.favorite-location, .favorite-category {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: #777;
    color: var(--text-secondary, #777);
}

.favorite-category {
    margin-top: 4px;
    padding: 3px 8px;
    background-color: rgba(200, 80, 30, 0.1);
    border-radius: 20px;
    border-left: 3px solid rgba(200, 80, 30, 0.5);
}

.favorite-location i, .favorite-category i {
    color: #c85050;
    color: var(--accent-color, #c85050);
    font-size: 0.8rem;
    width: 16px;
    text-align: center;
}

.remove-favorite-button {
    background-color: #ff5252;
    background-color: var(--button-danger, #ff5252);
    color: white;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 10px;
    flex-shrink: 0;
    opacity: 0.8;
}

.remove-favorite-button:hover {
    background-color: #ff3838;
    background-color: var(--button-danger-hover, #ff3838);
    transform: scale(1.1);
    opacity: 1;
    box-shadow: 0 4px 10px rgba(255, 82, 82, 0.3);
}

/* Dark mode support */
[data-theme='dark'] {
    --card-background: #2c2f33;
    --card-background-secondary: #23272A;
    --text-primary: #eeeeee;
    --text-secondary: #B9BBBE;
    --border-color: #444444;
    --button-secondary: #4a6da7;
    --button-secondary-hover: #3a5a8a;
    --button-danger: #b83232;
    --button-danger-hover: #d13838;
    --accent-color: #e05050;
}

[data-theme='dark'] .favorites-debug {
    background-color: #1e1e2d;
    border-color: #444;
}

[data-theme='dark'] .favorites-debug pre {
    background-color: #2a2a2a;
    color: #ddd;
}

[data-theme='dark'] .favorite-item {
    background-color: #2d2d3d;
    border-color: rgba(255, 255, 255, 0.05);
}

[data-theme='dark'] .favorite-item:hover {
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
}

[data-theme='dark'] .favorite-image {
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme='dark'] .favorites-note {
    background-color: rgba(255, 235, 205, 0.1);
    border-left: 3px solid #856b4d;
    color: #b5b5b5;
}

/* Responsive design */
@media (max-width: 768px) {
    .favorites-list {
        grid-template-columns: 1fr;
    }
    
    .favorite-item {
        padding: 12px;
    }
    
    .favorite-image {
        width: 60px;
        height: 60px;
    }
    
    .favorite-details h4 {
        font-size: 1rem;
    }
    
    .favorite-location, .favorite-category {
        font-size: 0.85rem;
    }
    
    .remove-favorite-button {
        width: 32px;
        height: 32px;
    }
}

/* MODERN FAVORITES OVERRIDES */
.modern-favorites {
    padding: 0 0 24px 0;
    background: none;
    box-shadow: none;
    border-radius: 0;
}

.modern-favorites-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 8px;
}

.modern-favorite-card {
    background: #fff;
    background: var(--card-background, #fff);
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    border: 1.5px solid #eee;
    border: 1.5px solid var(--border-color, #eee);
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 18px;
    transition: box-shadow 0.2s, border 0.2s, transform 0.2s;
    position: relative;
}
.modern-favorite-card:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.13);
    border-color: #4a6da7;
    border-color: var(--primary-color, #4a6da7);
    transform: translateY(-2px) scale(1.01);
}

.modern-favorite-card .favorite-image {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2.5px solid #e3eafc;
    border: 2.5px solid var(--primary-color-rgb-10, #e3eafc);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-right: 0;
}

.modern-favorite-card .favorite-details h4 {
    font-size: 1.08rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: #222;
    color: var(--text-primary, #222);
}

.modern-favorite-card .favorite-info {
    flex-direction: row;
    gap: 16px;
    margin-top: 2px;
}

.modern-favorite-card .favorite-location, .modern-favorite-card .favorite-category {
    font-size: 0.93rem;
    color: #888;
    color: var(--text-secondary, #888);
    background: none;
    border: none;
    padding: 0;
    border-radius: 0;
    gap: 5px;
}

.modern-favorite-card .favorite-category {
    color: #4a6da7;
    color: var(--primary-color, #4a6da7);
    font-weight: 500;
}

.modern-favorite-card .remove-favorite-button {
    margin-left: 18px;
    background: #e74c3c;
    background: var(--danger-color, #e74c3c);
    color: #fff;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
    box-shadow: 0 2px 8px rgba(231,76,60,0.08);
    border: none;
    opacity: 0.92;
}
.modern-favorite-card .remove-favorite-button:hover:not(:disabled) {
    background: #c0392b;
    box-shadow: 0 4px 16px rgba(231,76,60,0.18);
    transform: scale(1.08);
    opacity: 1;
}
.modern-favorite-card .remove-favorite-button:active:not(:disabled) {
    background: #a93226;
    transform: scale(0.98);
}
.modern-favorite-card .remove-favorite-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Modern empty state for no favorites */
.modern-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 0 32px 0;
    background: none;
    border-radius: 0;
    box-shadow: none;
    color: #888;
    color: var(--text-secondary, #888);
    font-size: 1.08rem;
    gap: 8px;
}
.modern-empty-state img {
    filter: grayscale(0.2) brightness(0.95);
}

/* Responsive */
@media (max-width: 768px) {
    .modern-favorites-list {
        gap: 12px;
    }
    .modern-favorite-card {
        padding: 12px 8px;
        gap: 10px;
    }
    .modern-favorite-card .favorite-image {
        width: 48px;
        height: 48px;
    }
    .modern-favorite-card .remove-favorite-button {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
}

/* Dark mode overrides */
[data-theme='dark'] .modern-favorites {
    background: none;
}
[data-theme='dark'] .modern-favorite-card {
    background: #23272A;
    border-color: #444;
    box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}
[data-theme='dark'] .modern-favorite-card .favorite-image {
    border-color: #444;
}
[data-theme='dark'] .modern-favorite-card .favorite-details h4 {
    color: #fff;
}
[data-theme='dark'] .modern-favorite-card .favorite-location, [data-theme='dark'] .modern-favorite-card .favorite-category {
    color: #B9BBBE;
}
[data-theme='dark'] .modern-favorite-card .favorite-category {
    color: #4a90e2;
}
[data-theme='dark'] .modern-favorite-card .remove-favorite-button {
    background: #b83232;
    color: #fff;
}
[data-theme='dark'] .modern-favorite-card .remove-favorite-button:hover:not(:disabled) {
    background: #d13838;
}
[data-theme='dark'] .modern-empty-state {
    color: #B9BBBE;
} 
.category-page {
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
  background-color: var(--bg-primary);
}

.category-header {
  text-align: center;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.main-title {
  font-size: 2.5em;
  color: var(--text-primary);
  margin-bottom: 15px;
  font-weight: 700;
}

.subtitle {
  font-size: 1.5em;
  color: var(--text-primary) !important;
  margin-bottom: 30px;
  font-weight: 500;
}

.filter-title {
  font-size: 1.2em;
  color: var(--text-secondary);
  margin-bottom: 25px;
  font-weight: 400;
}

.filter-section {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  justify-content: center;
  width: 100%;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  transition: all 0.3s ease;
}

.filter-section:hover {
  transform: translateY(-2px);
}

.name-filter, .city-filter {
  height: 56px;
  padding: 0 1.25rem;
  font-size: var(--font-size-base);
  border-radius: var(--border-radius-lg);
  background: var(--bg-secondary);
  color: var(--text-primary);
  border: 1px solid rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  outline: none;
}

.name-filter:hover, .city-filter:hover {
  box-shadow: 0 6px 16px rgba(200,80,30,0.15), 0 0 15px rgba(220,90,40,0.15);
  border-color: rgba(200,80,30,0.3);
}

.name-filter {
  flex: 1 1;
  max-width: 400px;
}

.name-filter:focus, .city-filter:focus {
  box-shadow: 0 6px 16px rgba(200,80,30,0.2), 0 0 20px rgba(220,90,40,0.25);
  transform: translateY(-1px);
  border-color: rgba(200,80,30,0.5);
}

.city-filter {
  min-width: 180px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23666%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpolyline points=%276 9 12 15 18 9%27%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 16px;
  padding-right: 40px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  text-align: left;
  text-overflow: ellipsis;
  font-weight: 500;
}

.subcategory-filters {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  justify-content: flex-start;
  max-width: 100%;
  width: 100%;
  overflow-x: auto;
  padding-bottom: 10px;
}

.subcategory-button {
  padding: 8px 16px;
  background-color: var(--bg-secondary);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.9rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  color: var(--text-primary);
  white-space: nowrap;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.subcategory-button:before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  z-index: -1;
  background: linear-gradient(45deg, rgba(220,90,40,0), rgba(220,90,40,0));
  border-radius: 22px;
  transition: all 0.3s ease;
}

.subcategory-button:hover {
  background-color: rgba(200,80,30,0.05);
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  border-color: rgba(200,80,30,0.3);
}

.subcategory-button:hover:before {
  background: linear-gradient(45deg, rgba(220,90,40,0.2), rgba(220,90,40,0));
  box-shadow: 0 0 15px rgba(220,90,40,0.3);
}

.subcategory-button.active {
  background: linear-gradient(135deg, rgba(220,90,40,1) 0%, rgba(180,70,25,1) 100%);
  color: white;
  box-shadow: 0 3px 8px rgba(200,80,30,0.3);
  border-color: rgba(180,70,25,0.8);
}

.subcategory-button.active:before {
  background: linear-gradient(45deg, rgba(255,150,100,0.6), rgba(255,150,100,0));
  box-shadow: 0 0 20px rgba(220,90,40,0.5);
}

.category-divider {
  width: 100%;
  height: 1px;
  background-color: #eee;
  margin: 20px 0;
}

/* Table styles for sortable columns */
.musician-table {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  margin-bottom: 30px;
}

.table-header {
  display: flex;
  background-color: #f8f9fa;
  border-bottom: 1px solid #dee2e6;
  font-weight: bold;
}

.header-cell {
  padding: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background-color 0.2s;
}

.header-cell:hover {
  background-color: #e9ecef;
}

.header-cell span {
  margin-right: 5px;
}

.header-cell i {
  color: #adb5bd;
}

.header-cell.sorted-asc i,
.header-cell.sorted-desc i {
  color: #007bff;
}

.sorted-asc i::before {
  content: "\f0dd"; /* fa-sort-up */
}

.sorted-desc i::before {
  content: "\f0de"; /* fa-sort-down */
}

.table-body {
  background-color: #fff;
}

.musician-row {
  display: flex;
  border-bottom: 1px solid #dee2e6;
  text-decoration: none;
  color: #333;
  transition: background-color 0.2s;
}

.musician-row:last-child {
  border-bottom: none;
}

.musician-row:hover {
  background-color: #f1f8ff;
}

.cell {
  padding: 15px;
  display: flex;
  align-items: center;
}

.musician-name {
  display: flex;
  align-items: center;
  font-weight: 500;
}

.musician-profile-pic {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 10px;
  background-color: #f5f5f5;
}

.musician-profile-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rating-display {
  display: flex;
  align-items: center;
}

.rating-value {
  margin-left: 8px;
  color: #666;
  font-size: 0.9rem;
}

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

/* Cells widths */
.header-cell.name, .cell.musician-name {
  flex: 2 1;
  min-width: 200px;
}

.header-cell.city, .cell.musician-city {
  flex: 1 1;
  min-width: 100px;
}

.header-cell.jobs, .cell.musician-jobs {
  flex: 0.5 1;
  justify-content: center;
  min-width: 80px;
}

.header-cell.rating, .cell.musician-rating {
  flex: 1 1;
  min-width: 150px;
}

/* Loading and error states */
.loading, .error {
  text-align: center;
  padding: 40px;
  font-size: 1.2rem;
  color: #666;
}

.error {
  color: #dc3545;
}

/* Responsive styles */
@media (max-width: 768px) {
  .category-header {
    margin-bottom: 0;
  }
  .main-title {
    font-size: 2em;
  }

  .subtitle {
    font-size: 1.3em;
  }

  .filter-title {
    font-size: 1.1em;
  }

  .filter-section {
    flex-direction: column;
    gap: 15px;
  }
  
  .name-filter {
    max-width: 100%;
    width: 100%;
    font-size: 0.98rem;
    height: 38px !important;
    min-height: 38px !important;
    line-height: 38px !important;
    padding: 0 1rem;
  }
  
  .city-filter {
    min-width: 100%;
    width: 100%;
    font-size: 0.98rem;
    height: 44px;
    padding: 0 1rem 0 1rem;
  }
  
  .subcategory-filters {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 10px;
    gap: 8px;
  }
  
  .subcategory-button {
    padding: 8px 16px;
    font-size: 0.85rem;
    flex-shrink: 0;
  }
  
  .musician-table {
    font-size: 0.9rem;
  }
  
  .header-cell, .cell {
    padding: 10px 8px;
  }
  
  .musician-profile-pic {
    width: 30px;
    height: 30px;
  }
  
  .header-cell.jobs, .cell.musician-jobs {
    flex: 0.7 1;
  }
  
  .rating-value {
    font-size: 0.8rem;
  }
}

@media (max-width: 576px) {
  .musician-table {
    font-size: 0.8rem;
  }
  
  .header-cell.city, .cell.musician-city {
    display: none;
  }
  
  .header-cell.name, .cell.musician-name {
    flex: 1.5 1;
    min-width: 120px;
  }
}

@media (max-width: 480px) {
  .name-filter {
    font-size: 0.92rem;
    height: 38px !important;
    min-height: 38px !important;
    line-height: 38px !important;
    padding: 0 0.7rem;
  }
  .city-filter {
    font-size: 0.92rem;
    height: 38px;
    padding: 0 0.7rem 0 0.7rem;
  }
}

/* Dark theme compatibility */
[data-theme='dark'] .musician-table {
  background-color: #2c2c2c;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

[data-theme='dark'] .table-header {
  background-color: #1e1e1e;
  border-bottom: 1px solid #444;
}

[data-theme='dark'] .header-cell:hover {
  background-color: #333;
}

[data-theme='dark'] .musician-row {
  border-bottom: 1px solid #444;
  color: #e1e1e1;
}

[data-theme='dark'] .musician-row:hover {
  background-color: #383838;
}

[data-theme='dark'] .table-body {
  background-color: #2c2c2c;
}

[data-theme='dark'] .musician-profile-pic {
  background-color: #444;
}

[data-theme='dark'] .rating-value {
  color: #aaa;
}

[data-theme='dark'] .subcategory-button {
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

[data-theme='dark'] .subcategory-button:hover {
  background-color: rgba(200,80,30,0.2);
  border-color: rgba(220,90,40,0.5);
  box-shadow: 0 3px 8px rgba(0,0,0,0.2), 0 0 10px rgba(220,90,40,0.2);
}

[data-theme='dark'] .subcategory-button.active {
  background: linear-gradient(135deg, rgba(220,90,40,1) 0%, rgba(180,70,25,1) 100%);
  color: white;
  border-color: rgba(220,90,40,0.8);
  box-shadow: 0 3px 8px rgba(0,0,0,0.25), 0 0 15px rgba(220,90,40,0.35);
}

[data-theme='dark'] .name-filter,
[data-theme='dark'] .city-filter {
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

[data-theme='dark'] .name-filter:hover,
[data-theme='dark'] .city-filter:hover {
  border-color: rgba(220,90,40,0.5);
  box-shadow: 0 6px 16px rgba(0,0,0,0.25), 0 0 15px rgba(220,90,40,0.2);
}

[data-theme='dark'] .name-filter:focus,
[data-theme='dark'] .city-filter:focus {
  border-color: rgba(220,90,40,0.7);
  box-shadow: 0 6px 16px rgba(0,0,0,0.3), 0 0 20px rgba(220,90,40,0.3);
}

[data-theme='dark'] .category-divider {
  background-color: #444;
}

[data-theme='dark'] .no-musicians {
  color: #aaa;
}

.subcategory-dropdown {
  min-width: 180px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23666%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpolyline points=%276 9 12 15 18 9%27%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 16px;
  padding-right: 40px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  text-align: left;
  text-overflow: ellipsis;
  font-weight: 500;
  height: 56px;
  padding: 0 1.25rem;
  font-size: var(--font-size-base);
  border-radius: var(--border-radius-lg);
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  border: 1px solid rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  outline: none;
}

.subcategory-dropdown:hover {
  box-shadow: 0 6px 16px rgba(200,80,30,0.15), 0 0 15px rgba(220,90,40,0.15);
  border-color: rgba(200,80,30,0.3);
}

.subcategory-dropdown:focus {
  box-shadow: 0 6px 16px rgba(200,80,30,0.2), 0 0 20px rgba(220,90,40,0.25);
  transform: translateY(-1px);
  border-color: rgba(200,80,30,0.5);
}

@media (max-width: 768px) {
  .subcategory-dropdown {
    min-width: 100%;
    width: 100%;
    font-size: 0.98rem;
    height: 44px;
    padding: 0 1rem;
    padding-right: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23666%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpolyline points=%276 9 12 15 18 9%27%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
  }
}

@media (max-width: 480px) {
  .subcategory-dropdown {
    font-size: 0.92rem;
    height: 38px;
    padding: 0 0.7rem;
    padding-right: 36px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23333%27 stroke-width=%272.5%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpolyline points=%276 9 12 15 18 9%27%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
  }
}

[data-theme='dark'] .subcategory-dropdown {
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23999%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpolyline points=%276 9 12 15 18 9%27%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 16px;
} 
.delete-profile-forgot-password-container {
    min-height: calc(100vh - 150px);
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    padding-top: 20px;
    background-color: var(--bg-primary);
}

.delete-profile-forgot-password-card {
    background-color: var(--bg-secondary);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 30px;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
}

.card-header {
    text-align: center;
    margin-bottom: 30px;
}

.card-header h2 {
    color: var(--text-primary);
    font-size: 1.8rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.card-header p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    background-color: var(--input-bg);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.form-group input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(var(--primary-color-rgb), 0.2);
    outline: none;
}

.error-message {
    background-color: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.success-message {
    background-color: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.button-group {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.back-button,
.submit-button {
    flex: 1 1;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.back-button {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.back-button:hover {
    background-color: var(--bg-hover);
}

.submit-button {
    background-color: #4a90e2;
    background-color: var(--primary-color, #4a90e2);
    color: white !important;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.submit-button:hover:not(:disabled) {
    background-color: #357abd;
    background-color: var(--primary-color-dark, #357abd);
    transform: translateY(-1px);
}

.submit-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    background-color: #4a90e2;
    background-color: var(--primary-color, #4a90e2);
    color: white !important;
}

.submit-button i {
    color: white !important;
}

/* Ensure text is visible in both themes */
.submit-button, 
.submit-button:disabled {
    color: white !important;
}

/* Dark theme adjustments if needed */
[data-theme='dark'] .submit-button {
    background-color: #4a90e2;
    background-color: var(--primary-color, #4a90e2);
    color: white !important;
}

[data-theme='dark'] .submit-button:hover:not(:disabled) {
    background-color: #357abd;
    background-color: var(--primary-color-dark, #357abd);
}

/* Dark theme support */
[data-theme='dark'] .delete-profile-forgot-password-card {
    background-color: var(--dark-bg-secondary);
    border: 1px solid var(--dark-border-color);
}

[data-theme='dark'] .form-group input {
    background-color: var(--dark-input-bg);
    border-color: var(--dark-border-color);
    color: var(--dark-text-primary);
}

[data-theme='dark'] .back-button {
    background-color: var(--dark-bg-secondary);
    border-color: var(--dark-border-color);
    color: var(--dark-text-primary);
}

[data-theme='dark'] .back-button:hover {
    background-color: var(--dark-bg-hover);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .delete-profile-forgot-password-card {
        margin: 10px;
        padding: 20px;
    }

    .button-group {
        flex-direction: column;
    }

    .back-button,
    .submit-button {
        width: 100%;
    }
} 
.cookie-consent-container {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding: 1rem;
}

.cookie-consent {
  background-color: #fff;
  background-color: var(--bg-color, #fff);
  color: #333;
  color: var(--text-color, #333);
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  width: 100%;
  max-width: 800px;
  max-height: 80vh;
  overflow-y: auto;
  padding: 1.5rem;
  animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cookie-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  border-bottom: 1px solid #eee;
  border-bottom: 1px solid var(--border-color, #eee);
  padding-bottom: 0.5rem;
}

.cookie-header h3 {
  margin: 0;
  font-size: 1.3rem;
}

.close-button {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: #333;
  color: var(--text-color, #333);
}

.cookie-content {
  margin-bottom: 1.5rem;
}

.cookie-content p {
  line-height: 1.5;
  margin-bottom: 1rem;
}

/* Initial step styles */
.initial-step {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.initial-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: 1rem;
}

.info-button {
  background-color: #f0f0f0;
  background-color: var(--light-bg-color, #f0f0f0);
  border: 1px solid #ddd;
  border: 1px solid var(--border-color, #ddd);
  color: #333;
  color: var(--text-color, #333);
  padding: 0.6rem 1rem;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
  flex: 1 1;
  min-width: 120px;
  max-width: calc(50% - 0.4rem);
}

.info-button:hover {
  background-color: #ddd;
  background-color: var(--border-color, #ddd);
}

.cookie-next-button {
  background-color: #e74c3c;
  background-color: var(--primary-color, #e74c3c);
  border: 1px solid #e74c3c;
  border: 1px solid var(--primary-color, #e74c3c);
  color: white;
  padding: 0.6rem 1rem;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
  flex: 1 1;
  min-width: 120px;
  max-width: calc(50% - 0.4rem);
}

.cookie-next-button:hover {
  background-color: #c0392b;
  background-color: var(--primary-hover-color, #c0392b);
  border-color: #c0392b;
  border-color: var(--primary-hover-color, #c0392b);
}

.rıza-step {
  padding: 1rem 0;
}

.cookie-categories {
  margin: 1.5rem 0;
  border: 1px solid #eee;
  border: 1px solid var(--border-color, #eee);
  border-radius: 4px;
  overflow: hidden;
}

.cookie-category {
  padding: 1rem;
  border-bottom: 1px solid #eee;
  border-bottom: 1px solid var(--border-color, #eee);
}

.cookie-category:last-child {
  border-bottom: none;
}

.category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.category-header div {
  display: flex;
  align-items: center;
}

.category-header input[type="checkbox"] {
  margin-right: 0.5rem;
  width: 18px;
  height: 18px;
}

.required-label {
  font-size: 0.8rem;
  background-color: #f0f0f0;
  background-color: var(--light-bg-color, #f0f0f0);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  color: #666;
  color: var(--secondary-text-color, #666);
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.5rem 0;
}

.button-group .info-button,
.button-group .cookie-next-button {
  flex: 1 1;
  min-width: 120px;
}

.cookie-list-button {
  background: none;
  border: none;
  color: #e74c3c;
  color: var(--primary-color, #e74c3c);
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  text-align: center;
  width: 100%;
}

/* For mobile devices */
@media (max-width: 576px) {
  .cookie-consent {
    max-height: 85vh;
    padding: 1rem;
  }
  
  .initial-buttons {
    flex-direction: column;
  }
  
  .info-button,
  .cookie-next-button {
    max-width: 100%;
  }
  
  .button-group {
    flex-direction: column;
  }
}

/* For cookie list */
.cookie-list-step {
  padding: 1rem 0;
}

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 0.9rem;
}

.cookie-table th, 
.cookie-table td {
  border: 1px solid #ddd;
  border: 1px solid var(--border-color, #ddd);
  padding: 0.6rem;
  text-align: left;
}

.cookie-table th {
  background-color: #f5f5f5;
  background-color: var(--light-bg-color, #f5f5f5);
  font-weight: 600;
}

.cookie-table tr:nth-child(even) {
  background-color: #f9f9f9;
  background-color: var(--light-bg-color, #f9f9f9);
}

.list-link {
  background: none;
  border: none;
  color: #e74c3c;
  color: var(--primary-color, #e74c3c);
  text-decoration: underline;
  cursor: pointer;
  padding: 0 0.3rem;
  margin: 0;
  font-size: inherit;
}

.back-button {
  background-color: #f0f0f0;
  background-color: var(--light-bg-color, #f0f0f0);
  border: 1px solid #ddd;
  border: 1px solid var(--border-color, #ddd);
  color: #333;
  color: var(--text-color, #333);
  padding: 0.6rem 1rem;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
  margin-right: 0.8rem;
}

/* For the aydınlatma step */
.aydınlatma-content {
  max-height: 60vh;
  overflow-y: auto;
  padding-right: 0.5rem;
}

.aydınlatma-content h4 {
  margin: 1.2rem 0 0.5rem;
  font-size: 1.1rem;
}

.aydınlatma-content ul {
  margin: 0.5rem 0;
  padding-left: 1.5rem;
}

.aydınlatma-content li {
  margin-bottom: 0.3rem;
}

.aydınlatma-buttons {
  display: flex;
  margin-top: 1.5rem;
  gap: 0.8rem;
}

.aydınlatma-buttons button {
  flex: 1 1;
}

/* Koyu tema desteği */
@media (prefers-color-scheme: dark) {
  :root {
    --bg-color: #222;
    --text-color: #f0f0f0;
    --border-color: #444;
    --light-bg-color: #333;
    --secondary-text-color: #aaa;
    --primary-color: #3498db;
    --secondary-color: #6c757d;
  }
} 

/* Compact mod: daha az yer kaplayan alt bant görünümü */
.cookie-consent-container.compact {
  background-color: transparent;
  padding: 0.25rem; /* dikey ekseni daha da küçült */
}

.cookie-consent.compact {
  max-height: none; /* içeriğin tamamı sığsın, iç scroll olmasın */
  overflow: visible; /* iç scroll’u kapat */
  padding: 0.5rem;
}

.cookie-consent.compact .cookie-header h3 {
  font-size: 1rem; /* başlık boyutunu biraz küçült */
}

.cookie-consent.compact .cookie-content p {
  font-size: 0.88rem;  /* metni biraz daha küçült */
  margin-bottom: 0.4rem; /* alt boşluğu azalt */
  line-height: 1.35; /* satır yüksekliğini sıkılaştır */
}

.cookie-consent.compact .initial-buttons {
  gap: 0.35rem; /* butonlar arası boşluğu azalt */
}

.cookie-consent.compact .info-button,
.cookie-consent.compact .cookie-next-button {
  padding: 0.4rem 0.7rem; /* butonları incelt */
}
.cookie-consent-container.compact .cookie-consent {
  max-height: none;
  overflow: visible;
}
.cookie-consent-container.compact .cookie-list-step,
.cookie-consent-container.compact .cookie-list-content {
  max-height: none;
  overflow: visible;
}

@media (max-width: 576px) {
  .cookie-consent.compact {
    max-height: none; /* mobilde de iç scroll olmasın */
    overflow: visible;
  }
}
