/* line 3, /app/app/assets/stylesheets/settings.scss */
.settings-page {
  background: #f5f7fa;
  min-height: calc(100vh - 60px);
  padding: 20px 0;
}

/* line 10, /app/app/assets/stylesheets/settings.scss */
.settings-sidebar {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  position: sticky;
  top: 80px;
}
/* line 18, /app/app/assets/stylesheets/settings.scss */
.settings-sidebar .sidebar-header {
  padding: 18px 20px;
  border-bottom: 1px solid #eef0f3;
}
/* line 21, /app/app/assets/stylesheets/settings.scss */
.settings-sidebar .sidebar-header h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #364152;
  letter-spacing: 0.3px;
}
/* line 30, /app/app/assets/stylesheets/settings.scss */
.settings-sidebar .settings-nav {
  list-style: none;
  margin: 0;
  padding: 8px 0;
}
/* line 36, /app/app/assets/stylesheets/settings.scss */
.settings-sidebar .settings-nav li a {
  display: flex;
  align-items: center;
  padding: 11px 20px;
  color: #64748b;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  transition: all 0.15s ease;
  border-left: 3px solid transparent;
}
/* line 47, /app/app/assets/stylesheets/settings.scss */
.settings-sidebar .settings-nav li a i {
  width: 20px;
  margin-right: 12px;
  font-size: 14px;
  text-align: center;
}
/* line 54, /app/app/assets/stylesheets/settings.scss */
.settings-sidebar .settings-nav li a:hover {
  background: #f8fafc;
  color: #334155;
}
/* line 60, /app/app/assets/stylesheets/settings.scss */
.settings-sidebar .settings-nav li.active a {
  background: #eff6ff;
  color: #2563eb;
  border-left-color: #2563eb;
  font-weight: 600;
}

/* line 72, /app/app/assets/stylesheets/settings.scss */
.settings-content .settings-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  margin-bottom: 20px;
  display: none;
}
/* line 79, /app/app/assets/stylesheets/settings.scss */
.settings-content .settings-card.active {
  display: block;
}
/* line 83, /app/app/assets/stylesheets/settings.scss */
.settings-content .settings-card .card-header {
  padding: 18px 24px;
  border-bottom: 1px solid #eef0f3;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
/* line 90, /app/app/assets/stylesheets/settings.scss */
.settings-content .settings-card .card-header h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #1e293b;
}
/* line 98, /app/app/assets/stylesheets/settings.scss */
.settings-content .settings-card .card-header .card-actions .btn {
  padding: 6px 14px;
  font-size: 12.5px;
  border-radius: 6px;
}
/* line 106, /app/app/assets/stylesheets/settings.scss */
.settings-content .settings-card .card-body {
  padding: 24px;
}
/* line 110, /app/app/assets/stylesheets/settings.scss */
.settings-content .settings-card .card-footer {
  padding: 16px 24px;
  border-top: 1px solid #eef0f3;
  background: #fafbfc;
  border-radius: 0 0 8px 8px;
  text-align: right;
}

/* line 121, /app/app/assets/stylesheets/settings.scss */
.settings-section {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f1f3f5;
}
/* line 126, /app/app/assets/stylesheets/settings.scss */
.settings-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
/* line 132, /app/app/assets/stylesheets/settings.scss */
.settings-section .section-title {
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

/* line 144, /app/app/assets/stylesheets/settings.scss */
.settings-card .form-group {
  margin-bottom: 16px;
}
/* line 148, /app/app/assets/stylesheets/settings.scss */
.settings-card label {
  font-size: 13px;
  font-weight: 500;
  color: #475569;
  margin-bottom: 5px;
}
/* line 155, /app/app/assets/stylesheets/settings.scss */
.settings-card .form-control {
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 13.5px;
  color: #334155;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
/* line 163, /app/app/assets/stylesheets/settings.scss */
.settings-card .form-control:focus {
  border-color: #93c5fd;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  outline: none;
}
/* line 170, /app/app/assets/stylesheets/settings.scss */
.settings-card .help-text {
  font-size: 12px;
  color: #94a3b8;
  margin-top: 4px;
}

/* line 178, /app/app/assets/stylesheets/settings.scss */
.dept-profile {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}
/* line 183, /app/app/assets/stylesheets/settings.scss */
.dept-profile .dept-logo {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid #e2e8f0;
}
/* line 191, /app/app/assets/stylesheets/settings.scss */
.dept-profile .dept-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* line 198, /app/app/assets/stylesheets/settings.scss */
.dept-profile .dept-info {
  flex: 1;
}
/* line 201, /app/app/assets/stylesheets/settings.scss */
.dept-profile .dept-info h3 {
  font-size: 18px;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 4px;
}
/* line 208, /app/app/assets/stylesheets/settings.scss */
.dept-profile .dept-info .dept-address {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 12px;
}

/* line 216, /app/app/assets/stylesheets/settings.scss */
.dept-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
  margin-top: 20px;
}
/* line 222, /app/app/assets/stylesheets/settings.scss */
.dept-details-grid .detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #f1f3f5;
}
/* line 229, /app/app/assets/stylesheets/settings.scss */
.dept-details-grid .detail-item .detail-label {
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
}
/* line 235, /app/app/assets/stylesheets/settings.scss */
.dept-details-grid .detail-item .detail-value {
  font-size: 13px;
  color: #1e293b;
  font-weight: 600;
}

/* line 244, /app/app/assets/stylesheets/settings.scss */
.toggle-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
/* line 249, /app/app/assets/stylesheets/settings.scss */
.toggle-grid .toggle-item {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  background: #f8fafc;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}
/* line 257, /app/app/assets/stylesheets/settings.scss */
.toggle-grid .toggle-item label {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  color: #475569;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}
/* line 268, /app/app/assets/stylesheets/settings.scss */
.toggle-grid .toggle-item input[type="checkbox"] {
  width: 16px;
  height: 16px;
}

/* line 276, /app/app/assets/stylesheets/settings.scss */
.template-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 12px;
  transition: border-color 0.15s ease;
}
/* line 284, /app/app/assets/stylesheets/settings.scss */
.template-item:hover {
  border-color: #cbd5e1;
}
/* line 288, /app/app/assets/stylesheets/settings.scss */
.template-item .template-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
/* line 294, /app/app/assets/stylesheets/settings.scss */
.template-item .template-header .template-label {
  font-size: 13.5px;
  font-weight: 600;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 8px;
}
/* line 304, /app/app/assets/stylesheets/settings.scss */
.template-item textarea {
  width: 100%;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 13px;
  color: #334155;
  resize: vertical;
  min-height: 50px;
  font-family: inherit;
}
/* line 315, /app/app/assets/stylesheets/settings.scss */
.template-item textarea:focus {
  border-color: #93c5fd;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  outline: none;
}
/* line 322, /app/app/assets/stylesheets/settings.scss */
.template-item .template-vars {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
/* line 328, /app/app/assets/stylesheets/settings.scss */
.template-item .template-vars .var-tag {
  display: inline-block;
  padding: 2px 8px;
  background: #e0e7ff;
  color: #3730a3;
  border-radius: 4px;
  font-size: 11.5px;
  font-family: monospace;
  cursor: pointer;
  transition: background 0.15s ease;
}
/* line 339, /app/app/assets/stylesheets/settings.scss */
.template-item .template-vars .var-tag:hover {
  background: #c7d2fe;
}

/* line 348, /app/app/assets/stylesheets/settings.scss */
.settings-card .btn-save {
  background: #2563eb;
  color: #fff;
  border: none;
  padding: 9px 24px;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 600;
  transition: background 0.15s ease;
}
/* line 358, /app/app/assets/stylesheets/settings.scss */
.settings-card .btn-save:hover {
  background: #1d4ed8;
}

/* line 366, /app/app/assets/stylesheets/settings.scss */
.weekend-section .weekend-form {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  margin-bottom: 20px;
}
/* line 372, /app/app/assets/stylesheets/settings.scss */
.weekend-section .weekend-form .form-group {
  margin: 0;
  flex: 1;
}
/* line 377, /app/app/assets/stylesheets/settings.scss */
.weekend-section .weekend-form .btn {
  border-radius: 6px;
  white-space: nowrap;
}

/* line 386, /app/app/assets/stylesheets/settings.scss */
.settings-card .table {
  margin-bottom: 0;
}
/* line 389, /app/app/assets/stylesheets/settings.scss */
.settings-card .table th {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid #e2e8f0;
  padding: 10px 16px;
  background: #f8fafc;
}
/* line 400, /app/app/assets/stylesheets/settings.scss */
.settings-card .table td {
  padding: 12px 16px;
  font-size: 13.5px;
  color: #334155;
  vertical-align: middle;
  border-bottom: 1px solid #f1f3f5;
}

/* line 411, /app/app/assets/stylesheets/settings.scss */
.provider-section {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 16px;
}
/* line 418, /app/app/assets/stylesheets/settings.scss */
.provider-section .provider-title {
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
/* line 429, /app/app/assets/stylesheets/settings.scss */
.provider-section .provider-title i {
  font-size: 14px;
}

@media (max-width: 991px) {
  /* line 437, /app/app/assets/stylesheets/settings.scss */
  .settings-sidebar {
    position: static;
    margin-bottom: 20px;
  }
  /* line 441, /app/app/assets/stylesheets/settings.scss */
  .settings-sidebar .settings-nav {
    display: flex;
    flex-wrap: wrap;
    padding: 8px;
  }
  /* line 446, /app/app/assets/stylesheets/settings.scss */
  .settings-sidebar .settings-nav li a {
    padding: 8px 14px;
    font-size: 12.5px;
    border-left: none;
    border-radius: 6px;
  }
  /* line 453, /app/app/assets/stylesheets/settings.scss */
  .settings-sidebar .settings-nav li.active a {
    border-left: none;
  }

  /* line 459, /app/app/assets/stylesheets/settings.scss */
  .dept-details-grid,
  .toggle-grid {
    grid-template-columns: 1fr;
  }
}
