/*!********************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[3]!./src/styles/globals.css ***!
  \********************************************************************************************************************************************************************************************************************************************************************/
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

/* Reset and base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  height: 100%;
}

body {
  background: var(--body-bg);
  color: var(--text-primary);
  font-family: var(--font-sans);
  height: 100%;
  overflow: hidden;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Custom scrollbars */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color);
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font-family: inherit;
}

/* Stunning backgrounds & animations */
.app-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
  z-index: 2;
}

/* Premium Card / Glassmorphism Panel styles */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(28px) saturate(140%);
  -webkit-backdrop-filter: blur(28px) saturate(140%);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255,255,255,0.05);
  transition: var(--transition-smooth);
}

.glass-panel:hover {
  border-color: var(--hover-border, var(--border-hover));
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255,255,255,0.07);
}

/* Light mode: real white cards with clean shadows */
[data-theme="light"] .glass-panel {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(15, 23, 42, 0.10) !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.05) !important;
}
[data-theme="light"] .glass-panel:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.12), 0 2px 6px rgba(0,0,0,0.06) !important;
  border-color: rgba(15, 23, 42, 0.18) !important;
}


/* Inputs and Forms elements */
.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.form-control {
  background-color: var(--input-bg);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  border-radius: var(--border-radius-sm);
  padding: 12px 16px;
  font-size: 0.95rem;
  transition: var(--transition-fast);
  outline: none;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.form-control:focus {
  border-color: var(--primary-color);
  background-color: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 2px rgba(var(--primary-color), 0.2);
}

/* Premium Dynamic Interactive Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
  outline: none;
}

.btn-primary {
  background-color: var(--primary-color);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(var(--primary-color), 0.3);
}

.btn-primary:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(var(--primary-color), 0.4);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background-color: var(--bg-tertiary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background-color: var(--bg-secondary);
  border-color: var(--border-hover);
  transform: translateY(-1px);
}

/* Table element formatting */
.table-container {
  overflow-x: auto;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-color);
}

.custom-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.custom-table th {
  background-color: var(--bg-secondary);
  color: var(--text-secondary);
  font-weight: 600;
  padding: 16px;
  border-bottom: 1px solid var(--border-color);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.custom-table td {
  padding: 16px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-primary);
  vertical-align: middle;
}

.custom-table tr:last-child td {
  border-bottom: none;
}

.custom-table tr:hover td {
  background-color: rgba(255, 255, 255, 0.02);
}

/* Muted badges */
.badge {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.badge-success {
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--color-success);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.badge-warning {
  background-color: rgba(245, 158, 11, 0.1);
  color: var(--color-warning);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.badge-danger {
  background-color: rgba(239, 68, 68, 0.1);
  color: var(--color-danger);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.badge-info {
  background-color: rgba(59, 130, 246, 0.1);
  color: var(--color-info);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.badge-secondary {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
}

/* Background Effects Container styling */
.background-effects-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

/* In light mode, reduce background intensity */
[data-theme="light"] .background-effects-wrapper {
  opacity: 0.5;
}

/* In light mode, hide the dark overlay completely */
[data-theme="light"] .portal-dark-overlay {
  display: none;
}

/* Subtle dot-grid overlay */
.dot-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.95;
  z-index: 1;
}

/* Soft glowing blobs */
.glow-blobs-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.glow-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(160px);
  opacity: 0.38;
  transition: background-color 0.5s ease-in-out, transform 12s ease-in-out;
  pointer-events: none;
}

.glow-1 {
  width: 650px;
  height: 650px;
  top: -200px;
  right: -150px;
  animation: pulseGlow1 16s infinite alternate ease-in-out;
}

.glow-2 {
  width: 600px;
  height: 600px;
  bottom: -150px;
  left: -150px;
  animation: pulseGlow2 20s infinite alternate ease-in-out;
}

.glow-3 {
  width: 750px;
  height: 750px;
  top: 25%;
  left: 20%;
  background-color: rgba(99, 102, 241, 0.09); /* Shimmering ambient violet/indigo */
  filter: blur(180px);
  animation: pulseGlow3 24s infinite alternate ease-in-out;
}

@keyframes pulseGlow1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-70px, 50px) scale(1.15); }
}

@keyframes pulseGlow2 {
  0% { transform: translate(0, 0) scale(0.9); }
  100% { transform: translate(50px, -40px) scale(1.1); }
}

@keyframes pulseGlow3 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-40px, 30px) scale(0.9); }
}

/* Animated SVG wave layer */
.wave-container {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 220px;
  min-height: 220px;
  max-height: 220px;
  overflow: hidden;
  z-index: 2;
  opacity: 0.25;
}

.waves {
  position: relative;
  width: 100%;
  height: 100%;
}

.parallax > use {
  animation: moveWave 20s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite;
}

.parallax > use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 7s;
}

.parallax > use:nth-child(2) {
  animation-delay: -4s;
  animation-duration: 10s;
}

.parallax > use:nth-child(3) {
  animation-delay: -6s;
  animation-duration: 13s;
}

.parallax > use:nth-child(4) {
  animation-delay: -8s;
  animation-duration: 20s;
}

@keyframes moveWave {
  0% { transform: translate3d(-90px, 0, 0); }
  100% { transform: translate3d(85px, 0, 0); }
}

.theme-toggle-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 50%;
  transition: var(--transition-fast);
  outline: none;
}

.theme-toggle-btn:hover {
  color: var(--text-primary);
  background-color: var(--border-color);
}

/* Premium Animated Title Text Style */
.animated-title {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(
    120deg,
    var(--title-gradient-start) 0%,
    var(--title-gradient-mid) 50%,
    var(--title-gradient-start) 100%
  );
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 6s linear infinite;
  margin-bottom: 12px;
  text-align: center;
}

@keyframes shine {
  to {
    background-position: 200% center;
  }
}

/* Premium Glassmorphic Floating Header */
.floating-header {
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  background: rgba(8, 9, 10, 0.70) !important;
  transition: var(--transition-smooth);
}
[data-theme="light"] .floating-header {
  background: rgba(255, 255, 255, 0.94) !important;
  border-bottom: 1px solid rgba(15,23,42,0.08) !important;
  box-shadow: 0 1px 12px rgba(0,0,0,0.07) !important;
}

/* Light mode: portal header specific override */
[data-theme="light"] .portal-header {
  background-color: rgba(255,255,255,0.94) !important;
  border-bottom-color: rgba(15,23,42,0.08) !important;
  box-shadow: 0 1px 12px rgba(0,0,0,0.07) !important;
}

/* Premium Workspace Card Animations & Interactions */
.workspace-card {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.workspace-card:hover {
  transform: translateY(-8px) scale(1.02);
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--hover-border) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

[data-theme="light"] .workspace-card:hover {
  background: rgba(15, 23, 42, 0.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

/* Card Button Hover Synergy */
.access-action-btn {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.workspace-card:hover .access-action-btn {
  background: var(--hover-border) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transform: scale(1.06);
}

/* Mobile Optimizations */
@media (max-width: 768px) {
  .animated-title {
    font-size: 2.2rem !important;
  }
  .workspace-card {
    padding: 30px 16px !important;
  }
  .floating-header {
    padding: 12px 20px !important;
  }
}

/* M365 select dropdown options contrast fix */
select option {
  background-color: #0c1020 !important;
  color: #ffffff !important;
}
[data-theme="light"] select option {
  background-color: #ffffff !important;
  color: #0f172a !important;
}


/*!**********************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[3]!./src/styles/variables.css ***!
  \**********************************************************************************************************************************************************************************************************************************************************************/
:root {
  /* Default Design System Color Tokens */
  --bg-primary: #121524;
  --bg-secondary: #1a1d30;
  --bg-tertiary: #242942;
  
  /* Accent colors - will be dynamically overridden per company selection */
  --primary-color: #3b82f6; 
  --secondary-color: #1d4ed8;
  
  /* Text states */
  --text-primary: #ffffff;
  --text-secondary: #8a99ad;
  --text-muted: #64748b;
  
  /* Borders and elements */
  --border-color: rgba(255, 255, 255, 0.09);
  --border-hover: rgba(255, 255, 255, 0.18);
  --glass-bg: rgba(26, 30, 50, 0.65);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-hover: rgba(255, 255, 255, 0.06);
  
  /* Feedback and Alerts */
  --color-success: #10b981;
  --color-warning: #f59e0b;
  --color-danger: #ef4444;
  --color-info: #3b82f6;
  
  /* Shadows and dimensions */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
  --border-radius-sm: 8px;
  --border-radius-md: 14px;
  --border-radius-lg: 20px;
  
  /* Font Family & Typography Defaults */
  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  
  /* Transition Constants */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease-out;

  /* Title animated gradient colors */
  --title-gradient-start: #ffffff;
  --title-gradient-mid: #a5b4fc;

  /* Additional system-wide layout variables */
  --body-bg: radial-gradient(circle at 50% 30%, #161a30 0%, #0c0e1a 100%) no-repeat fixed;
  --input-bg: rgba(255, 255, 255, 0.04);
}

[data-theme="light"] {
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f1f5f9;
  
  /* Text states — high contrast for clarity */
  --text-primary: #0f172a;
  --text-secondary: #374151;
  --text-muted: #6b7280;
  
  /* Borders — visible card separation */
  --border-color: rgba(15, 23, 42, 0.10);
  --border-hover: rgba(15, 23, 42, 0.20);
  --glass-bg: rgba(255, 255, 255, 0.88);
  --glass-border: rgba(15, 23, 42, 0.10);
  --glass-hover: rgba(15, 23, 42, 0.03);
  
  /* Feedback and Alerts */
  --color-success: #059669;
  --color-warning: #d97706;
  --color-danger: #dc2626;
  --color-info: #2563eb;
  
  /* Shadows — crisp card depth */
  --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.07), 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.09), 0 1px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0,0,0,0.07);

  /* Title animated gradient colors for light theme */
  --title-gradient-start: #0f172a;
  --title-gradient-mid: #4f46e5;

  --body-bg: linear-gradient(135deg, #e8edf5 0%, #f0f4fb 50%, #e2e8f0 100%) no-repeat fixed;
  --input-bg: rgba(15, 23, 42, 0.04);
}


