:root {
  /* Dark theme color variables */
  --bg-primary: #181a1b;
  --bg-secondary: #202124;
  --bg-tertiary: #232527;
  --bg-hover: #282a2d;
  --bg-active: #3c4043;
  --accent-freefeature: rgba(26, 115, 232, 0.2);
  --text-primary: #e8eaed;
  --text-secondary: #b0b3b8;
  --text-muted: #888;
  
  --border-primary: #333;
  --border-secondary: #444;
  --border-accent: #555;
  
  --accent-blue: #1a73e8;
  --accent-blue-light: #8ab4f8;
  --accent-green: #34a853;
  --accent-green-light: #81c995;
  --accent-yellow: #fbbc04;
  --accent-red: #ff6d6d;
  --accent-info: #66c7ff;
  
  --shadow-sm: 0 2px 4px rgba(0,0,0,.6);
  --shadow-md: 0 4px 8px rgba(0,0,0,0.3);
  --shadow-lg: 0 8px 16px rgba(0,0,0,0.4);
  
  --transition-base: all 0.2s ease;
  --transition-slow: all 0.3s cubic-bezier(.4,0,.2,1);

   --sidebar-bg: #202124;
  --sidebar-hover: #2d3035; /* Brighter than before */
  --sidebar-active: #3a3d42; /* Adjusted for better contrast */

  --link-color: #8ab4f8; /* Soft blue for links */
  --link-hover: #a8c7fa; /* Lighter blue for hover */
  
  --sidebar-width: 320px; /* Define as variable for easy adjustment */
  --sidebar-collapsed-width: 0;

  /* icon svg urls */
   --icon-video-to-audio: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%238ab4f8' viewBox='0 0 16 16'%3E%3Cpath d='M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z'/%3E%3Cpath d='M6.271 5.055a.5.5 0 0 1 .52.038l3.5 2.5a.5.5 0 0 1 0 .814l-3.5 2.5A.5.5 0 0 1 6 10.5v-5a.5.5 0 0 1 .271-.445z'/%3E%3C/svg%3E");
   --icon-audio-transcription:  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2381c995' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 6.5A.5.5 0 0 1 4 7v1a4 4 0 0 0 8 0V7a.5.5 0 0 1 1 0v1a5 5 0 0 1-4.5 4.975V15h3a.5.5 0 0 1 0 1h-7a.5.5 0 0 1 0-1h3v-2.025A5 5 0 0 1 3 8V7a.5.5 0 0 1 .5-.5z'/%3E%3Cpath d='M10 8a2 2 0 1 1-4 0V3a2 2 0 1 1 4 0v5zM8 0a3 3 0 0 0-3 3v5a3 3 0 0 0 6 0V3a3 3 0 0 0-3-3z'/%3E%3C/svg%3E");
   --icon-mediapool_setup: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fbbc04' viewBox='0 0 16 16'%3E%3Cpath d='M4.502 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3z'/%3E%3Cpath d='M14.002 13a2 2 0 0 1-2 2h-10a2 2 0 0 1-2-2V5A2 2 0 0 1 2 3a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v8a2 2 0 0 1-1.998 2zM14 2H4a1 1 0 0 0-1 1h9.002a2 2 0 0 1 2 2v7A1 1 0 0 0 15 11V3a1 1 0 0 0-1-1zM2 4a1 1 0 0 0-1 1v8l2.646-2.354a.5.5 0 0 1 .63-.062l2.66 1.773 3.71-3.71a.5.5 0 0 1 .577-.094l1.777 1.947V5a1 1 0 0 0-1-1H2z'/%3E%3C/svg%3E"); 
   --icon-arrange-timeline:  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ff6d6d' viewBox='0 0 16 16'%3E%3Cpath d='M14.258 10.46L11 7.188a.5.5 0 0 0-.5-.5h-.5A3.5 3.5 0 0 0 6.5 10V7.188a.5.5 0 0 0-.5-.5h-2a.5.5 0 0 0-.5.5v3.272a.5.5 0 0 0 .5.5h.5a3.5 3.5 0 0 0 3.5 3.5h1.086a.5.5 0 0 0 .5-.5v-1.086a.5.5 0 0 0-.5-.5h-1.086a2.5 2.5 0 0 1-2.5-2.5v-3.272h1.5v3.272a.5.5 0 0 0 .5.5h.5a2.5 2.5 0 0 1 2.5 2.5v1.086a.5.5 0 0 0 .5.5h1.086a2.5 2.5 0 0 1 2.5-2.5h.5a.5.5 0 0 0 .5-.5v-.5a.5.5 0 0 0-.5-.5h-.5a3.5 3.5 0 0 0-3.5-3.5H7.188a.5.5 0 0 0-.5.5v.5a.5.5 0 0 0 .5.5h3.272a.5.5 0 0 1 .5.5v.5a.5.5 0 0 1-.5.5h-3.272a1.5 1.5 0 0 0-1.5 1.5v3.272h1.5v-3.272a.5.5 0 0 1 .5-.5h3.272a.5.5 0 0 0 .5-.5v-.5a.5.5 0 0 0-.5-.5H7.188a2.5 2.5 0 0 1-2.5-2.5v-.5a2.5 2.5 0 0 1 2.5-2.5h5.624a2.5 2.5 0 0 1 2.5 2.5v.5a2.5 2.5 0 0 1-2.5 2.5h-.5a.5.5 0 0 0-.5.5v.5a.5.5 0 0 0 .5.5h.5a1.5 1.5 0 0 0 1.5-1.5v-.5a1.5 1.5 0 0 0-1.5-1.5h-3.272a.5.5 0 0 1-.5-.5v-.5a.5.5 0 0 1 .5-.5h3.272z'/%3E%3C/svg%3E"); 
   --icon-expression-generator: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2366c7ff' viewBox='0 0 16 16'%3E%3Cpath d='M5.921 11.9 1.353 8.62a.719.719 0 0 1 0-1.238L5.921 4.1A.716.716 0 0 1 7 4.719V6c1.5 0 6 0 7 8-2.5-4.5-7-4-7-4v1.281c0 .56-.606.898-1.079.62z'/%3E%3Cpath d='M8.5 1.866a1 1 0 1 0-1 0V3h-2A4.5 4.5 0 0 0 1 7.5V8a1 1 0 0 0-1 1v1a1 1 0 0 0 1 1v.5A4.5 4.5 0 0 0 5.5 16h7a4.5 4.5 0 0 0 4.5-4.5v-.5a1 1 0 0 0 1-1v-1a1 1 0 0 0-1-1v-.5A4.5 4.5 0 0 0 12.5 3h-2V1.866zM4 7.5a3.5 3.5 0 0 1 3.5-3.5h7A3.5 3.5 0 0 1 18 7.5v7a3.5 3.5 0 0 1-3.5 3.5h-7A3.5 3.5 0 0 1 4 14.5v-7z'/%3E%3C/svg%3E");
   --icon-update-current-composition: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23a8c7fa' viewBox='0 0 16 16'%3E%3Cpath d='M8.186 1.113a.5.5 0 0 0-.372 0L1.846 3.5 8 5.961 14.154 3.5 8.186 1.113zM15 4.239l-6.5 2.6v7.922l6.5-2.6V4.24zM7.5 14.762V6.838L1 4.239v7.923l6.5 2.6zM7.443.184a1.5 1.5 0 0 1 1.114 0l7.129 2.852A.5.5 0 0 1 16 3.5v8.662a1 1 0 0 1-.629.928l-7.185 2.874a.5.5 0 0 1-.372 0L.63 13.09a1 1 0 0 1-.63-.928V3.5a.5.5 0 0 1 .314-.464L7.443.184z'/%3E%3C/svg%3E"); 
   --icon-add-subtitle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fbbc04' viewBox='0 0 16 16'%3E%3Cpath d='M2 4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V4zm10-1H4a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1z'/%3E%3Cpath d='M5 6.5A.5.5 0 0 1 5.5 6h3a.5.5 0 0 1 0 1h-3A.5.5 0 0 1 5 6.5zm0 3A.5.5 0 0 1 5.5 9h3a.5.5 0 0 1 0 1h-3A.5.5 0 0 1 5 9.5zm4-6A.5.5 0 0 1 9.5 3h3a.5.5 0 0 1 0 1h-3A.5.5 0 0 1 9 3.5zm0 3A.5.5 0 0 1 9.5 6h3a.5.5 0 0 1 0 1h-3A.5.5 0 0 1 9 6.5z'/%3E%3C/svg%3E"); 
   --icon-video-smart-split:  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ff6d6d' viewBox='0 0 16 16'%3E%3Cpath d='M14 3a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h12zM2 2a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H2z'/%3E%3Cpath d='M5.5 5a.5.5 0 0 0-.5.5v5a.5.5 0 0 0 1 0v-5a.5.5 0 0 0-.5-.5zm5 0a.5.5 0 0 0-.5.5v5a.5.5 0 0 0 1 0v-5a.5.5 0 0 0-.5-.5z'/%3E%3C/svg%3E");
  
  --icon-user-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 16 16'%3E%3Cpath d='M7 14s-1 0-1-1 1-4 5-4 5 3 5 4-1 1-1 1H7zm4-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6z'/%3E%3C/svg%3E");
  --icon-subscription-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 16 16'%3E%3Cpath d='M2 1a1 1 0 0 0-1 1v4.586a1 1 0 0 0 .293.707l7 7a1 1 0 0 0 1.414 0l4.586-4.586a1 1 0 0 0 0-1.414l-7-7A1 1 0 0 0 6.586 1H2zm4 3.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0z'/%3E%3C/svg%3E"); 
  --icon-revenue-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 16 16'%3E%3Cpath d='M12 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2zM8 10a2 2 0 1 1 0-4 2 2 0 0 1 0 4z'/%3E%3C/svg%3E");

  --icon-regenerate_composition:  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2366c7ff' viewBox='0 0 16 16'%3E%3Cpath d='M11.534 7h3.932a.25.25 0 0 1 .192.41l-1.966 2.36a.25.25 0 0 1-.384 0l-1.966-2.36a.25.25 0 0 1 .192-.41zm-11 2h3.932a.25.25 0 0 0 .192-.41L2.692 6.23a.25.25 0 0 0-.384 0L.342 8.59A.25.25 0 0 0 .534 9z'/%3E%3Cpath d='M8 3c-1.552 0-2.94.707-3.857 1.818a.5.5 0 1 1-.771-.636A6.002 6.002 0 0 1 13.917 7H12.9A5.002 5.002 0 0 0 8 3zM3.1 9a5.002 5.002 0 0 0 8.757 2.182.5.5 0 1 1 .771.636A6.002 6.002 0 0 1 2.083 9H3.1z'/%3E%3C/svg%3E");
 
 
--icon-feature_demonstration: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fbbc04' viewBox='0 0 16 16'%3E%3Cpath d='M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16zM7 6.5C7 7.328 6.552 8 6 8s-1-.672-1-1.5S5.448 5 6 5s1 .672 1 1.5zM4.285 9.567a.5.5 0 0 1 .683.183A3.498 3.498 0 0 0 8 11.5a3.498 3.498 0 0 0 3.032-1.75.5.5 0 1 1 .866.5A4.498 4.498 0 0 1 8 12.5a4.498 4.498 0 0 1-3.898-2.25.5.5 0 0 1 .183-.683zM10 8c-.552 0-1-.672-1-1.5S9.448 5 10 5s1 .672 1 1.5S10.552 8 10 8z'/%3E%3C/svg%3E");


}



/* Base Styles */
body {
  padding-top: 0;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
}

/* Typography Enhancements */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  margin-bottom: 1rem;
}

p, li {
  color: var(--text-secondary);
}

a {
  color: var(--link-color);
  text-decoration: none; /* Removes underline by default */
  transition: color 0.2s ease;
}

/* Link Hover States */
a:hover,
a:focus {
  color: var(--link-hover);
  text-decoration: none; /* Ensures no underline appears */
}


/* Navigation */
.navbar {
  background-color: var(--bg-secondary) !important;
  box-shadow: var(--shadow-sm);
  padding: 0.75rem 1rem;
}

.navbar-brand {
  color: var(--text-primary) !important;
  font-weight: 600;
}

.nav-link {
  color: var(--text-secondary) !important;
  
  padding: 0.5rem 1rem !important;
  transition: var(--transition-base);
}

.nav-link:hover, .nav-link:focus {
  color: var(--text-primary) !important;
  text-decoration: none !important;

  background-color: var(--bg-hover);
  border-radius: 4px;
}

.nav-link.active {
  color: var(--text-primary) !important;
  background-color: var(--bg-active);
  font-weight: 500;
}

/* Cards */
.card {
  transition: var(--transition-slow);
  border: none;
  border-radius: 0.5rem;
  background: var(--bg-tertiary);
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.card-header {
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-primary);
  padding: 1rem 1.25rem;
}

.card-body {
  padding: 1.25rem;
}

.card-footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-primary);
  padding: 1rem 1.25rem;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Tables */
.table-responsive {
  border-radius: 0.5rem;
  overflow: hidden;
  background: var(--bg-tertiary);
  box-shadow: var(--shadow-sm);
}

.table {
  margin-bottom: 0;
  color: var(--text-primary);
  background: var(--bg-tertiary);
  border-collapse: separate;
  border-spacing: 0;
}

.table th {
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  font-weight: 600;
  padding: 0.75rem;
  border-bottom: 2px solid var(--border-primary);
}

.table td {
  padding: 0.75rem;
  border-bottom: 1px solid var(--border-primary);
  vertical-align: middle;
}

.table-hover tbody tr:hover {
  background-color: var(--bg-hover);
}

/* Badges */
.badge {
  font-weight: 500;
  padding: 0.35em 0.65em;
  background: var(--bg-active);
  color: var(--text-primary);
  border-radius: 0.25rem;
}

.badge-primary {
  background-color: var(--accent-blue);
}

.badge-success {
  background-color: var(--accent-green);
}

.badge-warning {
  background-color: var(--accent-yellow);
  color: var(--bg-primary);
}

.badge-danger {
  background-color: var(--accent-red);
}

/* Alerts */
.alert {
  border-radius: 0.5rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-secondary);
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
}

.alert-info {
  color: var(--accent-blue-light);
  border-color: var(--accent-blue-light);
}

.alert-warning {
  color: var(--accent-yellow);
  border-color: var(--accent-yellow);
}

.alert-danger {
  color: var(--accent-red);
  border-color: var(--accent-red);
}

.alert-success {
  color: var(--accent-green-light);
  border-color: var(--accent-green-light);
}

/* Layout */
.content-flex-row {
  display: flex;
  width: 100%;
  max-width: none;
  min-height: 60vh;
  gap: 0;
  transition: var(--transition-slow);
}

.sidebar {
  min-height: calc(100vh - 56px);
  background-color: var(--sidebar-bg);
  border-right: 1px solid var(--border-primary);
  color: var(--text-primary);
 
  width: var(--sidebar-width);
  min-width: var(--sidebar-width);

  flex-shrink: 0;
  padding: 1.75rem; /* Increased padding to match */
  box-sizing: border-box;
  transition: var(--transition-slow);
  transition: width 0.3s ease, min-width 0.3s ease;

  overflow-y: auto;
}

.main-content {
  flex: 1;
  background: var(--bg-primary);
  padding: 0rem 2rem;
  min-width: 0;
  min-height: 80vh;
  box-sizing: border-box;
  transition: var(--transition-slow);
  color: var(--text-primary);
}

.content-flex-row.collapsed .sidebar {
  
  /* width: var(--sidebar-collapsed-width);
  min-width: var(--sidebar-collapsed-width); */
  width: 80px !important;
  min-width: 80px !important;
  padding: 0;
  border: none;
  overflow: hidden;
   

  padding: 0.75rem !important; /* Center the icon vertically */
  text-align: center;


}

.content-flex-row.collapsed .list-group-item .menu-item-text {
  display: none !important;
}

.content-flex-row.collapsed .list-group-item::before {
  left: 50% !important;
  transform: translate(-50%, -50%) !important; /* Perfectly center icon */
  margin-left: 0 !important;
}


/* Hide text and badges when collapsed */
.content-flex-row.collapsed .list-group-item span,
.content-flex-row.collapsed .list-group-item .badge {
  display: none;
}

/* Tooltips for collapsed state */
.content-flex-row.collapsed .list-group-item {
  position: relative;
  padding: 1.75rem;

}


.content-flex-row.collapsed .list-group-item:hover::after {
  content: attr(data-service-name);
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  background: var(--bg-tertiary);
  color: var(--text-primary);
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  white-space: nowrap;
  margin-left: 10px;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  border: 1px solid var(--border-primary);
}






.content-flex-row.collapsed .main-content {
  flex: 1 1 100%;
}

/* Sidebar Toggle */
#sidebar-toggle {
  border: none;
  background: transparent;
  font-size: 1.5rem;
  padding: 0.5rem;
  
  cursor: pointer;
  color: var(--text-primary);
  transition: var(--transition-base);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#sidebar-toggle:hover {
  background-color: var(--bg-hover);
}

/* Pricing Plans */
.plan-bg-free {
  background: linear-gradient(135deg, var(--accent-blue) 0%, var(--bg-tertiary) 100%);
  border: 2px solid var(--accent-blue-light);
  color: var(--text-primary);
}

.plan-bg-pro {
  background: linear-gradient(135deg, var(--accent-green) 0%, var(--bg-tertiary) 100%);
  border: 2px solid var(--accent-green-light);
  color: var(--text-primary);
}

.plan-bg-premium {
  background: linear-gradient(135deg, var(--accent-yellow) 0%, var(--bg-tertiary) 100%);
  border: 2px solid var(--accent-yellow);
  color: var(--bg-primary);
}

/* List Groups */
.list-group-item {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  border: none;
  border-bottom: 1px solid var(--border-primary);
  padding: 0.75rem 1.25rem;
  transition: var(--transition-base);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.list-group-item:last-child {
  border-bottom: none;
}

.list-group-item-action:hover {
  background-color: var(--sidebar-hover) !important;
  color: var(--text-primary) !important;
}



.list-group-item-action.active, 
.list-group-item.active {
  background: var(--sidebar-active) !important;
  color: #fff !important;
  font-weight: 500;
}

/* Sidebar Service Menu Icons */
.list-group-item[data-service] {
  position: relative;
  padding-left: 2.5rem !important; /* Make space for icon */
  transition: all 0.2s ease;
}

/* Base icon styling */
.list-group-item[data-service]::before {
  content: "";
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.25rem;
  height: 1.25rem;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.7;
}

/* Video to Audio */
.list-group-item[data-service="video-to-audio"]::before {
  background-image:  var(--icon-video-to-audio);
}

/* Audio Transcription */
.list-group-item[data-service="audio-transcription"]::before {
  background-image:  var(--icon-audio-transcription);
}

/* Media Pool Setup */
.list-group-item[data-service="media-pool-setup"]::before {
  
  background-image: var(--icon-mediapool_setup)
}

/* Arrange Timeline */
.list-group-item[data-service="arrange-timeline"]::before {
    background-image: var(--icon-arrange-timeline)
}

/* Expression Generator */
.list-group-item[data-service="expression-generator"]::before {
  background-image: var(--icon-expression-generator)
}

/* Update Current Composition */
.list-group-item[data-service="update-current-composition"]::before {
    background-image: var(--icon-update-current-composition)
}

/* Add Subtitles */
.list-group-item[data-service="add-subtitles"]::before {
    background-image: var(--icon-add-subtitle)
}

/* Video Smart Split */
.list-group-item[data-service="video-smart-split"]::before {
   background-image: var(--icon-video-smart-split)
}

/* Regenerate Composition Data */
.list-group-item[data-service="regenerate-comp-data"]::before {
   background-image: var(--icon-regenerate_composition)
}

/*Feature Demonistration */
.list-group-item[data-service="feature-demo"]::before {
   background-image: var(--icon-feature_demonstration)
}

/* Hover effects */
.list-group-item[data-service]:hover::before {
  opacity: 1;
  transform: translateY(-50%) scale(1.1);
}

/* Active state */
.list-group-item[data-service].active::before {
  opacity: 1;
  filter: brightness(1.5);
}

/* Adjust badge positioning */
.list-group-item .badge {
  float: right;
  margin-top: 0.15rem;
}





/* Buttons */
.btn {
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-weight: 500;
  transition: var(--transition-base);
}

.btn-primary {
  background-color: var(--accent-blue) !important;
  border-color: var(--accent-blue) !important;
  color: #fff !important;
}

.btn-primary:hover {
  background-color: #1557b0 !important;
  border-color: #1557b0 !important;
}

.btn-outline-primary {
  color: var(--accent-blue-light);
  border-color: var(--accent-blue-light);
}

.btn-outline-primary:hover {
  background: var(--accent-blue);
  color: #fff;
}

.btn-outline-light {
  color: var(--text-primary);
  border-color: var(--border-secondary);
}

.btn-outline-light:hover {
  background: var(--bg-active);
  color: var(--text-primary);
}

.btn-light {
  background: var(--bg-active);
  color: var(--text-primary);
  border: none;
}

.btn-light:hover {
  background: #5f6368;
  color: #fff;
}

.btn-danger {
  background-color: var(--accent-red);
  border-color: var(--accent-red);
}

.btn-danger:hover {
  background-color: #d62c2c;
  border-color: #d62c2c;
}

/* Form Elements */
/* Update form control styles */
.form-label {
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.925rem; /* Slightly smaller than input text */
  margin-bottom: 0.4rem;
  opacity: 0.9; /* Slightly muted but still visible */
}


.form-control, 
.form-select,
textarea,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="date"],
input[type="time"] {
  background: var(--bg-tertiary) !important;
  color: var(--text-primary) !important;
  border: 1px solid var(--border-secondary) !important;
  border-radius: 0.375rem !important;
  padding: 0.5rem 0.75rem !important;
  transition: var(--transition-base) !important;
}


.form-control, 
.form-select,
textarea,
input:not([type="checkbox"], [type="radio"]) {
  color: #fff !important; /* Brighter white for input text */
  font-weight: 400;
  font-size: 1rem; /* Regular size */
  background: var(--bg-tertiary) !important;
  border: 1px solid var(--border-secondary) !important;
}



.form-control:focus, 
.form-select:focus,
textarea:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="date"]:focus,
input[type="time"]:focus {
  background: var(--bg-tertiary) !important;
  color: #fff !important;
  border-color: var(--accent-blue-light) !important;
  box-shadow: 0 0 0 0.25rem rgba(138, 180, 248, 0.25) !important;
  outline: none;
}



/* Make placeholders slightly different */
::placeholder {
  color: var(--text-secondary) !important;
  opacity: 0.7 !important;
}

/* Focus states for better UX */
.form-control:focus, 
.form-select:focus {
  border-color: var(--accent-blue-light) !important;
  box-shadow: 0 0 0 0.2rem rgba(138, 180, 248, 0.15) !important;
}



/* Checkboxes & Radios */
.form-check-input {
  width: 1.125rem;
  height: 1.125rem;
  border: 2px solid var(--border-accent);
  background-color: var(--bg-tertiary);
  transition: var(--transition-base);
  margin-top: 0;
  position: relative;
}

.form-check-input:checked {
  background-color: var(--accent-blue);
  border-color: var(--accent-blue-light);
}

.form-check-input:checked[type="checkbox"] {
  background-image: none;
}

.form-check-input:checked[type="checkbox"]::after {
  content: "";
  position: absolute;
  display: block;
  left: 5px;
  top: 1px;
  width: 4px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.form-check-input:focus {
  box-shadow: 0 0 0 0.25rem rgba(138, 180, 248, 0.25);
  border-color: var(--accent-blue-light);
}

.form-check-label {
  color: var(--text-primary);
  margin-left: 0.5rem;
  cursor: pointer;
  user-select: none;
}

.form-switch .form-check-input {
  width: 2.25rem;
  height: 1.25rem;
}


/* Select Element Styling */
select,
.form-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: var(--bg-tertiary);
  color: var(--text-primary);
  border: 1px solid var(--border-secondary);
  border-radius: 0.375rem;
  padding: 0.625rem 2.5rem 0.625rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23e8eaed' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 12px;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  cursor: pointer;
  width: 100%;
  max-width: 100%;
}

/* Hover State */
select:hover,
.form-select:hover {
  border-color: var(--accent-blue-light);
}

/* Focus State */
select:focus,
.form-select:focus {
  border-color: var(--accent-blue-light);
  box-shadow: 0 0 0 0.25rem rgba(138, 180, 248, 0.25);
  outline: 0;
}

/* Disabled State */
select:disabled,
.form-select:disabled {
  background-color: var(--bg-secondary);
  opacity: 0.7;
  cursor: not-allowed;
}

/* Remove default arrow in IE */
select::-ms-expand {
  display: none;
}

/* Small Select Variant */
select.sm,
.form-select-sm {
  padding: 0.25rem 2rem 0.25rem 0.5rem;
  font-size: 0.875rem;
  background-size: 12px 10px;
}

/* Large Select Variant */
select.lg,
.form-select-lg {
  padding: 0.75rem 3rem 0.75rem 1rem;
  font-size: 1.125rem;
  background-size: 20px 16px;
}

/* Custom Select Wrapper (for better control) */
.select-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
}

.select-wrapper::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0.75rem;
  transform: translateY(-50%);
  pointer-events: none;
}

/* Dark Theme Options */
select option {
  background-color: var(--bg-tertiary);
  color: var(--text-primary);
}

select option:checked {
  background-color: var(--accent-blue);
  color: white;
}

select optgroup {
  background-color: var(--bg-secondary);
  color: var(--text-secondary);
  font-style: normal;
  font-weight: 600;
}

/* For multiple select */
select[multiple] {
  background-image: none;
  padding-right: 0.75rem;
  min-height: 2.5rem;
}

select[multiple] option {
  padding: 0.25rem 0.5rem;
}

select[multiple] option:checked {
  background-color: var(--accent-blue) !important;
  color: white;
}



/* Dark Theme Dropdown Button Group */
.btn-group .btn-outline-secondary {
  background-color: var(--bg-tertiary);
  color: var(--text-primary);
  border-color: var(--border-secondary);
  transition: all 0.2s ease;
}

.btn-group .btn-outline-secondary:hover {
  background-color: var(--bg-hover);
  color: var(--text-primary);
  border-color: var(--border-accent);
}

.btn-group .btn-outline-secondary:focus {
  box-shadow: 0 0 0 0.2rem rgba(138, 180, 248, 0.25);
  border-color: var(--accent-blue-light);
}

/* Dropdown Menu Styling */
.dropdown-menu {
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  padding: 0.5rem 0;
}

.dropdown-item {
  color: var(--text-primary);
  padding: 0.5rem 1.5rem;
  transition: all 0.2s ease;
}

.dropdown-item:hover, 
.dropdown-item:focus {
  background-color: var(--bg-hover);
  color: var(--text-primary);
}

.dropdown-item:active {
  background-color: var(--accent-blue);
  color: white;
}

/* Dropdown Arrow Styling */
.btn-outline-secondary.dropdown-toggle::after {
  border-top-color: var(--text-primary);
  margin-left: 0.5em;
}

.btn-outline-secondary:hover.dropdown-toggle::after {
  border-top-color: var(--text-primary);
}

/* Split Button Divider */
.btn-group > .btn-group:not(:last-child) > .btn,
.btn-group > .btn:not(:last-child):not(.dropdown-toggle) {
  border-right: 1px solid var(--border-primary);
}


/* Admin Dashboard Header */
.admin-dashboard h2 {
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1.75rem;
  margin-bottom: 1.5rem !important;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-primary);
}

/* Stats Card Container */
.stats-row {
  margin-bottom: 2rem;
}

/* Base Card Styles */
.stats-card {
  border: none;
  border-radius: 0.75rem;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  height: 100%;
}

.stats-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/* Card Body */
.stats-card .card-body {
  padding: 1.75rem;
  position: relative;
}

/* Card Title */
.stats-card .card-title {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
  opacity: 0.9;
}

/* Card Value */
.stats-card .card-text {
  font-weight: 700;
  margin-bottom: 0;
  font-size: 2.25rem;
}

/* Card Background Variants */
.stats-card.bg-primary {
  background: linear-gradient(135deg, var(--accent-blue) 0%, #1a4e8a 100%);
  border-left: 4px solid var(--accent-blue-light);
}

.stats-card.bg-success {
  background: linear-gradient(135deg, var(--accent-green) 0%, #1e5631 100%);
  border-left: 4px solid var(--accent-green-light);
}

.stats-card.bg-info {
  background: linear-gradient(135deg, var(--accent-info) 0%, #1a5e8a 100%);
  border-left: 4px solid #66c7ff;
}

/* Optional: Add icon to cards */
.stats-card .card-body::before {
  content: "";
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 3rem;
  height: 3rem;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.15;
}

.stats-card.bg-primary .card-body::before {
 
  background-image: var(--icon-user-icon);

}

.stats-card.bg-success .card-body::before {

  background-image: var(--icon-subscription-icon);

}

.stats-card.bg-info .card-body::before {
  
  background-image: var(--icon-revenue-icon);

}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .stats-card .card-body {
    padding: 1.25rem;
  }
  
  .stats-card .card-text {
    font-size: 1.75rem;
  }
}



/* Footer */
footer {
  background: var(--bg-secondary) !important;
  color: var(--text-muted) !important;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border-primary);
}

footer a {
  color: var(--text-secondary);
}

footer a:hover {
  color: var(--text-primary);
  text-decoration: none;
}

/* Button Links */
.btn-link {
  color: var(--link-color);
  text-decoration: none;
}

.btn-link:hover {
  color: var(--link-hover);
  text-decoration: none;
}

/* Dropdown Links */
.dropdown-item {
  color: var(--text-primary);
}

.dropdown-item:hover,
.dropdown-item:focus {
  color: var(--text-primary);
  background-color: var(--bg-hover);
  text-decoration: none;
}

/* Scrollbars */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
  background: var(--bg-tertiary);
}

::-webkit-scrollbar-thumb {
  background: var(--border-secondary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--border-accent);
}

/* Utility Classes */
.text-muted,
.text-secondary,
.text-body-secondary {
  color: var(--text-muted) !important;
}

.text-primary {
  color: var(--accent-blue-light) !important;
}

.text-success {
  color: var(--accent-green-light) !important;
}

.text-warning {
  color: var(--accent-yellow) !important;
}

.text-danger {
  color: var(--accent-red) !important;
}

.text-info {
  color: var(--accent-info) !important;
}

.text-light {
  color: var(--text-primary) !important;
}

.text-dark {
  color: var(--bg-tertiary) !important;
}

.bg-white {
  background-color: var(--bg-tertiary) !important;
  color: var(--text-primary) !important;
}

.bg-light {
  background-color: var(--bg-secondary) !important;
  color: var(--text-primary) !important;
}

.bg-primary {
  background-color: var(--accent-blue) !important;
  color: #fff !important;
}

.bg-success {
  background-color: var(--accent-green) !important;
  color: #fff !important;
}

.bg-warning {
  background-color: var(--accent-yellow) !important;
  color: var(--bg-primary) !important;
}

.bg-danger {
  background-color: var(--accent-red) !important;
  color: #fff !important;
}


/* Pricing Cards Container */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Forces exactly 3 columns */
  gap: 1.5rem;
  margin: 2rem 0;
  max-width: 1200px; /* Optional: constrain total width */
  margin-left: auto;
  margin-right: auto;
}

/* Base Card Styles */
.pricing-card {
  border-radius: 0.75rem;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0; /* Allows cards to shrink below 300px */
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Card Header */
.pricing-card-header {
  padding: 1.5rem;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pricing-card-price {
  font-size: 2.5rem;
  font-weight: 800;
  margin: 1rem 0;
}

.pricing-card-period {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Card Body */
.pricing-card-body {
  padding: 1.5rem;
  flex-grow: 1;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.pricing-features li {
  padding: 0.5rem 0;
  position: relative;
  padding-left: 1.75rem;
}

.pricing-features li:before {
  content: "✓";
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Card Footer */
.pricing-card-footer {
  padding: 1.5rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  width: 100%;
  text-align: center;
  border: 2px solid transparent;
}

/* Free Plan Card */
.pricing-card-free {
  background: linear-gradient(135deg, #1a3e72 0%, #232527 100%);
  border: 1px solid #3a5a8a;
}

.pricing-card-free .pricing-card-header {
  background-color: rgba(26, 115, 232, 0.15);
}

.pricing-card-free .pricing-card-title {
  color: #8ab4f8;
}

.pricing-card-free .pricing-card-price {
  color: #a8c7fa;
}

.pricing-card-free .pricing-features li:before {
  color: #8ab4f8;
}

.pricing-btn-free {
  background-color: #1a73e8;
  color: white;
}

.pricing-btn-free:hover {
  background-color: #1557b0;
  transform: translateY(-2px);
}

/* Pro Plan Card */
.pricing-card-pro {
  background: linear-gradient(135deg, #1e5631 0%, #232527 100%);
  border: 1px solid #4caf50;
}

.pricing-card-pro .pricing-card-header {
  background-color: rgba(52, 168, 83, 0.15);
}

.pricing-card-pro .pricing-card-title {
  color: #81c995;
}

.pricing-card-pro .pricing-card-price {
  color: #a5d6a7;
}

.pricing-card-pro .pricing-features li:before {
  color: #81c995;
}

.pricing-btn-pro {
  background-color: #34a853;
  color: white;
}

.pricing-btn-pro:hover {
  background-color: #2d9146;
  transform: translateY(-2px);
}

/* Premium Plan Card */
.pricing-card-premium {
  background: linear-gradient(135deg, #7d6608 0%, #232527 100%);
  border: 1px solid #fbbc04;
}

.pricing-card-premium .pricing-card-header {
  background-color: rgba(251, 188, 4, 0.15);
}

.pricing-card-premium .pricing-card-title {
  color: #fbbc04;
}

.pricing-card-premium .pricing-card-price {
  color: #ffd95e;
}

.pricing-card-premium .pricing-features li:before {
  color: #fbbc04;
}

.pricing-btn-premium {
  background-color: #fbbc04;
  color: #232527;
  font-weight: 700;
}

.pricing-btn-premium:hover {
  background-color: #e6ac00;
  transform: translateY(-2px);
}

/* Recommended Plan Badge */
.pricing-card-recommended {
  position: relative;
  overflow: visible;
}

.pricing-card-recommended:before {
  content: "RECOMMENDED";
  position: absolute;
  top: -10px;
  right: 20px;
  background: #fbbc04;
  color: #232527;
  padding: 0.25rem 1rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}


/* Active Plan Badge */
.pricing-card-active {
  position: relative;
  overflow: visible;
}

.pricing-card-active:before {
  content: "Subscribed";
  position: absolute;
  top: -10px;
  right: 20px;
  background:  #34a853;;
  color: white;
  padding: 0.25rem 1rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}



/* Animation Enhancements */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fadeIn 0.3s ease-out forwards;
}

/* Tooltips */
.tooltip {
  --bs-tooltip-bg: var(--bg-tertiary);
  --bs-tooltip-color: var(--text-primary);
}

.tooltip-inner {
  background-color: var(--bg-tertiary);
  color: var(--text-primary);
  border: 1px solid var(--border-secondary);
  box-shadow: var(--shadow-sm);
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
}

.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow::before,
.bs-tooltip-top .tooltip-arrow::before {
  border-top-color: var(--border-secondary);
}

/* Modal Enhancements */
.modal-content {
  background-color: var(--bg-tertiary);
  color: var(--text-primary);
  border: 1px solid var(--border-primary);
}

.modal-header {
  border-bottom: 1px solid var(--border-primary);
}

.modal-footer {
  border-top: 1px solid var(--border-primary);
}

.close {
  color: var(--text-primary);
  opacity: 0.8;
  transition: var(--transition-base);
}

.close:hover {
  color: var(--text-primary);
  opacity: 1;
}
.pricing-cards {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }


/* Dashboard Container */
.dashboard-container {
  margin: 0rem auto;
  padding: 0rem 2rem;
  /* background: var(--bg-tertiary); */
  border-radius: 0.75rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Welcome Header */
.welcome-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-primary);
}

.welcome-title {
  font-size: 2rem;
  color: var(--text-primary);
  margin: 0;
  font-weight: 700;
}

.plan-badge {
  background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-green) 100%);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.free-badge {
  background: var(--accent-blue);
  color: var(--text-primary);
  padding: 0.25rem 0.75rem;
  border-radius: 2rem;
  margin-left: 0.5rem;
  font-size: 0.8rem;
}

/* Services Intro */
.services-intro {
  margin-bottom: 2rem;
}

.intro-text {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.plan-features {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.feature-tag {
  padding: 0.25rem 0.75rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.pro-feature {
  background: rgba(52, 168, 83, 0.2);
  color: var(--accent-green-light);
}

.free-feature {
  background: var(--accent-freefeature);
  color: var(--accent-blue-light);
}

.feature-explanation {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.service-card {
  background: var(--bg-secondary);
  border-radius: 0.5rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
  border: 1px solid var(--border-primary);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border-color: var(--accent-blue-light);
}

.service-icon {
  font-size: 2rem;
  color: var(--accent-blue-light);
  margin-bottom: 1rem;
}

.service-title {
  font-size: 1.25rem;
  color: var(--text-primary);
  margin: 0 0 0.5rem 0;
}

.service-description {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.service-plan {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  padding: 0.25rem 0.75rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Dashboard Footer */
.dashboard-footer {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-primary);
  color: var(--text-secondary);
}

.upgrade-link {
  color: var(--accent-blue-light);
  font-weight: 600;
  text-decoration: none;
}

.upgrade-link:hover {
  text-decoration: underline;
}


/* Service Card Background Images */
.service-card[data-service="video-to-audio"] {
  position: relative;
  overflow: hidden;
}

.service-card[data-service]::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.08;
  transform: translate(25%, -25%);
  z-index: 0;
}

.service-card[data-service="video-to-audio"]::before {
  background-image: var(--icon-video-to-audio)!important;
  
}



.service-card[data-service="audio-transcription"]::before {

  background-image: var(--icon-audio-transcription);


}

.service-card[data-service="media-pool-setup"]::before {
  background-image: var(--icon-mediapool_setup);

}

.service-card[data-service="arrange-timeline"]::before {
  background-image: var(--icon-arrange-timeline);
}

.service-card[data-service="expression-generator"]::before {
  background-image: var(--icon-expression-generator);
}

/* Add similar patterns for other services */
.service-card[data-service="update-current-composition"]::before {
  background-image: var(--icon-update-current-composition);
}

.service-card[data-service="add-subtitles"]::before {
  background-image: var(--icon-add-subtitle);
}

.service-card[data-service="video-smart-split"]::before {
  background-image: var(--icon-video-smart-split);

}

/* Ensure content stays above background */
.service-card .service-icon,
.service-card .service-title,
.service-card .service-description,
.service-card .service-plan {
  position: relative;
  z-index: 1;
}

/* Adjust existing service card styles */
.service-card {
  position: relative;
  overflow: hidden;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

/* Adjust opacity and size for better visibility */
.service-card::before {
  opacity: 0.05;
  width: 150px;
  height: 150px;
  right: -30px;
  top: -30px;
}


/* Base Submit Button Styles */
button[type="submit"],
input[type="submit"],
.submit-btn {
  background-color: var(--accent-blue); /* Using your blue accent color */
  color: white;
  border: none;
  border-radius: 0.375rem;
  padding: 0.625rem 1.25rem;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* Hover State */
button[type="submit"]:hover:not(:disabled),
input[type="submit"]:hover:not(:disabled),
.submit-btn:hover:not(:disabled) {
  background-color: #1557b0; /* Slightly darker blue */
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Focus State */
button[type="submit"]:focus,
input[type="submit"]:focus,
.submit-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(138, 180, 248, 0.3); /* Light blue glow */
}

/* Active State */
button[type="submit"]:active:not(:disabled),
input[type="submit"]:active:not(:disabled),
.submit-btn:active:not(:disabled) {
  background-color: #10498f;
  transform: translateY(0);
}

/* Disabled State */
button[type="submit"]:disabled,
input[type="submit"]:disabled,
.submit-btn:disabled {
  background-color: var(--bg-active); /* Using your active bg color */
  color: var(--text-secondary);
  cursor: not-allowed;
  opacity: 0.7;
}

/* Icon Support (if using Font Awesome) */
button[type="submit"] i,
input[type="submit"] i,
.submit-btn i {
  font-size: 0.9em;
}

/* Alternative Styles */
.submit-btn-secondary {
  background-color: var(--bg-active);
  color: var(--text-primary);
  border: 1px solid var(--border-secondary);
}

.submit-btn-secondary:hover:not(:disabled) {
  background-color: var(--bg-hover);
  border-color: var(--border-accent);
}

/* Danger Button */
.submit-btn-danger {
  background-color: var(--accent-red);
}

.submit-btn-danger:hover:not(:disabled) {
  background-color: #d62c2c;
}

/* Success Button */
.submit-btn-success {
  background-color: var(--accent-green);
}

.submit-btn-success:hover:not(:disabled) {
  background-color: #2d9146;
}




/* Responsive Design */
@media (max-width: 768px) {
  .content-flex-row {
    flex-direction: column;
  }

  .sidebar {
    border-right: none;
    border-bottom: 1px solid var(--border-primary);
    padding: 1rem;
    width: 100% !important;
    min-height: auto;
    max-height: 300px;
    overflow-y: auto;
  }

  .content-flex-row.collapsed .sidebar {
    display: none;
  }

  .main-content {
    padding: 1.5rem;
  }
  
  .table-responsive {
    border-radius: 0;
  }


   .services-grid {
    grid-template-columns: 1fr;
  }
  
  .welcome-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }


}
