/* ============================================
   MOXIOS ADMIN PANEL - CONSOLIDATED STYLES
   ============================================ */
   * {
       margin: 0;
       padding: 0;
       box-sizing: border-box;
   }
   
   body {
       font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
       background: linear-gradient(135deg, #16a5cb 0%, #0e7a9a 100%);
       min-height: 100vh;
       padding: 20px;
   }
   
   .container {
       max-width: 1400px;
       margin: 0 auto;
       background: white;
       border-radius: 20px;
       box-shadow: 0 20px 40px rgba(0,0,0,0.1);
       overflow: hidden;
       display: flex;
       min-height: calc(100vh - 40px);
   }
   
   .sidebar {
       width: 280px;
       background: linear-gradient(180deg, #16a5cb 0%, #0e7a9a 100%);
       color: white;
       flex-shrink: 0;
   }
   
   .sidebar-header {
       padding: 30px 25px;
       border-bottom: 1px solid rgba(255,255,255,0.2);
       height: 170px;
       display: flex;
       flex-direction: column;
       justify-content: center;
   }

   .sidebar-header h1 {
       font-size: 1.8rem;
       margin-bottom: 8px;
       font-weight: 700;
   }

   .sidebar-header p {
       opacity: 0.9;
       font-size: 0.95rem;
   }

   .sidebar-menu {
       padding: 20px 0;
   }
   
   .menu-item {
       display: block;
       padding: 15px 25px;
       color: white;
       text-decoration: none;
       transition: all 0.3s ease;
       border-left: 4px solid transparent;
       font-weight: 500;
       font-size: 1.05rem;
   }
   
   .menu-item:hover {
       background: rgba(255,255,255,0.1);
       border-left-color: rgba(255,255,255,0.8);
       padding-left: 30px;
   }        
   .menu-item.active {
       background: rgba(255,255,255,0.15);
       border-left-color: white;
   }
   
   .menu-icon {
       margin-right: 12px;
       font-size: 1.2rem;
   }
   
   .main-content {
       flex: 1;
       display: flex;
       flex-direction: column;
   }
   
   .header {
       background: linear-gradient(135deg, #16a5cb 0%, #0e7a9a 100%);
       color: white;
       padding: 30px;
       text-align: center;
       position: relative;
   }

   .signout-btn {
       position: absolute;
       top: 20px;
       right: 30px;
       background: rgba(255, 255, 255, 0.2);
       color: white;
       border: 1px solid rgba(255, 255, 255, 0.3);
       padding: 8px 16px;
       border-radius: 20px;
       text-decoration: none;
       font-size: 0.9rem;
       font-weight: 500;
       transition: all 0.3s ease;
       backdrop-filter: blur(10px);
   }

   .signout-btn:hover {
       background: rgba(255, 255, 255, 0.3);
       border-color: rgba(255, 255, 255, 0.5);
       transform: translateY(-1px);
       color: white;
       text-decoration: none;
   }
   
   .header h1 {
       font-size: 2.5rem;
       margin-bottom: 10px;
   }
   
   .header p {
       opacity: 0.9;
       font-size: 1.1rem;
   }
   
   .content {
       padding: 30px;
       flex: 1;
   }
   
   /* Scraper Form Styling */
   .scraper-form {
       background: #f8f9fa;
       padding: 25px;
       border-radius: 15px;
       margin-bottom: 30px;
       border: 1px solid #e9ecef;
   }
   
   .form-group {
       margin-bottom: 20px;
   }
   
   .form-group label {
       display: block;
       margin-bottom: 8px;
       font-weight: 600;
       color: #495057;
   }        
   .form-select {
       width: 100%;
       padding: 12px 16px;
       border: 2px solid #e9ecef;
       border-radius: 10px;
       font-size: 16px;
       transition: all 0.3s ease;
   }
   
   .form-select:focus {
       outline: none;
       border-color: #16a5cb;
       box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
   }
   
   .btn-primary {
       background: linear-gradient(135deg, #16a5cb 0%, #0e7a9a 100%);
       color: white;
       border: none;
       padding: 12px 30px;
       border-radius: 10px;
       font-size: 16px;
       font-weight: 600;
       cursor: pointer;
       transition: transform 0.2s ease;
   }
   
   .btn-primary:hover {
       transform: translateY(-2px);
   }
   
   /* Flash Messages */
   .flash-messages {
       margin-bottom: 20px;
   }
   
   .flash-message {
       padding: 15px 20px;
       margin-bottom: 10px;
       border-radius: 10px;
       background: #d4edda;
       border: 1px solid #c3e6cb;
       color: #155724;
   }
   
   /* Collection Navigation - Styled like list-header */
   .collection-nav {
       display: flex;
       flex-wrap: wrap;
       gap: 10px;
       margin-bottom: 30px;
       padding: 20px;
       background: #16a5cb;
       border-radius: 15px;
       box-shadow: 0 5px 15px rgba(0,0,0,0.08);
   }
   .collection-tab {
       padding: 12px 24px;
       border-radius: 8px;
       background: rgba(255, 255, 255, 0.2);
       color: white;
       text-decoration: none;
       font-weight: 600;
       font-size: 1.05rem;
       transition: all 0.3s ease;
       border: 2px solid rgba(255, 255, 255, 0.3);
   }

   .collection-tab:hover {
       background: rgba(255, 255, 255, 0.3);
       border-color: rgba(255, 255, 255, 0.5);
       transform: translateY(-2px);
   }

   .collection-tab.active {
       background: white;
       color: #16a5cb;
       border-color: white;
       box-shadow: 0 3px 10px rgba(0,0,0,0.15);
   }
   
   /* Data List */
   .data-list {
       background: white;
       border-radius: 15px;
       overflow: hidden;
       box-shadow: 0 5px 15px rgba(0,0,0,0.08);
       margin-bottom: 30px;
   }
   
   .list-header {
       background: #16a5cb;
       color: white;
       padding: 20px;
       font-size: 1.3rem;
       font-weight: 600;
       display: flex;
       justify-content: space-between;
       align-items: center;
   }
   
   .list-item {
       display: flex;
       align-items: center;
       padding: 15px 20px;
       border-bottom: 1px solid #e9ecef;
       transition: background-color 0.2s ease;
   }
   
   .list-item:hover {
       background: #f8f9fa;
   }        
   .list-item:last-child {
       border-bottom: none;
   }
   
   .item-image {
       width: 80px;
       height: 80px;
       border-radius: 10px;
       object-fit: cover;
       margin-right: 20px;
       flex-shrink: 0;
   }
   
   .image-placeholder {
       width: 80px;
       height: 80px;
       border-radius: 10px;
       background: linear-gradient(45deg, #f0f0f0, #e0e0e0);
       display: flex;
       align-items: center;
       justify-content: center;
       color: #999;
       font-size: 24px;
       margin-right: 20px;
       flex-shrink: 0;
   }
   
   .item-content {
       flex: 1;
       min-width: 0;
   }
   
   .item-title {
       font-size: 1.1rem;
       font-weight: 600;
       color: #333;
       margin-bottom: 8px;
       line-height: 1.3;
   }
   
   .item-details {
       display: grid;
       grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
       gap: 15px;
       margin-bottom: 10px;
   }
   
   .detail-item {
       font-size: 0.9rem;
       color: #666;
   }
   
   .detail-label {
       font-weight: 600;
       color: #495057;
       margin-right: 8px;
   }        
   .item-actions {
       display: flex;
       gap: 10px;
       flex-shrink: 0;
       margin-left: 20px;
   }
   
   .btn-icon {
       padding: 8px 12px;
       border: none;
       border-radius: 8px;
       cursor: pointer;
       font-size: 16px;
       transition: all 0.2s ease;
   }
   
   .btn-edit {
       background: #ffc107;
       color: #212529;
   }
   
   .btn-edit:hover {
       background: #e0a800;
       transform: scale(1.05);
   }
   
   .btn-delete {
       background: #dc3545;
       color: white;
   }
   
   .btn-delete:hover {
       background: #c82333;
       transform: scale(1.05);
   }
   
   /* Edit Form */
   .edit-form {
       background: #fff3cd;
       border: 2px solid #ffeaa7;
       border-radius: 10px;
       padding: 20px;
       margin: 15px 0;
   }
   
   .edit-field {
       margin-bottom: 15px;
   }
   
   .edit-field label {
       display: block;
       margin-bottom: 5px;
       font-weight: 600;
       color: #495057;
   }        
   .edit-input, .edit-textarea {
       width: 100%;
       padding: 10px;
       border: 1px solid #ddd;
       border-radius: 6px;
       font-family: inherit;
   }
   
   .edit-textarea {
       resize: vertical;
       min-height: 80px;
   }
   
   .edit-actions {
       display: flex;
       gap: 10px;
       margin-top: 20px;
   }
   
   .btn-save {
       background: #28a745;
       color: white;
       padding: 10px 20px;
       border: none;
       border-radius: 6px;
       cursor: pointer;
       font-weight: 600;
   }
   
   .btn-cancel {
       background: #6c757d;
       color: white;
       padding: 10px 20px;
       border-radius: 6px;
       text-decoration: none;
       font-weight: 600;
   }
   
   /* Pagination */
   .pagination {
       display: flex;
       justify-content: center;
       align-items: center;
       gap: 10px;
       margin: 30px 0;
       padding: 20px;
   }
   
   .pagination a, .pagination span {
       padding: 10px 15px;
       border-radius: 8px;
       text-decoration: none;
       font-weight: 500;
       transition: all 0.3s ease;
   }        
   .pagination a {
       background: white;
       color: #16a5cb;
       border: 2px solid #16a5cb;
   }
   
   .pagination a:hover {
       background: #16a5cb;
       color: white;
   }
   
   .pagination .current {
       background: #16a5cb;
       color: white;
       border: 2px solid #16a5cb;
   }
   
   .pagination .disabled {
       background: #e9ecef;
       color: #6c757d;
       border: 2px solid #e9ecef;
       cursor: not-allowed;
   }
   
   .pagination-info {
       background: #f8f9fa;
       padding: 15px 20px;
       border-radius: 10px;
       text-align: center;
       margin-bottom: 20px;
       color: #495057;
   }
   
   .filter-status {
       background: linear-gradient(135deg, #e3f2fd, #bbdefb);
       color: #1976d2;
       padding: 5px 12px;
       border-radius: 15px;
       font-size: 0.9rem;
       font-weight: 600;
       margin-left: 10px;
   }
   
   .no-data {
       text-align: center;
       padding: 60px 40px;
       color: #6c757d;
       font-style: italic;
       background: #f8f9fa;
       border-radius: 15px;
   }        
   @media (max-width: 768px) {
       .container {
           flex-direction: column;
           margin: 10px;
           border-radius: 15px;
       }
       
       .sidebar {
           width: 100%;
           order: 2;
       }
       
       .main-content {
           order: 1;
       }
       
       .content {
           padding: 20px;
       }
       
       .list-item {
           flex-direction: column;
           align-items: flex-start;
           gap: 15px;
       }
       
       .item-image, .image-placeholder {
           margin-right: 0;
           margin-bottom: 10px;
       }
       
       .item-actions {
           margin-left: 0;
           width: 100%;
           justify-content: flex-end;
       }
       
       .item-details {
           grid-template-columns: 1fr;
           gap: 8px;
       }
       
       .collection-nav {
           justify-content: center;
       }
   }

/* RESET & BASE STYLES */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: linear-gradient(135deg, #16a5cb 0%, #0e7a9a 100%);
  min-height: 100vh;
  padding: 20px;
}

/* ============================================
   CONTAINER LAYOUTS
   ============================================ */

/* Full Admin Panel Container (with Sidebar) */
.container {
  margin: 0 auto;
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  min-height: calc(100vh - 40px);
}

/* Simple Container (for forms and detail pages - no sidebar) */
.container.simple {
  max-width: 800px;
  display: block;
}

.container.simple-wide {
  max-width: 1200px;
  display: block;
}

.container.simple-narrow {
  max-width: 900px;
  display: block;
}

/* ============================================
   SIDEBAR STYLES
   ============================================ */

.sidebar {
  width: 280px;
  background: linear-gradient(180deg, #16a5cb 0%, #0e7a9a 100%);
  color: white;
  flex-shrink: 0;
  position: relative;
}

.sidebar-header {
  padding: 30px 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sidebar-header h1 {
  font-size: 1.8rem;
  margin-bottom: 8px;
  font-weight: 700;
}

.sidebar-header p {
  opacity: 0.9;
  font-size: 0.95rem;
}

.sidebar-menu {
  padding: 20px 0;
}

.menu-item {
  display: block;
  padding: 15px 25px;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  border-left: 4px solid transparent;
  font-weight: 500;
  font-size: 1.05rem;
}

.menu-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-left-color: rgba(255, 255, 255, 0.8);
  padding-left: 30px;
}

.menu-item.active {
  background: rgba(255, 255, 255, 0.15);
  border-left-color: white;
}

.menu-icon {
  margin-right: 12px;
  font-size: 1.2rem;
}

/* ============================================
   MAIN CONTENT AREA
   ============================================ */

.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
}

.header {
  background: linear-gradient(135deg, #16a5cb 0%, #0e7a9a 100%);
  color: white;
  padding: 30px;
  text-align: center;
  position: relative;
  height: 170px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.header p {
  opacity: 0.9;
  font-size: 1.1rem;
}

.signout-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 8px 16px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.signout-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-1px);
  color: white;
  text-decoration: none;
}

.content {
  padding: 40px;
  flex: 1;
}

.content.background {
  background: #f8f9fa;
}

/* ============================================
   BREADCRUMB NAVIGATION
   ============================================ */

.breadcrumb {
  margin-bottom: 20px;
  padding: 10px 0;
}

.breadcrumb a {
  color: #16a5cb;
  text-decoration: none;
  margin-right: 10px;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb::after {
  content: " > ";
  color: #6c757d;
  margin: 0 5px;
}

.breadcrumb:last-child::after {
  content: "";
}

/* ============================================
   ALERTS & FLASH MESSAGES
   ============================================ */

.alert {
  padding: 15px 20px;
  margin-bottom: 20px;
  border-radius: 10px;
  font-weight: 500;
}

.alert-success {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: white;
  border: none;
}

.alert-warning {
  background: linear-gradient(135deg, #ffc107 0%, #fd7e14 100%);
  color: white;
  border: none;
}

.alert-danger,
.alert-error {
  background: linear-gradient(135deg, #dc3545 0%, #e83e8c 100%);
  color: white;
  border: none;
}

.flash-messages {
  margin-bottom: 30px;
}

.flash-message {
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 10px;
  background: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
  font-weight: 500;
}

/* ============================================
   STATS & CARDS
   ============================================ */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.stat-card {
  background: white;
  padding: 25px;
  border-radius: 15px;
  text-align: center;
  border: 1px solid #e9ecef;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-3px);
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 700;
  color: #16a5cb;
  margin-bottom: 8px;
}

.stat-label {
  color: #6c757d;
  font-weight: 500;
  font-size: 0.95rem;
}

/* ============================================
   WELCOME SECTION
   ============================================ */

.welcome-section {
  text-align: center;
  margin-bottom: 40px;
}

.welcome-section h2 {
  color: #333;
  font-size: 2rem;
  margin-bottom: 15px;
}

.welcome-section p {
  color: #666;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ============================================
   ADMIN GRID & CARDS
   ============================================ */

.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.admin-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid #f8f9fa;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.admin-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  border-color: #16a5cb;
}

.card-header {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 25px;
  text-align: center;
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 15px;
  display: block;
}

.card-header h3 {
  color: #495057;
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.card-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.card-content p {
  color: #6c757d;
  margin-bottom: 25px;
  line-height: 1.6;
  font-size: 1rem;
  flex: 1;
}

/* ============================================
   FORMS
   ============================================ */

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
  color: #495057;
  font-size: 1rem;
}

.form-control,
.form-select,
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  font-size: 16px;
  transition: all 0.3s ease;
  background: white;
}

.form-control:focus,
.form-select:focus,
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #16a5cb;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
  min-height: 100px;
  resize: vertical;
}

.form-section {
  margin-bottom: 30px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 10px;
}

.form-section h3 {
  margin-bottom: 20px;
  color: #495057;
  border-bottom: 2px solid #dee2e6;
  padding-bottom: 10px;
}


/* ============================================
   BUTTONS
   ============================================ */

.btn {
  padding: 12px 25px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, #16a5cb 0%, #0e7a9a 100%);
  color: white;
  padding: 15px 30px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.btn-primary:disabled {
  background: #6c757d;
  cursor: not-allowed;
  transform: none;
}

.btn-success {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: white;
}

.btn-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(40, 167, 69, 0.3);
}



.btn-danger {
  background: linear-gradient(135deg, #dc3545 0%, #e83e8c 100%);
  color: white;
}

.btn-danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(220, 53, 69, 0.3);
}

.btn-sm {
  padding: 6px 12px;
  font-size: 0.75rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-outline {
  background: transparent;
  border: 2px solid #16a5cb;
  color: #16a5cb;
}

.btn-outline:hover {
  background: #16a5cb;
  color: white;
}

.button-group {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #dee2e6;
}

/* ============================================
   SCRAPER FORMS
   ============================================ */

/* ============================================
   LOADING SPINNERS
   ============================================ */

.loading-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid transparent;
  border-top: 2px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  display: none;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.loading-message {
  margin-top: 15px;
  padding: 10px 15px;
  background: #e7f3ff;
  border: 1px solid #b3d9ff;
  border-radius: 8px;
  color: #0066cc;
  font-weight: 500;
  display: none;
}

.loading {
  text-align: center;
  padding: 40px;
  color: #6c757d;
}

.spinner {
  border: 3px solid #f3f3f3;
  border-top: 3px solid #16a5cb;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 1s linear infinite;
  margin: 0 auto 15px;
}

/* ============================================
   ACTION SECTIONS
   ============================================ */

.action-section {
  background: white;
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.action-section h2 {
  color: #333;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.action-card {
  background: #f8f9fa;
  padding: 25px;
  border-radius: 12px;
  border: 1px solid #e9ecef;
}

.action-card h3 {
  color: #495057;
  margin-bottom: 15px;
  font-size: 1.2rem;
}

/* ============================================
   ARTISTS SECTION
   ============================================ */

.artists-section {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.artists-section h2 {
  color: #333;
  margin-bottom: 25px;
  font-size: 1.5rem;
}

.artists-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.artist-card {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 20px;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
}

.artist-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border-color: #16a5cb;
}

.artist-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.artist-image {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
}

.artist-placeholder {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #6c757d;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  color: white;
  font-size: 1.2rem;
}

.artist-info h3 {
  color: #333;
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.artist-meta {
  color: #6c757d;
  font-size: 0.9rem;
}

.artist-tags {
  margin-bottom: 15px;
}

.tag {
  display: inline-block;
  background: #16a5cb;
  color: white;
  padding: 4px 8px;
  border-radius: 15px;
  font-size: 0.8rem;
  margin-right: 5px;
  margin-bottom: 5px;
}



.artist-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 15px;
}

/* ============================================
   ARTICLES SECTION (same as artists)
   ============================================ */

.articles-section {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.articles-section h2 {
  color: #333;
  margin-bottom: 25px;
  font-size: 1.5rem;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.article-card {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 20px;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
}

.article-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border-color: #16a5cb;
}

.article-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.article-image {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
}

.article-placeholder {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #6c757d;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  color: white;
  font-size: 1.2rem;
}

.article-info h3 {
  color: #333;
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.article-meta {
  color: #6c757d;
  font-size: 0.9rem;
}

.article-tags {
  margin-bottom: 15px;
}

.article-description {
  color: #6c757d;
  font-size: 0.9rem;
  line-height: 1.4;
  margin-bottom: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 15px;
}

/* ============================================
   LOCATION DETAILS
   ============================================ */

.location-header {
  display: flex;
  gap: 30px;
  margin-bottom: 40px;
  align-items: flex-start;
}

.location-info {
  flex: 1;
}

.location-info h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #333;
}

.location-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 20px;
}

.meta-item {
  background: #f8f9fa;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  color: #495057;
}

.meta-item strong {
  color: #333;
}

.info-section {
  margin-bottom: 30px;
  padding: 25px;
  background: #f8f9fa;
  border-radius: 15px;
}

.info-section h3 {
  margin-bottom: 15px;
  color: #495057;
  border-bottom: 2px solid #dee2e6;
  padding-bottom: 10px;
}

.info-section p {
  line-height: 1.6;
  color: #333;
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.link-item {
  background: white;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.link-item a {
  color: #16a5cb;
  text-decoration: none;
  font-weight: 500;
}

.link-item a:hover {
  text-decoration: underline;
}

.link-label {
  font-size: 0.9rem;
  color: #6c757d;
  margin-bottom: 5px;
}

.empty-state {
  text-align: center;
  color: #6c757d;
  font-style: italic;
  padding: 20px;
}

.rating-stars {
  color: #ffc107;
  margin-left: 5px;
}

.delete-form {
  display: inline;
}

/* ============================================
   TRANSLATIONS
   ============================================ */

.translations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 25px;
  margin-bottom: 30px;
}

.translation-card {
  background: #f8f9fa;
  border-radius: 15px;
  padding: 25px;
  border: 2px solid #e9ecef;
  transition: all 0.3s ease;
}

.translation-card:hover {
  border-color: #16a5cb;
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.1);
}

.translation-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #dee2e6;
}

.language-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-flag {
  font-size: 1.5rem;
}

.language-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
}

.language-code {
  background: #16a5cb;
  color: white;
  padding: 4px 8px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.translation-actions {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.missing-translation {
  background: #fff3cd;
  border-color: #ffeaa7;
  opacity: 0.8;
}

.missing-translation .translation-header {
  border-bottom-color: #ffeaa7;
}

.missing-translation .language-name {
  color: #856404;
}

.missing-text {
  text-align: center;
  color: #856404;
  font-style: italic;
  padding: 20px;
}

.char-count {
  font-size: 0.8rem;
  color: #6c757d;
  text-align: right;
  margin-top: 5px;
}

.save-all-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

/* ============================================
   MODAL STYLES
   ============================================ */


.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e9ecef;
}

.close:hover {
  color: #333;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
  .container {
    flex-direction: column;
    margin: 10px;
    border-radius: 15px;
  }

  .sidebar {
    width: 100%;
    order: 2;
  }

  .main-content {
    order: 1;
  }

  .content {
    padding: 20px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .action-grid,
  .admin-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .artists-grid,
  .translations-grid {
    grid-template-columns: 1fr;
  }

  .artist-actions {
    gap: 6px;
  }

  .btn-sm {
    padding: 3px 6px;
    font-size: 0.7rem;
  }

  .scraper-form {
    padding: 20px;
  }

  .location-header {
    flex-direction: column;
    text-align: center;
  }

  .button-group {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .save-all-btn {
    position: static;
    width: 100%;
    margin-top: 20px;
  }
}

/* Login page specific styles */
body.login-page {
  background: #16a5cb;
  background-image: none;
  margin: 0;
  padding: 40px 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

/* Password field container styles */
.password-container {
  position: relative;
  display: inline-block;
  width: 85%;
  margin: 10px;
}

.password-container input {
  width: 100%;
  padding-right: 45px;
  margin: 0;
}

.password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 18px;
  color: #666;
  user-select: none;
  transition: color 0.3s ease;
}

.password-toggle:hover {
  color: #333;
}

.password-toggle.active {
  color: #007bff;
}

/* Ensure the password input has the same styling as other inputs */
.password-container input[type="password"],
.password-container input[type="text"] {
  background-color: #f6f6f6;
  border: none;
  color: #0d0d0d;
  padding: 15px 45px 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 5px;
  width: calc(100% - 10px);
  border: 2px solid #f6f6f6;
  border-radius: 5px 5px 5px 5px;
  transition: all 0.5s ease-in-out;
}

.password-container input[type="password"]:focus,
.password-container input[type="text"]:focus {
  background-color: #fff;
  border-bottom: 2px solid #5fbae9;
}

.password-container input[type="password"]:placeholder,
.password-container input[type="text"]:placeholder {
  color: #cccccc;
}

/* Admin heading styles */
.admin-heading {
  color: white;
  font-size: 5.5rem;
  font-weight: 900;
  text-align: center;
  margin: 0 0 60px 0;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  letter-spacing: 2px;
}

/* Override wrapper positioning for better centering */
.wrapper {
  position: relative;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#formContent {
  margin-top: 60px !important;
}

#icon {
  border: 6px solid #4cc9e6;
  border-radius: 50%;
  padding: 10px;
}

/* Location Form Styling */
.location-form {
  background: #f8f9fa;
  padding: 25px;
  border-radius: 15px;
  margin-bottom: 30px;
  border: 1px solid #e9ecef;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #495057;
}


.form-select:focus, .form-input:focus {
  outline: none;
  border-color: #16a5cb;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.form-row .form-group {
  flex: 1;
  margin-bottom: 0;
}

 @media(max-width: 768px) {
  .form-row {
      flex-direction: column;
      gap: 0;
  }
  
  .form-row .form-group {
      margin-bottom: 20px;
  }
}

.btn-primary {
  background: linear-gradient(135deg, #16a5cb 0%, #0e7a9a 100%);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
}

/* Flash Messages */
.flash-messages {
  margin-bottom: 20px;
}

.flash-message {
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 10px;
  background: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
}

.flash-message.error {
  background: #f8d7da;
  border-color: #f5c6cb;
  color: #721c24;
}

/* Locations List */
.locations-list {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  margin-bottom: 30px;
}

.list-header {
  background: #16a5cb;
  color: white;
  padding: 20px;
  font-size: 1.3rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.location-item {
  display: flex;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #e9ecef;
  transition: background-color 0.2s ease;
}

.location-item:hover {
  background: #f8f9fa;
}

.location-item:last-child {
  border-bottom: none;
}

.location-info {
  flex: 1;
  min-width: 0;
}

.location-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
  line-height: 1.3;
}

.location-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  margin-bottom: 10px;
}

.detail-item {
  font-size: 0.9rem;
  color: #666;
}

.detail-label {
  font-weight: 600;
  color: #495057;
  margin-right: 8px;
}

.location-description {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 8px;
  margin-top: 10px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #555;
  border-left: 4px solid #16a5cb;
}

.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #e9ecef;
}

.btn {
  padding: 8px 16px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  transition: all 0.3s ease;
}

.btn-sm {
  padding: 4px 8px;
  font-size: 0.75rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-outline {
  background: transparent;
  border: 2px solid #16a5cb;
  color: #16a5cb;
}

.btn-outline:hover {
  background: #16a5cb;
  color: white;
  transform: translateY(-1px);
}

.no-data {
  text-align: center;
  padding: 60px 40px;
  color: #6c757d;
  font-style: italic;
  background: #f8f9fa;
  border-radius: 15px;
}

@media (max-width: 768px) {
  .container {
      flex-direction: column;
      margin: 10px;
      border-radius: 15px;
  }
  
  .sidebar {
      width: 100%;
      order: 2;
  }
  
  .main-content {
      order: 1;
  }
  
  .content {
      padding: 20px;
  }
  
  .location-item {
      flex-direction: column;
      align-items: flex-start;
      gap: 15px;
  }
  
  .location-details {
      grid-template-columns: 1fr;
      gap: 8px;
  }
}

/* Location detail page styles */
.location-header {
  display: flex;
  gap: 30px;
  margin-bottom: 40px;
  align-items: flex-start;
}

.location-info {
  flex: 1;
}

.location-info h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #333;
}

.location-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 20px;
}

.meta-item {
  background: #f8f9fa;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  color: #495057;
}

.meta-item strong {
  color: #333;
}

.info-section {
  margin-bottom: 30px;
  padding: 25px;
  background: #f8f9fa;
  border-radius: 15px;
}

.info-section h3 {
  margin-bottom: 15px;
  color: #495057;
  border-bottom: 2px solid #dee2e6;
  padding-bottom: 10px;
}

.info-section p {
  line-height: 1.6;
  color: #333;
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.link-item {
  background: white;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.link-item a {
  color: #16a5cb;
  text-decoration: none;
  font-weight: 500;
}

.link-item a:hover {
  text-decoration: underline;
}

.link-label {
  font-size: 0.9rem;
  color: #6c757d;
  margin-bottom: 5px;
}

.button-group {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #dee2e6;
}

.btn {
  padding: 12px 25px;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  transition: all 0.3s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #16a5cb 0%, #0e7a9a 100%);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.btn-danger {
  background: linear-gradient(135deg, #dc3545 0%, #e83e8c 100%);
  color: white;
}

.btn-danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(220, 53, 69, 0.3);
}



.delete-form {
  display: inline;
}

.empty-state {
  text-align: center;
  color: #6c757d;
  font-style: italic;
  padding: 20px;
}

.rating-stars {
  color: #ffc107;
  margin-left: 5px;
}

/* Form edit pages */
.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #16a5cb;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
  min-height: 100px;
  resize: vertical;
}

.form-section {
  margin-bottom: 30px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 10px;
}

.form-section h3 {
  margin-bottom: 20px;
  color: #495057;
  border-bottom: 2px solid #dee2e6;
  padding-bottom: 10px;
}

.button-group {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #dee2e6;
}

.btn {
  padding: 12px 25px;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  transition: all 0.3s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #16a5cb 0%, #0e7a9a 100%);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}



.breadcrumb {
  margin-bottom: 20px;
  padding: 10px 0;
}

.breadcrumb a {
  color: #16a5cb;
  text-decoration: none;
  margin-right: 10px;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb::after {
  content: " > ";
  color: #6c757d;
  margin: 0 5px;
}

.breadcrumb:last-child::after {
  content: "";
}


/* Translations page */
.translations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 25px;
  margin-bottom: 30px;
}

.translation-card {
  background: #f8f9fa;
  border-radius: 15px;
  padding: 25px;
  border: 2px solid #e9ecef;
  transition: all 0.3s ease;
}

.translation-card:hover {
  border-color: #16a5cb;
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.1);
}

.translation-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #dee2e6;
}

.language-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-flag {
  font-size: 1.5rem;
}

.language-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
}

.language-code {
  background: #16a5cb;
  color: white;
  padding: 4px 8px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
}

.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 14px;
  min-height: 120px;
  resize: vertical;
  transition: all 0.3s ease;
  font-family: inherit;
}

.form-group textarea:focus {
  outline: none;
  border-color: #16a5cb;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.translation-actions {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.btn {
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  transition: all 0.3s ease;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 12px;
}

.btn-primary {
  background: linear-gradient(135deg, #16a5cb 0%, #0e7a9a 100%);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.btn-danger {
  background: linear-gradient(135deg, #dc3545 0%, #e83e8c 100%);
  color: white;
}

.btn-danger:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
}


.btn-success {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: white;
}

.btn-success:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

.missing-translation {
  background: #fff3cd;
  border-color: #ffeaa7;
  opacity: 0.8;
}

.missing-translation .translation-header {
  border-bottom-color: #ffeaa7;
}

.missing-translation .language-name {
  color: #856404;
}

.missing-text {
  text-align: center;
  color: #856404;
  font-style: italic;
  padding: 20px;
}

.button-group {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #dee2e6;
}

.char-count {
  font-size: 0.8rem;
  color: #6c757d;
  text-align: right;
  margin-top: 5px;
}

.save-all-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}


/* Artist detail page */
.artist-header {
  display: flex;
  gap: 30px;
  margin-bottom: 40px;
  align-items: flex-start;
}

.artist-image {
  flex-shrink: 0;
}

.artist-image img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.artist-image .placeholder {
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6c757d;
  font-size: 3rem;
}

.artist-info {
  flex: 1;
}

.artist-info h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #333;
}

.artist-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 20px;
}

.meta-item {
  background: #f8f9fa;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  color: #495057;
}

.meta-item strong {
  color: #333;
}

.info-section {
  margin-bottom: 30px;
  padding: 25px;
  background: #f8f9fa;
  border-radius: 15px;
}

.info-section h3 {
  margin-bottom: 15px;
  color: #495057;
  border-bottom: 2px solid #dee2e6;
  padding-bottom: 10px;
}

.info-section p {
  line-height: 1.6;
  color: #333;
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.link-item {
  background: white;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.link-item a {
  color: #16a5cb;
  text-decoration: none;
  font-weight: 500;
}

.link-item a:hover {
  text-decoration: underline;
}

.link-item .link-label {
  font-size: 0.9rem;
  color: #6c757d;
  margin-bottom: 5px;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
}

.social-item {
  background: white;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.social-item a {
  color: #16a5cb;
  text-decoration: none;
  font-weight: 500;
}

.social-item .social-label {
  font-size: 0.9rem;
  color: #6c757d;
  margin-bottom: 5px;
}

.button-group {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #dee2e6;
}

.btn {
  padding: 12px 25px;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  transition: all 0.3s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #16a5cb 0%, #0e7a9a 100%);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.btn-danger {
  background: linear-gradient(135deg, #dc3545 0%, #e83e8c 100%);
  color: white;
}

.btn-danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(220, 53, 69, 0.3);
}



.delete-form {
  display: inline;
}

.empty-state {
  text-align: center;
  color: #6c757d;
  font-style: italic;
  padding: 20px;
}

@media (max-width: 768px) {
  .artist-header {
      flex-direction: column;
      text-align: center;
  }

  .artist-image img,
  .artist-image .placeholder {
      width: 150px;
      height: 150px;
  }

  .button-group {
      flex-direction: column;
  }

  .btn {
      width: 100%;
  }
}

.sidebar-header {
padding: 30px 25px;
border-bottom: 1px solid rgba(255, 255, 255, 0.2);
height: 170px;
display: flex;
flex-direction: column;
justify-content: center;
}

.sidebar-header h1 {
font-size: 1.8rem;
margin-bottom: 8px;
font-weight: 700;
}

.sidebar-header p {
opacity: 0.9;
font-size: 0.95rem;
}

.sidebar-menu {
padding: 20px 0;
}

.menu-item {
display: block;
padding: 15px 25px;
color: white;
text-decoration: none;
transition: all 0.3s ease;
border-left: 4px solid transparent;
font-weight: 500;
font-size: 1.05rem;
}

.menu-item:hover {
background: rgba(255, 255, 255, 0.1);
border-left-color: rgba(255, 255, 255, 0.8);
padding-left: 30px;
}

.menu-item.active {
background: rgba(255, 255, 255, 0.15);
border-left-color: white;
}

.menu-icon {
margin-right: 12px;
font-size: 1.2rem;
}

.main-content {
flex: 1;
display: flex;
flex-direction: column;
}

.header {
background: linear-gradient(135deg, #16a5cb 0%, #0e7a9a 100%);
color: white;
padding: 30px;
text-align: center;
position: relative;
height: 170px;
box-sizing: border-box;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}

.signout-btn {
position: absolute;
top: 20px;
right: 30px;
background: rgba(255, 255, 255, 0.2);
color: white;
border: 1px solid rgba(255, 255, 255, 0.3);
padding: 8px 16px;
border-radius: 20px;
text-decoration: none;
font-size: 0.9rem;
font-weight: 500;
transition: all 0.3s ease;
backdrop-filter: blur(10px);
}

.signout-btn:hover {
background: rgba(255, 255, 255, 0.3);
border-color: rgba(255, 255, 255, 0.5);
transform: translateY(-1px);
color: white;
text-decoration: none;
}

.header h1 {
font-size: 2.5rem;
margin-bottom: 10px;
}

.header p {
opacity: 0.9;
font-size: 1.1rem;
}

.content {
padding: 40px;
flex: 1;
background: #f8f9fa;
}

.alert {
padding: 15px 20px;
margin-bottom: 20px;
border-radius: 10px;
font-weight: 500;
}

.alert-success {
background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
color: white;
border: none;
}

.alert-warning {
background: linear-gradient(135deg, #ffc107 0%, #fd7e14 100%);
color: white;
border: none;
}

.alert-danger {
background: linear-gradient(135deg, #dc3545 0%, #e83e8c 100%);
color: white;
border: none;
}

.stats-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 20px;
margin-bottom: 30px;
}

.stat-card {
background: white;
padding: 25px;
border-radius: 15px;
text-align: center;
border: 1px solid #e9ecef;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
transition: transform 0.3s ease;
}

.stat-card:hover {
transform: translateY(-3px);
}

.stat-number {
font-size: 2.2rem;
font-weight: 700;
color: #16a5cb;
margin-bottom: 8px;
}

.stat-label {
color: #6c757d;
font-weight: 500;
font-size: 0.95rem;
}

.action-section {
background: white;
border-radius: 15px;
padding: 30px;
margin-bottom: 30px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.action-section h2 {
color: #333;
margin-bottom: 20px;
font-size: 1.5rem;
}

.action-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 25px;
}

.action-card {
background: #f8f9fa;
padding: 25px;
border-radius: 12px;
border: 1px solid #e9ecef;
}

.action-card h3 {
color: #495057;
margin-bottom: 15px;
font-size: 1.2rem;
}

.form-group {
margin-bottom: 20px;
}

.form-control {
width: 100%;
padding: 12px 15px;
border: 2px solid #e9ecef;
border-radius: 8px;
font-size: 16px;
transition: border-color 0.3s ease;
background: white;
}

.form-control:focus {
outline: none;
border-color: #16a5cb;
box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.btn {
padding: 12px 25px;
border-radius: 8px;
font-size: 16px;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
text-decoration: none;
display: inline-block;
text-align: center;
border: none;
}

.btn-primary {
background: linear-gradient(135deg, #16a5cb 0%, #0e7a9a 100%);
color: white;
}

.btn-primary:hover {
transform: translateY(-2px);
box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.btn-success {
background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
color: white;
}

.btn-success:hover {
transform: translateY(-2px);
box-shadow: 0 8px 20px rgba(40, 167, 69, 0.3);
}

.artists-section {
background: white;
border-radius: 15px;
padding: 30px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.artists-section h2 {
color: #333;
margin-bottom: 25px;
font-size: 1.5rem;
}

.artists-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 20px;
}

.artist-card {
background: #f8f9fa;
border-radius: 12px;
padding: 20px;
border: 1px solid #e9ecef;
transition: all 0.3s ease;
}

.artist-card:hover {
transform: translateY(-2px);
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
border-color: #16a5cb;
}

.artist-header {
display: flex;
align-items: center;
margin-bottom: 15px;
}

.artist-image {
width: 50px;
height: 50px;
border-radius: 50%;
object-fit: cover;
margin-right: 15px;
}


.artist-info h3 {
color: #333;
margin-bottom: 5px;
font-size: 1.1rem;
}

.artist-meta {
color: #6c757d;
font-size: 0.9rem;
}

.artist-tags {
margin-bottom: 15px;
}


.tag.origin {
background: #28a745;
}

.artist-description {
color: #6c757d;
font-size: 0.9rem;
line-height: 1.4;
margin-bottom: 15px;
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
overflow: hidden;
}

.artist-actions {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-top: 15px;
}

.btn-sm {
padding: 4px 8px;
font-size: 0.75rem;
white-space: nowrap;
flex-shrink: 0;
}

.btn-outline {
background: transparent;
border: 2px solid #16a5cb;
color: #16a5cb;
}

.btn-outline:hover {
background: #16a5cb;
color: white;
}

.modal {
display: none;
position: fixed;
z-index: 1000;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5);
}

.modal.show {
display: flex;
align-items: center;
justify-content: center;
}


.modal-title {
font-size: 1.5rem;
color: #333;
margin: 0;
}

.close {
position: absolute;
top: 15px;
right: 20px;
font-size: 1.5rem;
cursor: pointer;
color: #6c757d;
background: none;
border: none;
}

.close:hover {
color: #333;
}

.loading {
text-align: center;
padding: 40px;
color: #6c757d;
}

.spinner {
border: 3px solid #f3f3f3;
border-top: 3px solid #16a5cb;
border-radius: 50%;
width: 30px;
height: 30px;
animation: spin 1s linear infinite;
margin: 0 auto 15px;
}

@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}

@media (max-width: 768px) {
.container {
flex-direction: column;
margin: 10px;
border-radius: 15px;
}

.sidebar {
width: 100%;
order: 2;
}

.main-content {
order: 1;
}

.content {
padding: 20px;
}

.stats-grid {
grid-template-columns: repeat(2, 1fr);
gap: 15px;
}

.action-grid {
grid-template-columns: 1fr;
gap: 20px;
}

.artists-grid {
grid-template-columns: 1fr;
}

.artist-actions {
gap: 6px;
}

.btn-sm {
padding: 3px 6px;
font-size: 0.7rem;
}
}

.header {
background: linear-gradient(135deg, #16a5cb 0%, #0e7a9a 100%);
color: white;
padding: 30px;
text-align: center;
height: 170px;
box-sizing: border-box;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}

.header h1 {
font-size: 2.5rem;
margin-bottom: 10px;
}

.header p {
opacity: 0.9;
font-size: 1.1rem;
}

.content {
padding: 40px;
}

.alert {
padding: 15px 20px;
margin-bottom: 20px;
border-radius: 10px;
font-weight: 500;
}

.alert-success {
background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
color: white;
}

.alert-error {
background: linear-gradient(135deg, #dc3545 0%, #e83e8c 100%);
color: white;
}

.form-group {
margin-bottom: 25px;
}

.form-group label {
display: block;
margin-bottom: 8px;
font-weight: 600;
color: #333;
}

.form-group input,
.form-group textarea {
width: 100%;
padding: 12px 15px;
border: 2px solid #e9ecef;
border-radius: 10px;
font-size: 16px;
transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
outline: none;
border-color: #16a5cb;
box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
min-height: 100px;
resize: vertical;
}

.form-section {
margin-bottom: 30px;
padding: 20px;
background: #f8f9fa;
border-radius: 10px;
}

.form-section h3 {
margin-bottom: 20px;
color: #495057;
border-bottom: 2px solid #dee2e6;
padding-bottom: 10px;
}

.button-group {
display: flex;
gap: 15px;
justify-content: flex-end;
margin-top: 30px;
padding-top: 20px;
border-top: 1px solid #dee2e6;
}

.btn {
padding: 12px 25px;
border: none;
border-radius: 10px;
font-size: 16px;
font-weight: 600;
cursor: pointer;
text-decoration: none;
display: inline-block;
text-align: center;
transition: all 0.3s ease;
}

.btn-primary {
background: linear-gradient(135deg, #16a5cb 0%, #0e7a9a 100%);
color: white;
}

.btn-primary:hover {
transform: translateY(-2px);
box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.btn-secondary {
background: #6c757d;
color: white;
}

.btn-secondary:hover {
background: #5a6268;
transform: translateY(-2px);
}

.breadcrumb {
margin-bottom: 20px;
padding: 10px 0;
}

.breadcrumb a {
color: #16a5cb;
text-decoration: none;
margin-right: 10px;
}

.breadcrumb a:hover {
text-decoration: underline;
}

.breadcrumb::after {
content: " > ";
color: #6c757d;
margin: 0 5px;
}

.breadcrumb:last-child::after {
content: "";
}

.required {
color: #dc3545;
}