/* FounderFlow Web App Styles - Desktop/Web Design - Dark Theme Matching Website */

:root {
  --primary-blue: #0149ab;
  --success-green: #02896b;
  --primary-blue-surface: rgba(1, 73, 171, 0.08);
  --success-green-surface: rgba(2, 137, 105, 0.08);
  --primary-blue-gradient: #01306d;
  --text-dark: #0f172a;
  --text-light: #f2f2f2;
  --text-gray: #6b7280;
  --bg-dark: #f5f7fb;
  --bg-card: #ffffff;
  --background-light: #ffffff;
  --background-gray: #eef1f6;
  --border-gray: rgba(0, 0, 0, 0.08);
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-premium: 0 12px 40px rgba(1, 73, 171, 0.15);
  --gradient-primary: linear-gradient(135deg, rgb(0, 99, 230) 0%, rgb(26, 125, 255) 50%, rgb(0, 150, 255) 100%);
  --gradient-primary-hover: linear-gradient(135deg, rgb(0, 110, 255) 0%, rgb(40, 140, 270) 50%, rgb(0, 170, 255) 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-dark);
  background: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
  pointer-events: none;
  z-index: 0;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

body > * {
  position: relative;
  z-index: 1;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}

/* Side Navigation Bar */
.side-navbar {
  position: fixed;
  left: 0;
  top: 0;
  width: 260px;
  height: 100vh;
  background: linear-gradient(180deg, rgba(1, 73, 171, 0.05) 0%, rgba(1, 73, 171, 0.02) 100%);
  border-right: 1px solid rgba(1, 73, 171, 0.15);
  display: flex;
  flex-direction: column;
  z-index: 1000;
  box-shadow: 2px 0 8px rgba(1, 73, 171, 0.08);
  overflow-y: auto;
}

.side-nav-header {
  padding: 24px 20px;
  border-bottom: 1px solid rgba(1, 73, 171, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #ffffff;
}

.side-nav-links {
  flex: 1;
  list-style: none;
  padding: 16px 0;
  margin: 0;
  overflow-y: auto;
}

.side-nav-links > li {
  position: relative;
}

.side-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: all 0.2s;
  border-left: 3px solid transparent;
}

.side-nav-link:hover {
  background: var(--primary-blue-surface);
  color: var(--primary-blue);
  border-left-color: var(--primary-blue);
}

.side-nav-link.active {
  background: var(--primary-blue-surface);
  color: var(--primary-blue);
  border-left-color: var(--primary-blue);
  font-weight: 600;
}

.side-nav-link .material-icons {
  font-size: 22px;
  width: 24px;
  text-align: center;
}

.side-nav-link .nav-arrow {
  margin-left: auto;
  font-size: 18px;
  transition: transform 0.2s;
}

.side-nav-link.nav-dropdown.active .nav-arrow {
  transform: rotate(180deg);
}

.side-nav-dropdown-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  background: var(--bg-dark);
  border-left: 3px solid var(--primary-blue);
}

.side-nav-dropdown-menu li {
  margin: 0;
}

.side-nav-dropdown-menu a {
  display: block;
  padding: 10px 20px 10px 56px;
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.2s;
}

.side-nav-dropdown-menu a:hover {
  background: var(--primary-blue-surface);
  color: var(--primary-blue);
}

.side-nav-footer {
  padding: 16px 20px;
  border-top: 1px solid rgba(1, 73, 171, 0.15);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  justify-content: center;
  background: rgba(1, 73, 171, 0.03);
}

.side-nav-icon-button {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: none;
  background: rgba(0, 0, 0, 0.04);
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  text-decoration: none;
}

.side-nav-icon-button:hover {
  background: rgba(0, 0, 0, 0.08);
  color: var(--primary-blue);
  transform: translateY(-2px);
}

.side-nav-icon-button .material-icons {
  font-size: 22px;
}

/* Top Navigation Bar - Hidden on desktop, shown on mobile */
.top-navbar {
  display: none;
}

@media (max-width: 768px) {
  .side-navbar {
    display: none;
  }
  
  .top-navbar {
    display: flex;
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 0 16px;
    height: 60px;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
  }
  
  .main-content-wrapper {
    margin-left: 0 !important;
  }
}

/* Main Content Wrapper - Starts from top with side nav offset */
.main-content-wrapper {
  margin-left: 260px;
  padding: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, rgba(1, 73, 171, 0.02) 0%, rgba(245, 247, 251, 1) 100%);
}

.navbar-left {
  display: flex;
  align-items: center;
  gap: 40px;
}

.logo-text-container {
  display: flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
}

.logo-text-founder {
  font-size: 28px;
  font-weight: bold;
  color: var(--primary-blue);
  font-family: 'Playfair Display', serif;
}

.logo-text-flow {
  font-size: 28px;
  font-weight: bold;
  color: var(--success-green);
  font-family: 'Playfair Display', serif;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
}

.nav-links > li {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-links a {
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: color 0.3s;
  padding: 8px 0;
}

.nav-links a:hover {
  color: var(--primary-blue);
  opacity: 0.8;
}

.nav-dropdown {
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-gray);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  min-width: 180px;
  z-index: 1000;
  list-style: none;
  padding: 8px 0;
}

.nav-dropdown-menu li {
  margin: 0;
}

.nav-dropdown-menu a {
  display: block;
  padding: 12px 20px;
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.2s;
}

.nav-dropdown-menu a:hover {
  background: var(--primary-blue-surface);
  color: var(--primary-blue);
}

.navbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text-dark);
  margin-right: 12px;
}

.mobile-menu-toggle .material-icons {
  font-size: 28px;
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }
  
  .nav-links {
    display: none;
  }
  
  .navbar-left {
    gap: 12px;
  }
  
  .navbar-right {
    gap: 8px;
  }
  
  .nav-icon-button {
    width: 36px;
    height: 36px;
  }
  
  .user-avatar {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
}

/* Mobile Side Navigation */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1998;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-nav-overlay.active {
  display: block;
  opacity: 1;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: -100%;
  width: 280px;
  max-width: 85vw;
  height: 100vh;
  background: #ffffff;
  z-index: 1999;
  transition: left 0.3s ease;
  box-shadow: 2px 0 12px rgba(0, 0, 0, 0.15);
  overflow-y: auto;
}

.mobile-nav-drawer.open {
  left: 0;
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 10;
}

.mobile-menu-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-close .material-icons {
  font-size: 28px;
}

.mobile-nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav-links > li {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.mobile-nav-links a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: background 0.2s;
}

.mobile-nav-links a:hover,
.mobile-nav-links a:active {
  background: var(--primary-blue-surface);
  color: var(--primary-blue);
}

.mobile-nav-links .material-icons {
  font-size: 24px;
  color: var(--primary-blue);
  flex-shrink: 0;
}

.mobile-nav-dropdown-toggle {
  justify-content: space-between;
}

.mobile-nav-arrow {
  transition: transform 0.3s ease;
  color: var(--text-gray) !important;
}

.mobile-nav-dropdown-toggle.active .mobile-nav-arrow {
  transform: rotate(90deg);
}

.mobile-nav-submenu {
  list-style: none;
  padding: 0;
  margin: 0;
  background: #f8fafc;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.mobile-nav-submenu.open {
  max-height: 200px;
}

.mobile-nav-submenu li {
  border-bottom: none;
}

.mobile-nav-submenu a {
  padding-left: 60px;
  font-size: 15px;
  color: var(--text-gray);
}

.mobile-nav-submenu a:hover,
.mobile-nav-submenu a:active {
  background: #eef2f7;
  color: var(--primary-blue);
}

.mobile-nav-submenu .material-icons {
  display: none;
}

@media (min-width: 769px) {
  .mobile-nav-overlay,
  .mobile-nav-drawer {
    display: none !important;
  }
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .page-header h1 {
    font-size: 24px;
  }
  
  .page-header p {
    font-size: 14px;
  }
  
  .search-bar {
    padding: 12px 16px;
    margin-bottom: 24px;
  }
  
  .vc-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .discover-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .vc-card,
  .card,
  .discover-card {
    padding: 16px;
  }
  
  .vc-modal {
    width: 95vw;
    max-width: 95vw;
    max-height: 90vh;
    margin: 5vh auto;
  }
  
  .vc-modal-scrollable {
    max-height: calc(90vh - 200px);
  }
  
  .accountability-tabs {
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .accountability-tab {
    flex: 1;
    min-width: calc(50% - 4px);
    padding: 12px 8px;
    font-size: 14px;
  }
  
  .partners-subtabs {
    flex-wrap: wrap;
  }
  
  .partner-subtab {
    flex: 1;
    min-width: calc(50% - 4px);
    padding: 10px 12px;
    font-size: 13px;
  }
  
  .goals-header {
    margin-bottom: 16px;
  }
  
  .btn-goal-post {
    width: 100%;
    padding: 14px;
  }
  
  .chat-container {
    height: 100vh;
  }
  
  .chat-header {
    padding: 12px 16px;
  }
  
  .chat-messages {
    padding: 16px;
  }
  
  .chat-input-container {
    padding: 12px 16px;
  }
}

@media (max-width: 480px) {
  .dashboard-content {
    padding: 16px 12px;
  }
  
  .page-header h1 {
    font-size: 20px;
  }
  
  .vc-card,
  .card,
  .discover-card {
    padding: 12px;
  }
  
  .mobile-nav-drawer {
    width: 260px;
  }
}

.nav-icon-button {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: none;
  background: rgba(0, 0, 0, 0.04);
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  text-decoration: none;
}

.nav-icon-button:hover {
  background: rgba(0, 0, 0, 0.08);
  color: var(--primary-blue);
  transform: translateY(-2px);
}

.nav-icon-button .material-icons {
  font-size: 22px;
}

.user-menu {
  position: relative;
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-blue);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: 600;
  border: 2px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
}

/* Main Container */
.main-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px;
  min-height: calc(100vh - 70px);
}

/* Login/Registration Pages */
.auth-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-dark);
  background-image: 
    radial-gradient(80% 50% at 50% -10%, rgb(0, 40, 92) 0%, rgb(16, 19, 24) 60%),
    radial-gradient(at 40% 20%, rgb(0, 44, 102) 0px, rgba(0, 0, 0, 0) 60%),
    radial-gradient(at 80% 0%, rgb(0, 91, 70) 0px, rgba(0, 0, 0, 0) 60%),
    radial-gradient(at 0% 50%, rgb(0, 33, 77) 0px, rgba(0, 0, 0, 0) 60%);
  background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%;
  padding: 40px;
  position: relative;
}

.auth-container::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 25% 25%, rgba(0, 75, 173, 0.15) 0%, rgba(0, 0, 0, 0) 70%),
    radial-gradient(circle at 75% 75%, rgba(0, 75, 173, 0.15) 0%, rgba(0, 0, 0, 0) 70%),
    radial-gradient(circle at 50% 50%, rgba(1, 137, 105, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.auth-container > * {
  position: relative;
  z-index: 1;
}

.auth-card {
  background: var(--bg-card);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 48px;
  width: 100%;
  max-width: 500px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-header {
  text-align: center;
  margin-bottom: 32px;
}

.auth-header h1 {
  font-size: 32px;
  color: var(--text-dark);
  font-weight: 700;
  margin-bottom: 8px;
}

.auth-header p {
  color: var(--text-dark);
  font-size: 16px;
  font-weight: 600;
  opacity: 0.8;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}

.input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s;
  background: #ffffff;
  color: var(--text-dark);
}

.input::placeholder {
  color: var(--text-gray);
}

select.input {
  color: var(--text-dark);
  background-color: #ffffff;
  cursor: pointer;
}

select.input option {
  color: var(--text-dark);
  background-color: #ffffff;
}

textarea.input {
  color: var(--text-dark);
  background-color: #ffffff;
  resize: vertical;
}

.input:focus {
  outline: none;
  border-color: var(--primary-blue);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(1, 73, 171, 0.2);
}

.input-container {
  position: relative;
}

.password-toggle {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-gray);
  padding: 4px;
}

.primary-button {
  width: 100%;
  padding: 14px 24px;
  background: var(--primary-blue);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-family: 'Inter', sans-serif;
}

.primary-button:hover {
  background: var(--primary-blue-gradient);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(1, 73, 171, 0.3);
}

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

.primary-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.secondary-button {
  width: 100%;
  padding: 14px 24px;
  background: white;
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-family: 'Inter', sans-serif;
}

.secondary-button:hover {
  background: var(--primary-blue-surface);
}

.auth-footer {
  text-align: center;
  margin-top: 24px;
  color: var(--text-dark);
  font-size: 14px;
  opacity: 0.8;
}

.auth-footer a {
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 600;
}

.auth-footer a:hover {
  text-decoration: underline;
}

.error-container {
  background: #FFEBEE;
  padding: 12px 16px;
  border-radius: 8px;
  border-left: 4px solid #C62828;
}

.error-text {
  color: #C62828;
  font-size: 14px;
}

.success-container {
  background: var(--success-green-surface);
  padding: 12px 16px;
  border-radius: 8px;
  border-left: 4px solid var(--success-green);
}

.success-text {
  color: var(--success-green);
  font-size: 14px;
}

/* Dashboard Layout */
.dashboard-container {
  min-height: 100vh;
  background: var(--bg-dark);
}

.dashboard-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px;
  position: relative;
  z-index: 1;
  background: #ffffff;
}

/* Content Grid - Updated for side nav */
.content-grid {
  padding: 0 40px 40px 40px;
  background: linear-gradient(180deg, rgba(1, 73, 171, 0.02) 0%, rgba(245, 247, 251, 1) 100%);
}

@media (max-width: 768px) {
  .dashboard-content {
    padding: 20px 16px;
  }
}

.page-header {
  margin-bottom: 12px;
  background: linear-gradient(135deg, rgba(1, 73, 171, 0.04) 0%, rgba(1, 73, 171, 0.01) 100%);
  border-bottom: 1px solid rgba(1, 73, 171, 0.15);
  padding: 20px 40px 12px 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.page-header h1 {
  font-size: 32px;
  color: var(--primary-blue);
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
}

.page-header p {
  color: var(--primary-blue);
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  line-height: 1.2;
}

/* Search Bar */
.search-bar {
  background: transparent;
  border-radius: 12px;
  padding: 12px 20px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  border: none;
}

.search-container {
  flex: 1;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(1, 73, 171, 0.05) 0%, rgba(1, 73, 171, 0.02) 100%);
  border-radius: 8px;
  padding: 0 16px;
  border: 1px solid rgba(1, 73, 171, 0.2);
  transition: all 0.3s;
}

.search-container:focus-within {
  border-color: var(--primary-blue);
  background: linear-gradient(135deg, rgba(1, 73, 171, 0.08) 0%, rgba(1, 73, 171, 0.04) 100%);
  box-shadow: 0 0 0 3px rgba(1, 73, 171, 0.15);
}

.search-icon {
  color: var(--primary-blue);
  margin-right: 12px;
}

.search-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 12px 0;
  font-size: 15px;
  outline: none;
  font-family: 'Inter', sans-serif;
  color: #0f172a;
}

.search-input::placeholder {
  color: #9ca3af;
}

.clear-button {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--primary-blue);
  padding: 4px;
  display: flex;
  align-items: center;
}

/* Content Grid - Full Width (No Sidebar) */
.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: flex-start;
}

.content-grid.full-width {
  grid-template-columns: 1fr;
  justify-content: center;
}

/* Sidebar Navigation - Hidden */
.sidebar {
  display: none;
}

/* Main Content Area */
.main-content {
  background: #ffffff;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  min-height: 600px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: stretch;
}

/* VC Cards Grid - Myntra/Amazon Style */
.main-content.vc-grid {
  display: block;
  padding: 20px;
}

.vc-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  width: 100%;
  padding: 0;
}

/* Resources grid - wider cards */
.vc-container.resources-grid {
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
}

@media (min-width: 1400px) {
  .vc-container {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .vc-container.resources-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1100px) and (max-width: 1399px) {
  .vc-container {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .vc-container.resources-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) and (max-width: 1099px) {
  .vc-container {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .vc-container.resources-grid {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  }
}

@media (max-width: 767px) {
  .vc-container {
    grid-template-columns: 1fr;
  }
  
  .vc-container.resources-grid {
    grid-template-columns: 1fr;
  }
}

.main-content > * {
  width: 100%;
}

.main-content.vc-grid > * {
  width: 100%;
  max-width: 100%;
}

/* Cards */
.card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(1, 73, 171, 0.03) 100%);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
  border: 1px solid rgba(1, 73, 171, 0.15);
  box-shadow: 0 2px 8px rgba(1, 73, 171, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
}

.card:hover {
  box-shadow: 0 4px 16px rgba(1, 73, 171, 0.2), 0 2px 8px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
  border-color: rgba(1, 73, 171, 0.3);
  background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(1, 73, 171, 0.05) 100%);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(1, 73, 171, 0.15);
}

.card-title {
  font-size: 20px;
  font-weight: 600;
  color: #0f172a;
}

.card-body {
  color: #495057;
  line-height: 1.8;
}

/* VC Card - Clean White Card Style */
.vc-card {
  background: linear-gradient(135deg, rgba(1, 73, 171, 0.08) 0%, rgba(1, 73, 171, 0.03) 100%);
  border-radius: 12px;
  border: 1px solid rgba(1, 73, 171, 0.2);
  box-shadow: 0 2px 8px rgba(1, 73, 171, 0.15), 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 400px; /* FIXED HEIGHT for uniform cards */
  overflow: hidden;
  box-sizing: border-box;
  position: relative;
}

/* Resource cards specifically - more compact/square (only for resources tab) */
.resources-content .vc-container .vc-card,
.vc-container.resources-grid .vc-card {
  height: auto;
  min-height: 280px;
  max-height: 400px;
  padding: 16px;
  overflow: visible;
  width: 100%;
}

/* Mentor cards - match compact resource card sizing */
.mentors-content .vc-card,
.vc-card.mentor-card-compact {
  height: auto;
  min-height: 280px;
  max-height: 400px;
  padding: 16px;
  overflow: visible;
  width: 100%;
}

/* Scheduled mentor cards - height based on content */
.vc-card.scheduled-session-card {
  height: auto;
  min-height: 0;
  max-height: none;
}

.scheduled-sessions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

@media (min-width: 1200px) {
  .scheduled-sessions-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1500px) {
  .scheduled-sessions-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Mentor grid layout to constrain card width */
.mentors-content {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
  align-items: stretch;
}

/* Resource card title - max 2 lines */
.resources-content .vc-container .vc-card .vc-name,
.vc-container.resources-grid .vc-card .vc-name {
  display: block;
  overflow: visible;
  text-overflow: unset;
  white-space: normal;
  word-break: break-word;
  line-height: 1.3;
  margin-bottom: 8px;
}

.resources-content .vc-container .vc-card .vc-body,
.vc-container.resources-grid .vc-card .vc-body {
  padding: 0 12px 12px 12px;
  gap: 8px;
  overflow: visible;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.resources-content .vc-container .vc-card .vc-description,
.vc-container.resources-grid .vc-card .vc-description {
  font-size: 13px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 4px;
  flex: 1;
}

.vc-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(1, 73, 171, 0.25), 0 2px 8px rgba(0, 0, 0, 0.1);
  border-color: rgba(1, 73, 171, 0.4);
  background: linear-gradient(135deg, rgba(1, 73, 171, 0.12) 0%, rgba(1, 73, 171, 0.06) 100%);
}

.vc-card.expanded {
  height: auto;
  min-height: 400px;
  max-height: 600px;
  overflow: visible;
}

/* Bookmark Icon */
.vc-bookmark {
  position: absolute;
  top: -16px;
  right: 12px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.2s;
  z-index: 10;
}

.vc-bookmark.saved {
  background: rgba(1, 73, 171, 0.1);
}

.vc-bookmark.saved .material-icons {
  color: var(--primary-blue);
}

.save-loader {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
}

.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(1, 73, 171, 0.2);
  border-top-color: var(--primary-blue);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.vc-bookmark:hover {
  background: rgba(0, 0, 0, 0.08);
}

.vc-bookmark .material-icons {
  font-size: 20px;
  color: #333;
}

/* Image Box - Profile Photo Section */
.vc-image-box {
  width: 100%;
  height: 120px; /* FIXED image height */
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  flex-shrink: 0;
  padding: 16px;
  box-sizing: border-box;
  position: relative;
  margin-top: 20px;
}

.vc-image-box img {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(0, 0, 0, 0.08);
}

.vc-logo-placeholder {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: #e9ecef;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 32px;
  color: #495057;
  border: 3px solid rgba(0, 0, 0, 0.08);
}

.vc-info {
  flex: 1;
}

/* VC Card Header and Body */
.vc-header {
  padding: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.vc-avatar {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 50%;
  overflow: hidden;
  background: #e9ecef;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.vc-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vc-avatar > div {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #495057;
  font-weight: 600;
  font-size: 20px;
  text-transform: uppercase;
}

.vc-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 8px;
  line-height: 1.3;
}

.vc-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.vc-meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: rgba(1, 73, 171, 0.7);
  font-weight: 500;
}

.vc-meta-item .material-icons {
  font-size: 16px;
  color: rgba(1, 73, 171, 0.6);
}

.vc-body {
  padding: 0 16px 16px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.mentor-card-compact {
  padding: 16px;
  gap: 8px;
}

.mentor-body-compact {
  gap: 8px !important;
}

.mentor-bio-compact {
  font-weight: 700;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  color: var(--text-dark);
  text-align: left;
}

.tag-expertise {
  background: var(--primary-blue-surface);
  color: var(--primary-blue);
  border: 1px solid rgba(1, 73, 171, 0.25);
}

.tag-industry {
  background: var(--success-green-surface);
  color: var(--success-green);
  border: 1px solid rgba(2, 137, 105, 0.25);
}

.mentor-schedule-row {
  display: flex;
  justify-content: flex-start;
  margin-top: 12px;
}

.schedule-status {
  margin-top: 6px;
  font-size: 13px;
  color: rgba(1, 73, 171, 0.8);
  min-height: 18px;
}

.mentor-schedule-modal-overlay {
  z-index: 11000;
}

.mentor-schedule-modal {
  max-width: 480px;
}

.mentor-schedule-modal-header h2 {
  margin: 0 0 8px 0;
  font-size: 22px;
}

.mentor-schedule-modal-header p {
  margin: 0;
  font-size: 14px;
  color: #6b7280;
}

.mentor-schedule-modal-body {
  padding: 0 32px 16px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mentor-schedule-modal-footer {
  padding: 16px 32px 24px 32px;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.vc-description {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(1, 73, 171, 0.75);
  font-weight: 400;
  margin-top: 8px;
}

/* Product Info Section */
.vc-product-info {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
  min-height: 0;
}

.vc-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
}

.vc-avatar-wrapper {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 12px;
  overflow: visible;
  background: #f2f6fb;
  border: 1px solid rgba(1, 73, 171, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.vc-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vc-avatar-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary-blue);
}

.vc-header-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  gap: 4px;
}

.vc-header-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-blue);
  text-align: left;
}

.vc-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
}

.vc-bookmark-inline {
  background: rgba(1, 73, 171, 0.08);
  border: 1px solid rgba(1, 73, 171, 0.2);
  border-radius: 8px;
  padding: 4px 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-blue);
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.vc-bookmark-inline .material-icons {
  font-size: 18px;
}

.vc-bookmark-inline:hover {
  background: rgba(1, 73, 171, 0.15);
  border-color: rgba(1, 73, 171, 0.3);
}

.vc-bookmark-inline.saved {
  background: rgba(1, 73, 171, 0.18);
  border-color: rgba(1, 73, 171, 0.35);
}

.vc-bookmark-inline .save-loader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 8px;
}

.vc-header-type {
  font-size: 12px;
  font-weight: 600;
  color: rgba(1, 73, 171, 0.7);
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.vc-actions-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.vc-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.vc-title-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.vc-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-blue);
  line-height: 1.3;
  min-height: 24px;
}

.vc-type-label {
  font-size: 11px;
  font-weight: 600;
  color: rgba(1, 73, 171, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Inline View Button */
.btn-view-inline {
  background: rgba(1, 73, 171, 0.1);
  color: var(--primary-blue);
  border: 1px solid rgba(1, 73, 171, 0.2);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
  white-space: nowrap;
}

.btn-view-inline:hover {
  background: rgba(1, 73, 171, 0.15);
  border-color: rgba(1, 73, 171, 0.3);
  transform: translateY(-1px);
  color: var(--primary-blue);
}

/* Info Grid */
.vc-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.vc-info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(1, 73, 171, 0.8);
  font-weight: 500;
}

.vc-info-item .material-icons {
  font-size: 18px;
  color: var(--primary-blue);
  flex-shrink: 0;
}

.vc-meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
}



/* Expanded Details Section */
.vc-expanded-details {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(1, 73, 171, 0.2);
  animation: slideDown 0.3s ease-out;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scrollable Content Area */
.vc-expanded-scroll {
  max-height: 200px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 8px;
  margin-bottom: 12px;
  flex: 1;
}

/* Custom Scrollbar */
.vc-expanded-scroll::-webkit-scrollbar {
  width: 6px;
}

.vc-expanded-scroll::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.vc-expanded-scroll::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 10px;
}

.vc-expanded-scroll::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.vc-description-full {
  margin-bottom: 16px;
}

.vc-description-full strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}

.vc-description-full p {
  font-size: 13px;
  line-height: 1.6;
  color: #495057;
  font-weight: 400;
  margin: 0;
}

.vc-key-points-full {
  margin-bottom: 16px;
}

.vc-key-points-full strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}

.vc-key-points-full ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.vc-key-points-full li {
  font-size: 13px;
  line-height: 1.6;
  color: #495057;
  font-weight: 400;
  padding: 4px 0;
  padding-left: 20px;
  position: relative;
}

.vc-key-points-full li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary-blue);
  font-weight: bold;
}


/* Action Buttons Row */
.vc-action-buttons-row {
  display: flex;
  gap: 8px;
  margin-top: auto;
  flex-shrink: 0;
  width: 100%;
}

/* Hide Details Button */
.btn-hide-details {
  background: #f8f9fa;
  color: #0f172a;
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: all 0.2s;
}

.btn-hide-details:hover {
  background: #e9ecef;
  border-color: rgba(0, 0, 0, 0.15);
  transform: translateY(-1px);
}

.btn-hide-details .material-icons {
  font-size: 16px;
}

.btn-view-more:hover,
.btn-view-less:hover {
  background: rgba(255, 255, 255, 0.35) !important;
  transform: translateY(-1px);
}

.vc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
  flex-shrink: 0;
  min-height: 28px;
  max-height: 56px;
  overflow: hidden;
}

.tag {
  background: #e9ecef;
  color: #495057;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 500;
  border: none;
  white-space: nowrap;
}

.tag-industry {
  background: #f8f9fa !important;
  color: #0f172a !important;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
}

/* Visit Website Button */
.btn-visit-website {
  background: #f8f9fa;
  color: #0f172a;
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: all 0.2s;
  flex-shrink: 0;
}

/* When in action buttons row */
.vc-action-buttons-row .btn-visit-website {
  flex: 1;
}

/* When standalone (no view button) */
.vc-product-info > .btn-visit-website {
  width: 100%;
  margin-top: auto;
  margin-bottom: 0;
}

.btn-visit-website:hover {
  background: #e9ecef;
  border-color: rgba(0, 0, 0, 0.15);
  color: #0f172a;
  transform: translateY(-1px);
}

.btn-visit-website .material-icons {
  font-size: 16px;
}

/* VC Modal Styles */
.vc-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 10000;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.vc-modal-overlay.show {
  opacity: 1;
}

.vc-modal {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  max-width: 700px;
  width: 90%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.9);
  transition: transform 0.3s ease;
  position: relative;
  color: var(--text-dark);
}

.vc-modal-overlay.show .vc-modal {
  transform: scale(1);
}

/* Modal Close Button */
.vc-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  z-index: 10;
  border-radius: 50%;
}

.vc-modal-close:hover {
  background: #f5f5f5;
}

.vc-modal-close .material-icons {
  font-size: 24px;
  color: #666;
}

/* Modal Header with Profile Photo */
.vc-modal-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 32px 32px 24px 32px;
  flex-shrink: 0;
}

.vc-modal-profile {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgb(0, 99, 230) 0%, rgb(26, 125, 255) 50%, rgb(0, 150, 255) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.vc-modal-profile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vc-modal-logo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 32px;
  color: #fff;
}

.vc-modal-title-section {
  flex: 1;
}

.vc-modal-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-blue);
  margin: 0 0 12px 0;
  line-height: 1.2;
}

.vc-modal-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.vc-modal-tag {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  display: inline-block;
}

.vc-modal-tag-primary {
  background: var(--primary-blue);
  color: #fff;
}

.vc-modal-tag-secondary {
  background: #e0e0e0;
  color: #333;
}

/* Modal Summary */
.vc-modal-summary {
  padding: 0 32px 24px 32px;
  font-size: 15px;
  line-height: 1.6;
  color: #333;
  font-weight: 500;
  flex-shrink: 0;
}

/* Modal Info Cards Grid */
.vc-modal-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 0 32px 24px 32px;
  flex-shrink: 0;
}

.vc-modal-info-card {
  background: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.vc-modal-info-card .material-icons {
  font-size: 24px;
  color: var(--primary-blue);
  flex-shrink: 0;
  margin-top: 2px;
}

.vc-modal-info-content {
  flex: 1;
}

.vc-modal-info-label {
  font-size: 12px;
  font-weight: 600;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.vc-modal-info-value {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  line-height: 1.4;
}

/* Modal Scrollable Content Area */
.vc-modal-scrollable {
  flex: 1;
  overflow-y: auto;
  min-height: 0;
}

.vc-modal-scrollable::-webkit-scrollbar {
  width: 8px;
}

.vc-modal-scrollable::-webkit-scrollbar-track {
  background: #f5f5f5;
  border-radius: 10px;
}

.vc-modal-scrollable::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
}

.vc-modal-scrollable::-webkit-scrollbar-thumb:hover {
  background: #999;
}

/* About This Opportunity Section */
.vc-modal-about {
  padding: 24px 32px;
  border-top: 1px solid #e0e0e0;
}

.vc-modal-about-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.vc-modal-about-header .material-icons {
  font-size: 20px;
  color: var(--primary-blue);
}

.vc-modal-about-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-blue);
  margin: 0;
}

.vc-modal-about-text {
  font-size: 15px;
  line-height: 1.8;
  color: #333;
  font-weight: 500;
  margin: 0;
}

.vc-modal-key-points {
  list-style: none;
  padding: 0;
  margin: 0;
}

.vc-modal-key-points li {
  font-size: 15px;
  line-height: 1.8;
  color: #333;
  font-weight: 500;
  padding: 6px 0;
  padding-left: 24px;
  position: relative;
}

.vc-modal-key-points li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary-blue);
  font-weight: bold;
  font-size: 18px;
}

.vc-modal-footer {
  display: flex;
  gap: 12px;
  padding: 20px 32px;
  border-top: 1px solid #e0e0e0;
  flex-shrink: 0;
  background: #fff;
  margin-top: auto;
}

.btn-hide-modal {
  background: #f5f5f5;
  color: var(--primary-blue);
  border: 1px solid #e0e0e0;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s;
}

.btn-hide-modal:hover {
  background: #e0e0e0;
  transform: translateY(-1px);
}

.btn-hide-modal .material-icons {
  font-size: 18px;
  color: var(--primary-blue);
}

.btn-visit-website-modal {
  background: var(--primary-blue);
  color: #fff;
  border: 1px solid var(--primary-blue);
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s;
}

.btn-visit-website-modal:hover {
  background: var(--primary-blue-gradient);
  transform: translateY(-1px);
}

.btn-visit-website-modal .material-icons {
  font-size: 18px;
}

.btn {
  padding: 10px 20px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s;
  font-family: 'Inter', sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, rgb(0, 99, 230) 0%, rgb(26, 125, 255) 50%, rgb(0, 150, 255) 100%);
  color: white;
  border: none;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(0, 99, 230, 0.3), 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 99, 230, 0.4), 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 99, 230, 0.3);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}

.btn-outline {
  background: transparent;
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
}

.btn-outline:hover {
  background: rgba(1, 73, 171, 0.2);
}

/* Profile Page */
.profile-container {
  max-width: 900px;
  margin: 0 auto;
}

.profile-header-card {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-header-main {
  display: flex;
  align-items: center;
  gap: 24px;
}

.profile-avatar-wrapper {
  flex-shrink: 0;
}

.profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 20px 0 0;
  background: var(--primary-blue);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 700;
  border: 4px solid var(--primary-blue-surface);
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.profile-avatar-image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.profile-header-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.profile-name {
  font-size: 22px;
  font-weight: 600;
  color: var(--primary-blue);
  margin-bottom: 8px;
}

.profile-email {
  color: var(--primary-blue);
  font-size: 14px;
  margin-bottom: 4px;
  opacity: 0.8;
}

.profile-company {
  color: var(--primary-blue);
  font-size: 14px;
  font-weight: 500;
}

.profile-back-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  padding: 0;
  background: transparent;
  border: none;
  color: var(--primary-blue);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}

.profile-back-button .material-icons {
  font-size: 20px;
}

.profile-back-button:hover {
  opacity: 0.8;
}

.profile-menu {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid var(--border-gray);
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  color: var(--primary-blue);
}

.menu-item:last-child {
  border-bottom: none;
}

.menu-item:hover {
  background: rgba(1, 73, 171, 0.05);
}

.menu-item-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.menu-item-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(1, 73, 171, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5ba3ff;
  border: 1px solid rgba(1, 73, 171, 0.3);
}

.menu-item-text {
  font-size: 16px;
  font-weight: 500;
}

/* Loading and Empty States */
.loading-container, .empty-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 80px 20px;
  text-align: center;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  width: 100%;
  max-width: 600px;
  min-height: 320px;
  margin: 0 auto;
}

.loading-container .material-icons,
.empty-container .material-icons {
  font-size: 64px;
  color: #9ca3af;
  margin-bottom: 12px;
}

.loading-text, .empty-text {
  font-size: 18px;
  font-weight: 700;
  margin-top: 12px;
  color: #0f172a;
}

.empty-subtext {
  font-size: 14px;
  margin-top: 8px;
  color: #6b7280;
}

/* Utility Classes */
.hidden {
  display: none;
}

.text-center {
  text-align: center;
}

.mt-16 {
  margin-top: 16px;
}

.mb-16 {
  margin-bottom: 16px;
}

.mt-32 {
  margin-top: 32px;
}

.mb-32 {
  margin-bottom: 32px;
}

/* Accountability Page Styles */
.accountability-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-gray);
  padding-bottom: 0;
}

.accountability-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-gray);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  font-family: 'Inter', sans-serif;
}

.accountability-tab:hover {
  color: var(--primary-blue);
  background: rgba(1, 73, 171, 0.05);
}

.accountability-tab.active {
  color: var(--primary-blue);
  border-bottom-color: var(--primary-blue);
  background: transparent;
}

.accountability-tab .material-icons {
  font-size: 20px;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Partners Sub-tabs */
.partners-subtabs {
  display: flex;
  gap: 0;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-gray);
}

.partner-subtab {
  padding: 12px 24px;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-gray);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  font-family: 'Inter', sans-serif;
  position: relative;
}

.partner-subtab:hover {
  color: var(--primary-blue);
  background: rgba(1, 73, 171, 0.05);
}

.partner-subtab.active {
  color: var(--primary-blue);
  border-bottom-color: var(--primary-blue);
}

/* Funding Filters */
.funding-filters {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.filters-row {
  display: flex;
  gap: 16px;
  align-items: flex-end;
  flex-wrap: wrap;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 150px;
}

.filter-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.filter-select,
.filter-input {
  padding: 10px 12px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  background: #ffffff;
  color: var(--text-dark);
  transition: all 0.2s;
  width: 100%;
}

.filter-select:focus,
.filter-input:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(1, 73, 171, 0.1);
}

.filter-select:hover,
.filter-input:hover {
  border-color: #ccc;
}

.filter-clear-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  height: fit-content;
}

.filter-clear-btn:hover {
  background: #e9ecef;
  border-color: #ccc;
}

.filter-clear-btn .material-icons {
  font-size: 18px;
}

@media (max-width: 768px) {
  .filters-row {
    flex-direction: column;
  }
  
  .filter-group {
    min-width: 100%;
  }
  
  .filter-clear-btn {
    width: 100%;
    justify-content: center;
  }
}

.partner-subtab .badge {
  display: inline-block;
  background: var(--primary-blue);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 10px;
  margin-left: 6px;
  min-width: 18px;
  text-align: center;
}

/* Partners Content */
.partners-content {
  min-height: 400px;
}

/* Goals Sub-content */
.goals-subcontent {
  display: none;
}

.goals-subcontent.active {
  display: block;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

/* Partner Card */
.partner-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gray);
  border-radius: 12px;
  padding: 20px;
  transition: all 0.3s;
  backdrop-filter: blur(10px);
}

.partner-card:hover {
  border-color: var(--primary-blue);
  box-shadow: 0 4px 16px rgba(1, 73, 171, 0.2);
  transform: translateY(-2px);
  background: rgba(25, 29, 36, 0.9);
}

.partner-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.partner-avatar-container {
  position: relative;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.partner-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--success-green) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
}

.partner-avatar-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.partner-info {
  flex: 1;
}

.partner-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-light);
  margin: 0 0 4px 0;
  font-family: 'Inter', sans-serif;
}

.partner-company {
  font-size: 14px;
  color: var(--text-gray);
  margin: 0;
}

.partner-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-gray);
}

.detail-item {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}

.detail-label {
  color: var(--text-gray);
  font-weight: 500;
}

.detail-value {
  color: var(--text-light);
  font-weight: 400;
}

.partner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.btn-streak {
  flex: 1;
  min-width: 120px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-gray);
  border-radius: 6px;
  color: var(--text-gray);
  font-size: 13px;
  font-weight: 500;
  cursor: not-allowed;
  transition: all 0.2s;
}

.btn-streak:disabled {
  opacity: 0.6;
}

.btn-chat,
.btn-view,
.btn-schedule {
  padding: 8px 16px;
  border: 1px solid var(--border-gray);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Inter', sans-serif;
}

.btn-chat {
  background: var(--primary-blue);
  color: #fff;
  border-color: var(--primary-blue);
}

.btn-chat:hover {
  background: #0158c4;
  border-color: #0158c4;
}

.btn-view,
.btn-schedule {
  background: transparent;
  color: var(--text-light);
}

.btn-view:hover,
.btn-schedule:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--primary-blue);
}

.btn-chat .material-icons,
.btn-view .material-icons,
.btn-schedule .material-icons {
  font-size: 16px;
}

/* Discover List */
.discover-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

/* Discover Card - Square */
.discover-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(1, 73, 171, 0.03) 100%);
  border: 1px solid rgba(1, 73, 171, 0.15);
  border-radius: 12px;
  padding: 24px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  aspect-ratio: 1;
  width: 100%;
  min-height: 320px;
  justify-content: space-between;
  box-shadow: 0 2px 8px rgba(1, 73, 171, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

/* Saved Goals / Saved Check-ins cards */
.goal-card {
  aspect-ratio: unset;
  min-height: auto;
  align-items: flex-start;
  text-align: left;
  padding: 20px;
  gap: 12px;
  justify-content: flex-start;
  background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(1, 73, 171, 0.04) 100%);
  border: 1px solid rgba(1, 73, 171, 0.18);
  box-shadow: 0 2px 10px rgba(1, 73, 171, 0.12), 0 1px 4px rgba(0, 0, 0, 0.08);
}

.goal-card .discover-card-content {
  align-items: flex-start;
  text-align: left;
  width: 100%;
  gap: 10px;
}

.goal-card .discover-card-details-compact {
  width: 100%;
}

.discover-card:hover {
  box-shadow: 0 4px 16px rgba(1, 73, 171, 0.2), 0 2px 8px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
  border-color: rgba(1, 73, 171, 0.3);
  background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(1, 73, 171, 0.05) 100%);
}

.discover-card-avatar {
  margin-bottom: 16px;
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto;
}

.partner-avatar-large {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #e9ecef;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #495057;
  font-weight: 600;
  font-size: 28px;
}

.partner-avatar-image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

/* My Partner Card - New Layout */
.my-partner-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(1, 73, 171, 0.03) 100%);
  border: 1px solid rgba(1, 73, 171, 0.15);
  border-radius: 12px;
  padding: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(1, 73, 171, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
  width: 100%;
}

.my-partner-card:hover {
  box-shadow: 0 4px 16px rgba(1, 73, 171, 0.2), 0 2px 8px rgba(0, 0, 0, 0.1);
  border-color: rgba(1, 73, 171, 0.3);
  background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(1, 73, 171, 0.05) 100%);
}

.my-partner-card-header {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.my-partner-avatar {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  position: relative;
}

.my-partner-avatar .partner-avatar-large,
.my-partner-avatar .partner-avatar-image {
  width: 64px;
  height: 64px;
  border-radius: 50%;
}

.my-partner-avatar .partner-avatar-large {
  font-size: 24px;
  background: linear-gradient(135deg, rgb(0, 99, 230) 0%, rgb(26, 125, 255) 50%, rgb(0, 150, 255) 100%);
  color: #ffffff;
}

.my-partner-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.my-partner-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.my-partner-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-blue);
  margin: 0;
  padding: 0;
  text-align: left;
  flex: 1;
}

.btn-view-icon-inline {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(1, 73, 171, 0.6);
  transition: all 0.2s;
  border-radius: 4px;
}

.btn-view-icon-inline:hover {
  background: rgba(1, 73, 171, 0.1);
  color: var(--primary-blue);
}

.btn-view-icon-inline .material-icons {
  font-size: 20px;
}

.btn-view-icon-inline .btn-loader {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-view-icon-inline .btn-loader .material-icons {
  font-size: 20px;
}

.btn-view-icon-inline {
  position: relative;
}

.my-partner-company {
  font-size: 14px;
  color: rgba(1, 73, 171, 0.7);
  margin: 0;
  padding: 0;
  text-align: left;
  font-weight: 500;
}

.my-partner-actions-row {
  display: flex;
  gap: 8px;
  margin-top: 4px;
  justify-content: flex-start;
  flex-wrap: nowrap;
  width: 100%;
}

.btn-partner-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  background: rgba(1, 73, 171, 0.1);
  color: var(--primary-blue);
  border: 1px solid rgba(1, 73, 171, 0.2);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  flex: 1 1 0;
  min-width: 0;
}

.btn-partner-action:hover {
  background: rgba(1, 73, 171, 0.15);
  border-color: rgba(1, 73, 171, 0.3);
  transform: translateY(-1px);
}

.btn-partner-action .material-icons {
  font-size: 18px;
}

.my-partner-schedule-row {
  margin-top: 8px;
  display: flex;
  justify-content: flex-start;
  width: 100%;
}

.btn-schedule-meet {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(1, 73, 171, 0.1);
  color: var(--primary-blue);
  border: 1px solid rgba(1, 73, 171, 0.2);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-schedule-meet:hover {
  background: rgba(1, 73, 171, 0.15);
  border-color: rgba(1, 73, 171, 0.3);
  transform: translateY(-1px);
}

.btn-schedule-meet .material-icons {
  font-size: 20px;
}

@media (max-width: 768px) {
  .my-partner-card-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .my-partner-name,
  .my-partner-company {
    text-align: left;
  }
  
  .my-partner-actions-row {
    justify-content: flex-start;
    width: 100%;
  }
  
  .my-partner-schedule-row {
    justify-content: flex-start;
    width: 100%;
  }
  
  .btn-partner-action {
    flex: 1;
  }
}

.discover-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
  width: 100%;
}

.discover-tag {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(1, 73, 171, 0.1);
  color: var(--primary-blue);
  border: 1px solid rgba(1, 73, 171, 0.2);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.discover-card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  flex: 1;
  justify-content: flex-start;
  min-height: 0;
  overflow: hidden;
}

.discover-card-name {
  font-size: 18px;
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 6px 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  text-align: center;
  width: 100%;
}

.discover-card-company-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 8px;
}

.discover-card-company {
  margin: 0;
  flex: 1;
  color: rgba(255, 255, 255, 0.9);
}

.discover-card-icons {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.discover-card-company {
  font-size: 14px;
  color: var(--text-gray);
  margin: 0 0 16px 0;
}

.discover-card-details-compact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  margin-bottom: 16px;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.detail-item-compact {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  padding: 4px 0;
}

.detail-label-compact {
  color: #6b7280;
  font-weight: 500;
}

.detail-value-compact {
  font-size: 14px;
  color: #0f172a;
  font-weight: 500;
  text-align: right;
  flex: 1;
  margin-left: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.btn-view-icon,
.btn-invite-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f8f9fa;
  color: #0f172a;
  border: 1px solid rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
  padding: 0;
}

.btn-view-icon:hover,
.btn-invite-icon:hover {
  background: #e9ecef;
  border-color: rgba(0, 0, 0, 0.15);
  transform: scale(1.05);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.btn-invite-icon:hover {
  background: var(--primary-blue);
  color: #fff;
  transform: scale(1.05);
  box-shadow: 0 2px 4px rgba(1, 73, 171, 0.3);
}

.btn-invite-icon:active {
  transform: scale(0.95);
}

.btn-view-icon .material-icons,
.btn-invite-icon .material-icons {
  display: inline-block;
}

.btn-loader {
  display: none;
  vertical-align: middle;
}

.btn-view-icon:disabled,
.btn-invite-icon:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-view-icon .material-icons,
.btn-invite-icon .material-icons {
  font-size: 18px;
}

/* Accept/Reject Request Buttons */
.btn-accept-request,
.btn-reject-request {
  flex: 1;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: 'Inter', sans-serif;
  border: none;
}

.btn-accept-request {
  background: var(--success-green);
  color: #fff;
  box-shadow: 0 1px 2px rgba(2, 137, 105, 0.2);
}

.btn-accept-request:hover {
  background: #027a5e;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(2, 137, 105, 0.3);
}

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

.btn-reject-request {
  background: #f8f9fa;
  color: #0f172a;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.btn-reject-request:hover {
  background: #e9ecef;
  border-color: rgba(0, 0, 0, 0.15);
  transform: translateY(-1px);
}

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

.btn-accept-request .material-icons,
.btn-reject-request .material-icons {
  font-size: 18px;
}

/* Chat and Schedule Partner Buttons */
.btn-chat-partner,
.btn-schedule-partner {
  flex: 1;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: 'Inter', sans-serif;
  border: none;
}

.btn-chat-partner {
  background: var(--primary-blue);
  color: #fff;
  box-shadow: 0 1px 2px rgba(1, 73, 171, 0.2);
}

.btn-chat-partner:hover {
  background: var(--primary-blue-gradient);
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(1, 73, 171, 0.3);
}

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

.btn-schedule-partner {
  background: #f8f9fa;
  color: #0f172a;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.btn-schedule-partner:hover {
  background: #e9ecef;
  border-color: rgba(0, 0, 0, 0.15);
  transform: translateY(-1px);
}

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

.btn-chat-partner .material-icons,
.btn-schedule-partner .material-icons {
  font-size: 18px;
}

.btn-invite-icon[data-is-invited="true"] {
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-invite-icon[data-is-invited="true"]:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-invite:hover {
  background: #0158c4;
  border-color: #0158c4;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(1, 73, 171, 0.3);
}

.btn-invite .material-icons {
  font-size: 18px;
}

.btn-invite:disabled {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-gray);
  color: var(--text-gray);
  cursor: not-allowed;
  opacity: 0.6;
}

@media (max-width: 1024px) {
  .discover-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .discover-list {
    grid-template-columns: 1fr;
  }

  .discover-card {
    min-height: 280px;
  }
}

/* Empty State */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
  color: var(--text-gray);
}

.empty-state .material-icons {
  font-size: 64px;
  color: var(--text-gray);
  opacity: 0.5;
  margin-bottom: 16px;
}

.empty-state p {
  font-size: 16px;
  margin: 8px 0;
  color: var(--text-light);
}

.empty-subtext {
  font-size: 14px;
  color: var(--text-gray);
}

/* Goals & Tracking Content */
.goals-tracking-content {
  padding: 0;
}

.goals-header {
  padding: 0 24px 24px 24px;
  display: flex;
  justify-content: flex-start;
}

.btn-goal-post {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, rgb(0, 99, 230) 0%, rgb(26, 125, 255) 50%, rgb(0, 150, 255) 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Inter', sans-serif;
  box-shadow: 0 2px 8px rgba(0, 99, 230, 0.3);
}

.btn-goal-post:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 99, 230, 0.4);
}

.btn-goal-post .material-icons {
  font-size: 20px;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--primary-blue) !important;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .content-grid {
    grid-template-columns: 1fr;
  }
  
  .sidebar {
    position: static;
    margin-bottom: 24px;
  }
  
  .sidebar-nav {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .main-content-wrapper {
    margin-left: 0 !important;
  }
  
  .content-grid {
    padding: 0 16px 16px 16px;
  }
  
  .page-header {
    padding: 16px 16px 8px 16px;
  }
  
  .page-header h1 {
    margin: 0 0 4px 0;
  }
  
  .search-bar {
    padding: 12px 16px;
  }
  
  .top-navbar {
    padding: 0 20px;
  }
  
  .nav-links {
    display: none;
  }
  
  .main-container, .dashboard-content {
    padding: 20px;
  }
  
  .auth-card {
    padding: 32px 24px;
  }
}

/* Chat List Styles - Instagram/WhatsApp Style */
.chat-list-item {
  display: flex !important;
  align-items: center !important;
  padding: 12px 16px !important;
  background: #ffffff !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
  cursor: pointer !important;
  transition: background-color 0.2s ease !important;
  gap: 12px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.chat-list-item:hover {
  background-color: #f5f5f5 !important;
}

.chat-list-item:active {
  background-color: #eeeeee !important;
}

.chat-avatar {
  width: 56px !important;
  height: 56px !important;
  min-width: 56px !important;
  min-height: 56px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
  background: linear-gradient(135deg, rgb(0, 99, 230) 0%, rgb(26, 125, 255) 50%, rgb(0, 150, 255) 100%) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
}

.chat-avatar img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.chat-avatar-initials {
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  font-size: 20px !important;
  text-transform: uppercase !important;
  margin: 0 !important;
  padding: 0 !important;
}

.chat-content {
  flex: 1 !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  overflow: hidden !important;
}

.chat-header-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  width: 100% !important;
}

.chat-name {
  font-weight: 600 !important;
  font-size: 16px !important;
  color: #0f172a !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.4 !important;
}

.chat-timestamp {
  font-size: 12px !important;
  color: #6b7280 !important;
  flex-shrink: 0 !important;
  white-space: nowrap !important;
  margin: 0 !important;
  padding: 0 !important;
}

.chat-message-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  width: 100% !important;
}

.chat-message-preview {
  font-size: 14px !important;
  color: #6b7280 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  flex: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.4 !important;
}

.chat-unread-badge {
  background: linear-gradient(135deg, rgb(0, 99, 230) 0%, rgb(26, 125, 255) 50%, rgb(0, 150, 255) 100%) !important;
  color: #ffffff !important;
  border-radius: 12px !important;
  min-width: 20px !important;
  height: 20px !important;
  padding: 0 6px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
}

/* Chat list container */
.chat-list-container {
  background: #ffffff !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
  width: 100% !important;
  display: block !important;
}

.chat-list-container .chat-list-item:first-child {
  border-top-left-radius: 12px !important;
  border-top-right-radius: 12px !important;
}

.chat-list-container .chat-list-item:last-child {
  border-bottom: none !important;
  border-bottom-left-radius: 12px !important;
  border-bottom-right-radius: 12px !important;
}

/* Update contentArea when showing chat list */
#contentArea:has(.chat-list-container),
.content-area:has(.chat-list-container),
.main-content:has(.chat-list-container) {
  background: transparent !important;
  padding: 20px !important;
  box-shadow: none !important;
  display: block !important;
}

/* Ensure main-content doesn't interfere with chat list */
.main-content .chat-list-container {
  max-width: 100% !important;
  margin: 0 !important;
}

/* Notification Styles */
.notification-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.notification-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.notification-card.unread {
  border-left: 4px solid var(--primary-blue);
  background: #f8f9ff;
}

.notification-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.notification-icon .material-icons {
  font-size: 24px;
}

.notification-content {
  flex: 1;
  min-width: 0;
}

.notification-title {
  font-size: 16px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 4px;
  line-height: 1.4;
}

.notification-message {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.5;
  margin-bottom: 8px;
}

.notification-time {
  font-size: 12px;
  color: #9ca3af;
}

.notification-unread-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-blue);
  flex-shrink: 0;
  margin-top: 4px;
}

/* Override any existing card styles for chat items */
.chat-list-item * {
  box-sizing: border-box !important;
}

/* Ensure no other styles interfere */
.chat-list-item .vc-card,
.chat-list-item .vc-header,
.chat-list-item .vc-info,
.chat-list-item .vc-name,
.chat-list-item .vc-meta {
  all: unset !important;
  display: revert !important;
}

/* Notification Styles */
.notification-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.notification-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.notification-card.unread {
  border-left: 4px solid var(--primary-blue);
  background: #f8f9ff;
}

.notification-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.notification-icon .material-icons {
  font-size: 24px;
}

.notification-content {
  flex: 1;
  min-width: 0;
}

.notification-title {
  font-size: 16px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 4px;
  line-height: 1.4;
}

.notification-message {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.5;
  margin-bottom: 8px;
}

.notification-time {
  font-size: 12px;
  color: #9ca3af;
}

.notification-unread-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-blue);
  flex-shrink: 0;
  margin-top: 4px;
}
