/* ============================================
   Clinera Settings Pages - Specific Styles
   Uses global styles from clinera-theme.css
   ============================================ */

/* Settings Navigation Tabs */
.settings-tabs {
  border-bottom: none;
  margin-bottom: 10px;
  background: #f5f7fa;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  padding: 8px;
  display: flex;
  gap: 6px;
  justify-content: center;
  width: 100%;
}

.settings-tabs li {
  margin-bottom: 0;
  flex: 1;
  max-width: 250px;
}

.settings-tabs li a {
  border: none !important;
  padding: 12px 20px;
  color: #5a6c7d;
  font-weight: 500;
  transition: all 0.25s ease;
  border-radius: 8px;
  position: relative;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  width: 100%;
}

.settings-tabs li a:hover {
  background: rgba(255, 255, 255, 0.6);
  color: #032a4a;
}

.settings-tabs li a i {
  margin-right: 8px;
  font-size: 16px;
}

.settings-tabs li.active a {
  color: #fff;
  background: linear-gradient(135deg, #032a4a 0%, #0f5e71 100%);
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(3, 42, 74, 0.25);
}

.settings-tabs li.active a:hover {
  background: linear-gradient(135deg, #021d33 0%, #0d4f5d 100%);
  color: #fff;
}

/* Settings Page Header with Gradient */
.page-header-modern {
  background: linear-gradient(135deg, #032a4a 0%, #0f5e71 50%, #1fa08d 100%);
  color: #fff;
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(3, 42, 74, 0.2);
  margin-bottom: 5px;
  position: relative;
  overflow: hidden;
}

.page-header-modern::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.page-header-modern h1 {
  margin: 0 0 8px 0;
  font-size: 32px;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.page-header-modern h1 i {
  margin-right: 12px;
  opacity: 0.9;
}

.page-header-modern h5 {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
  position: relative;
  z-index: 1;
}

/* Settings-specific search styling (uses search-wrapper classes from clinera-theme.css) */
.modern-search-box {
  position: relative;
  width: 300px;
}

.modern-search-box input {
  width: 100%;
  padding: 10px 15px 10px 40px;
  border-radius: 25px;
  border: 1px solid #e0e0e0;
  background: #f8f9fa;
  transition: all 0.3s ease;
}

.modern-search-box input:focus {
  background: #fff;
  border-color: #5cdb94;
  box-shadow: 0 4px 12px rgba(92, 219, 148, 0.15);
  outline: none;
}

.modern-search-box .search-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #adb5bd;
  transition: color 0.3s ease;
}

.modern-search-box input:focus + .search-icon {
  color: #5cdb94;
}

.modern-search-wrapper {
  position: relative;
  width: 280px;
  display: inline-block;
}

.modern-search-wrapper input {
  width: 100%;
  padding: 10px 15px 10px 40px;
  border-radius: 25px;
  border: 1px solid #e0e0e0;
  background: #f8f9fa;
  transition: all 0.3s ease;
  height: 40px;
  font-size: 14px;
}

.modern-search-wrapper input:focus {
  background: #fff;
  border-color: #5cdb94;
  box-shadow: 0 4px 12px rgba(92, 219, 148, 0.15);
  outline: none;
}

.modern-search-wrapper .search-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #adb5bd;
  transition: color 0.3s ease;
}

.modern-search-wrapper input:focus + .search-icon {
  color: #5cdb94;
}

/* Analytics Info Boxes */
.info-box {
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.info-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.info-box-icon {
  border-radius: 12px 0 0 12px;
}

/* Password Change Page */
.password-change-card {
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e8ecef;
  background: #fff;
  overflow: hidden;
}

.password-change-card .box-header {
  background: linear-gradient(135deg, #032a4a 0%, #0f5e71 50%, #1fa08d 100%);
  color: #fff;
  padding: 24px 28px;
  border-bottom: none;
}

.password-change-card .box-header h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
}

.password-change-card .box-body {
  padding: 32px 28px;
}

.password-change-card .form-group label {
  font-weight: 600;
  color: #032a4a;
  margin-bottom: 8px;
}

.requirements-box {
  background: #fff5f5;
  border: 1px solid #feb2b2;
  border-radius: 8px;
  padding: 20px;
  margin-top: 24px;
}

.requirements-box ul {
  margin: 10px 0 0 0;
  padding-left: 20px;
}

.requirements-box li {
  margin-bottom: 8px;
  color: #c53030;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .settings-tabs {
    padding: 6px;
    gap: 4px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .settings-tabs li a {
    padding: 10px 16px;
    font-size: 14px;
  }
  
  .page-header-modern {
    padding: 24px;
  }
  
  .page-header-modern h1 {
    font-size: 24px;
  }
  
  .page-header-modern h5 {
    font-size: 14px;
  }
  
  .modern-search-box,
  .modern-search-wrapper {
    width: 100%;
    max-width: 280px;
  }
}

@media (max-width: 576px) {
  .settings-tabs li a {
    padding: 8px 12px;
  }
  
  .settings-tabs li a i {
    margin-right: 4px;
    font-size: 14px;
  }
  
  .page-header-modern::before {
    width: 300px;
    height: 300px;
  }
}
