/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
  min-height: 100vh;
}

/* Accessibility */
:focus {
  outline: none;
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: #007bff;
  color: white;
  padding: 8px;
  text-decoration: none;
  border-radius: 3px;
  z-index: 1000;
}

.skip-link:focus {
  top: 6px;
}

/* Header */
.header {
  background: #e9ecef;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 2rem;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.logo-text {
  font-size: 1.8rem;
  font-weight: 700;
  color: #333;
  text-transform: lowercase;
}

.trademark {
  font-size: 0.8rem;
  color: #333;
  font-weight: 400;
}

/* Search */
.search-container {
  position: relative;
  max-width: 500px;
  margin: 0 auto;
}

.search-icon {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #6c757d;
  z-index: 2;
}

.search-input {
  width: 100%;
  padding: 0.75rem 2.5rem 0.75rem 1rem;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  font-size: 0.9rem;
  background: white;
  color: #333;
  transition: all 0.2s ease;
}

.search-input::placeholder {
  color: #6c757d;
}

.search-input:focus {
  background: white;
  border-color: #007bff;
  outline: none;
}

/* Header Right */
.header-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  justify-content: flex-end;
}

.profile-picture-header {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.profile-picture-header:hover {
  transform: scale(1.05);
}

/* Navigation Bar */
.main-navigation {
  background: white;
  border-bottom: 1px solid #e9ecef;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 99;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
}

.nav-menu-link {
  display: block;
  padding: 1rem 0;
  text-decoration: none;
  color: #333;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s ease;
  border-bottom: 2px solid transparent;
}

.nav-menu-link:hover {
  color: #007bff;
  border-bottom-color: #007bff;
}

.nav-menu-link.active {
  color: #007bff;
  border-bottom-color: #007bff;
  font-weight: 600;
}

/* Toggle Switch */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 24px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .toggle-slider {
  background-color: #28a745;
}

input:checked + .toggle-slider:before {
  transform: translateX(20px);
}

/* Notifications */
.notifications {
  position: relative;
  cursor: pointer;
}

.notification-icon {
  font-size: 1.2rem;
  color: #333;
  transition: color 0.2s ease;
}

.notifications:hover .notification-icon {
  color: #007bff;
}

.notification-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #1e3a8a;
  color: white;
  font-size: 0.6rem;
  font-weight: 600;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Main Container */
.main-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
  display: grid;
  grid-template-columns: 280px 1fr 280px;
  gap: 2rem;
  min-height: calc(100vh - 100px);
}

/* Sidebars */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Combined Profile and My Apps Section */
.profile-apps-section {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.section-divider {
  border: none;
  height: 1px;
  background: #e9ecef;
  margin: 1.5rem 0;
}

.apps-content {
  margin-top: 1rem;
}

/* User Profile */
.user-profile {
  text-align: center;
}

.profile-picture {
  width: 80px;
  height: 80px;
  border: 3px solid #e3f2fd;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  background: #f8f9fa;
  overflow: hidden;
}

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

.profile-picture img:not([src]),
.profile-picture img[src=""] {
  display: none;
}

.profile-picture:not(:has(img))::before,
.profile-picture.fallback-profile::before {
  content: "\f007";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 2rem;
  color: #28a745;
}

.user-name {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #333;
}

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

.user-role,
.user-level,
.user-team {
  font-size: 0.75rem;
  color: #6c757d;
  margin-bottom: 0.2rem;
  line-height: 1.4;
}

.user-role {
  font-weight: 500;
  color: #333;
}

/* Navigation */
.main-nav {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.nav-list {
  list-style: none;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  text-decoration: none;
  color: #6c757d;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

.nav-link:hover {
  background: #f8f9fa;
  color: #28a745;
}

.nav-link.active {
  background: #f8f9fa;
  color: #28a745;
  border-left-color: #28a745;
  font-weight: 500;
}

.nav-link i {
  width: 20px;
  text-align: center;
}

.section-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  color: #333;
}

.meeting-cards {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

.meeting-card {
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: relative;
}

.meeting-card-blue {
  background: #e3f2fd;
}

.meeting-card-yellow {
  background: #fff8e1;
}

.meeting-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.meeting-title-organizer {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.meeting-location-time {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  align-items: center;
}

.meeting-location {
  font-size: 0.65rem;
  color: #6c757d;
  font-weight: 500;
}

.meeting-time {
  font-size: 0.65rem;
  color: #6c757d;
}

.meeting-options {
  background: none;
  border: none;
  color: #6c757d;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 3px;
  transition: all 0.2s ease;
}

.meeting-options:hover {
  background: rgba(0, 0, 0, 0.1);
  color: #333;
}

.meeting-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #333;
  margin: 0;
  line-height: 1.3;
}

.meeting-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 40px;
}

.attendees {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.attendee-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e9ecef;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6c757d;
  font-size: 0.65rem;
  border: 2px solid white;
  margin-left: -6px;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  overflow: hidden;
}

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

.attendee-avatar img:not([src]),
.attendee-avatar img[src=""] {
  display: none;
}

.attendee-avatar:not(.attendee-more):not(:has(img))::before,
.attendee-avatar.fallback-avatar::before {
  content: "\f007";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.65rem;
}

.attendee-avatar:first-child {
  margin-left: 0;
}

.attendee-avatar.attendee-more {
  background: #3b82f6;
  color: white;
  font-weight: 600;
  font-size: 0.55rem;
  min-width: 28px;
}

.join-call-btn {
  padding: 0.35rem 0.7rem;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.7rem;
  color: white;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 75px;
}

.join-call-blue {
  background: #2196f3;
}

.join-call-blue:hover {
  background: #1976d2;
  transform: translateY(-1px);
}

.join-call-yellow {
  background: #ff9800;
}

.join-call-yellow:hover {
  background: #f57c00;
  transform: translateY(-1px);
}

/* Main Content */
.main-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Meeting Schedule Section */
.meetings-section {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-top: 1rem;
  max-width: 100%;
  overflow: hidden;
}

.app-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 0.5rem;
  border-radius: 6px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.app-item:hover {
  background: #f8f9fa;
  transform: translateY(-2px);
}

.app-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  background: #f8f9fa;
}

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

.app-icon img:not([src]),
.app-icon img[src=""] {
  display: none;
}

.app-icon:not(.add-icon):not(:has(img))::before,
.app-icon.fallback-app::before {
  content: "\f007";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.9rem;
  color: #6c757d;
}

.app-icon.add-icon {
  background: #e9ecef;
  border: 2px dashed #6c757d;
  color: #6c757d;
  cursor: pointer;
  transition: all 0.2s ease;
}

.app-icon.add-icon:hover {
  background: #28a745;
  border-color: #28a745;
  color: white;
}

.app-icon.add-icon i {
  font-size: 0.8rem;
}

.app-name {
  font-size: 0.65rem;
  text-align: center;
  color: #333;
  font-weight: 500;
  line-height: 1.2;
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}

/* Spaces Section */
.spaces-section {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-top: 10px;
}

.spaces-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.space-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem 0;
  cursor: pointer;
  transition: background-color 0.2s ease;
  border-radius: 4px;
}

.space-item:hover {
  background: #f8f9fa;
}

.space-icon {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background: linear-gradient(135deg, #ff6b9d 0%, #ffa726 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.space-icon i {
  color: white;
  font-size: 1rem;
}

.space-info {
  flex: 1;
  min-width: 0;
}

.space-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #333;
  margin: 0 0 0.25rem 0;
  line-height: 1.2;
}

.space-description {
  font-size: 0.75rem;
  color: #6c757d;
  margin: 0;
  line-height: 1.3;
}

/* News Section */
.news-section {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.news-card {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
  align-items: stretch;
  margin-bottom: 1.5rem;
}

.news-card:last-child {
  margin-bottom: 0;
}

.news-card:not(:last-child) {
  border-bottom: 1px solid #e9ecef;
  padding-bottom: 1.5rem;
}

.news-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.news-category {
  background: #e6e6fa;
  color: #333;
  padding: 0.25rem 0.75rem;
  border-radius: 3px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  align-self: flex-start;
}

.news-category.corporate {
  background: #e6e6fa;
  color: #333;
}

.news-category.technology {
  background: #e3f2fd;
  color: #1976d2;
}

.news-category.facilities {
  background: #f3e5f5;
  color: #7b1fa2;
}

.news-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  color: #333;
  line-height: 1.3;
}

.news-description {
  color: #6c757d;
  margin: 0;
  line-height: 1.5;
  font-size: 0.85rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.75rem;
  color: #6c757d;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.news-meta span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.learn-more {
  margin-left: auto;
}

.learn-more-link {
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.learn-more-link:hover {
  color: #0056b3;
  text-decoration: underline;
}

.news-image {
  flex-shrink: 0;
  width: 160px;
  height: 160px;
  border-radius: 6px;
  overflow: hidden;
  background: #f8f9fa;
  align-self: stretch;
}

/* Special styling for news cards without descriptions */
.news-card:not(:has(.news-description)) .news-image {
  width: 120px;
  height: auto;
  align-self: stretch;
}

.news-card:not(:has(.news-description)) {
  align-items: stretch;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Modules Section */
.modules-section {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.module-card {
  border: 1px solid #e9ecef;
  border-radius: 6px;
  padding: 1rem;
  transition: all 0.2s ease;
}

.module-card:hover {
  border-color: #007bff;
  box-shadow: 0 2px 8px rgba(0, 123, 255, 0.1);
}

.module-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.module-title {
  font-size: 1rem;
  font-weight: 600;
  color: #333;
}

.module-menu {
  background: none;
  border: none;
  color: #6c757d;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 3px;
  transition: all 0.2s ease;
}

.module-menu:hover {
  background: #f8f9fa;
  color: #007bff;
}

.module-list {
  list-style: none;
}

.module-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0;
  color: #6c757d;
  font-size: 0.9rem;
}

.module-list i {
  font-size: 0.6rem;
  color: #6c757d;
}

/* Chat List Styles */
.chat-list {
  max-height: 300px;
  overflow-y: auto;
  padding: 0.5rem 0;
  scrollbar-width: thin;
  scrollbar-color: #dee2e6 transparent;
}

.chat-list::-webkit-scrollbar {
  width: 6px;
}

.chat-list::-webkit-scrollbar-track {
  background: transparent;
}

.chat-list::-webkit-scrollbar-thumb {
  background: #dee2e6;
  border-radius: 3px;
}

.chat-list::-webkit-scrollbar-thumb:hover {
  background: #adb5bd;
}

.chat-item {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  margin-bottom: 0.25rem;
}

.chat-item:hover {
  background: #f8f9fa;
}

.chat-item.unread {
  background: rgba(0, 123, 255, 0.05);
  font-weight: 500;
}

.chat-avatar {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

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

.status-indicator {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid white;
}

.status-indicator.online {
  background: #28a745;
}

.status-indicator.away {
  background: #ffc107;
}

.chat-info {
  flex: 1;
  min-width: 0;
}

.chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.25rem;
}

.chat-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: #333;
}

.chat-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.active-status {
  color: #28a745;
  font-size: 0.6rem;
}

.inactive-status {
  color: #6c757d;
  font-size: 0.6rem;
}

.chat-time {
  font-size: 0.7rem;
  color: #6c757d;
}

.chat-preview {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.chat-message {
  font-size: 0.8rem;
  color: #6c757d;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}

.chat-item.unread .chat-message {
  color: #333;
  font-weight: 500;
}

.unread-badge {
  background: #dc3545;
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 10px;
  min-width: 20px;
  text-align: center;
  flex-shrink: 0;
}

/* Team Spotlight */
.team-spotlight-list {
  padding: 0.5rem 0;
}

.spotlight-item {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  margin-bottom: 0.5rem;
}

.spotlight-item:hover {
  background: #f8f9fa;
}

.spotlight-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

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

.spotlight-info {
  flex: 1;
  min-width: 0;
}

.spotlight-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: #333;
  margin: 0 0 0.25rem 0;
}

.spotlight-role {
  font-size: 0.8rem;
  color: #6c757d;
  margin: 0 0 0.5rem 0;
}

.spotlight-achievement {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: #007bff;
  font-weight: 500;
}

.spotlight-achievement i {
  font-size: 0.8rem;
  color: #ffc107;
}

/* Unread Count Styles */
.ticket-count,
.chat-count {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ticket-header-right,
.chat-header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.unread-count {
  background: #dc3545;
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 10px;
  min-width: 20px;
  text-align: center;
}

/* View All Button */
.view-all-container {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e9ecef;
}

.view-all-btn {
  background: #007bff;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.view-all-btn:hover {
  background: #0056b3;
  transform: translateY(-1px);
}

/* Jira Ticket Styles */
.jira-ticket {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
}

/* Tickets Section (Right Sidebar) */
.tickets-section {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  margin-top: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tickets-list {
  margin-top: 1rem;
}

.ticket-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  margin-bottom: 0.5rem;
}

.ticket-item:hover {
  background: #f8f9fa;
}

.ticket-item.high-priority {
  background: #fff5f5;
  border-left: 4px solid #dc3545;
}

.ticket-item.medium-priority {
  background: #fffbf0;
  border-left: 4px solid #ffc107;
}

.ticket-item.low-priority {
  background: #f0fff4;
  border-left: 4px solid #28a745;
}

.ticket-item:last-child {
  margin-bottom: 0;
}

.ticket-priority {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.ticket-priority.high {
  background: #dc3545;
}

.ticket-priority.medium {
  background: #ffc107;
}

.ticket-priority.low {
  background: #28a745;
}

.ticket-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  flex: 1;
}

.ticket-id {
  font-size: 0.75rem;
  font-weight: 600;
  color: #007bff;
}

.ticket-title {
  font-size: 0.8rem;
  color: #333;
  line-height: 1.3;
}

/* Right Sidebar */
.sidebar-right {
  display: flex;
  flex-direction: column;
}

/* Upcoming Events Section */
.upcoming-events-section {
  background: white;
  padding: 20px;
  border-radius: 8px;
  margin-top: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.view-more-btn {
  background: none;
  border: none;
  color: #6c757d;
  font-size: 0.9rem;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 3px;
  transition: all 0.2s ease;
}

.view-more-btn:hover {
  color: #007bff;
  background: #f8f9fa;
}

.events-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.event-card {
  display: flex;
  align-items: center;
  background: #f8f9fa;
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.2s ease;
  margin-bottom: 0.5rem;
  padding: 0.5rem;
}

.event-card:hover {
  background: #e9ecef;
}

.event-color-bar {
  width: 4px;
  height: 100%;
  min-height: 40px;
}

.event-color-bar.cyan {
  background: #e0f7fa;
}

.event-color-bar.purple {
  background: #f3e5f5;
}

.event-color-bar.orange {
  background: #fff3e0;
}

.event-color-bar.pink {
  background: #fce4ec;
}

.event-color-bar.birthday {
  background: #fff3e0;
}

.event-content {
  flex: 1;
  padding: 0.5rem 0.75rem;
}

.event-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: #333;
  margin: 0 0 0.25rem 0;
  line-height: 1.2;
}

.event-date {
  font-size: 0.75rem;
  color: #666;
  margin: 0;
  line-height: 1.2;
}

.event-options {
  background: none;
  border: none;
  color: #6c757d;
  font-size: 0.7rem;
  cursor: pointer;
  padding: 0.5rem;
  margin-right: 0.5rem;
  border-radius: 3px;
  transition: all 0.2s ease;
}

.event-options:hover {
  color: #333;
  background: #e9ecef;
}

/* Useful Resources Section */
.useful-resources-section {
  margin-top: 10px;
}

.useful-resources-section .module-card {
  background: white;
  border: 1px solid #e9ecef;
  border-radius: 6px;
  padding: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.resources-list {
  padding: 0.5rem 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.resource-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
}

.resource-item:hover {
  background: #e9ecef;
  border-color: #007bff;
}

.resource-icon {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background: linear-gradient(135deg, #007bff, #0056b3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.resource-icon i {
  color: white;
  font-size: 1rem;
}

.resource-info {
  flex: 1;
  min-width: 0;
}

.resource-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #333;
  margin: 0 0 0.25rem 0;
}

.resource-description {
  font-size: 0.8rem;
  color: #6c757d;
  margin: 0;
  line-height: 1.4;
}

/* Footer Styles */
.footer {
  background: #e9ecef;
  color: #333;
  padding: 0.75rem 0; /* Reduced from 1.5rem to 0.75rem */
  border-top: 1px solid #dee2e6;
  margin-top: 2rem;
}
.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem; /* Reduced horizontal padding */
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem; /* Reduced gap */
  font-size: 0.95rem;
}
.footer-logo {
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 1px;
}
.footer-links a {
  color: #333;
  text-decoration: none;
  margin: 0 0.25rem;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: #007bff;
  text-decoration: underline;
}
.footer-copy {
  font-size: 0.95rem;
  color: #666;
}
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

/* Responsive Design */
@media (max-width: 1200px) {
  .main-container {
    grid-template-columns: 250px 1fr 250px;
    gap: 1.5rem;
    padding: 1.5rem;
  }

  .header-content {
    padding: 0 1.5rem;
    gap: 1.5rem;
  }
}

@media (max-width: 992px) {
  .main-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .sidebar {
    order: 2;
  }

  .sidebar-left {
    order: 1;
  }

  .sidebar-right {
    order: 3;
  }

  .header-content {
    grid-template-columns: 1fr;
    gap: 1rem;
    text-align: center;
  }

  .header-right {
    justify-content: center;
  }

  .nav-menu {
    gap: 1rem;
    flex-wrap: wrap;
  }

  .news-card {
    grid-template-columns: 1fr;
  }

  .news-image {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .main-container {
    padding: 1rem;
  }

  .header-content {
    padding: 0 1rem;
  }

  .nav-container {
    padding: 0 1rem;
  }

  .nav-menu {
    gap: 0.5rem;
  }

  .nav-menu-link {
    padding: 0.75rem 0;
    font-size: 0.9rem;
  }

  .meeting-card {
    padding: 1rem;
  }

  .meeting-title {
    font-size: 0.9rem;
  }

  .user-profile {
    padding: 1.25rem;
  }

  .profile-picture {
    width: 70px;
    height: 70px;
  }

  .user-name {
    font-size: 0.95rem;
  }

  .user-role,
  .user-level,
  .user-team {
    font-size: 0.7rem;
  }

  .meeting-footer {
    gap: 0.75rem;
  }

  .attendee-avatar {
    width: 24px;
    height: 24px;
    font-size: 0.55rem;
    margin-left: -4px;
  }

  .attendee-avatar.attendee-more {
    font-size: 0.45rem;
    min-width: 24px;
  }

  .join-call-btn {
    padding: 0.3rem 0.65rem;
    font-size: 0.65rem;
    min-width: 68px;
  }

  .apps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
  }

  .app-icon {
    width: 28px;
    height: 28px;
    font-size: 0.8rem;
  }

  .app-name {
    font-size: 0.6rem;
  }

  .modules-grid {
    grid-template-columns: 1fr;
  }

  .resources-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .header-right {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-menu {
    flex-direction: column;
    gap: 0;
  }

  .nav-menu-link {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
  }

  .meeting-card {
    padding: 0.75rem;
  }

  .meeting-title {
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
  }

  .user-profile {
    padding: 1rem;
  }

  .profile-picture {
    width: 60px;
    height: 60px;
  }

  .user-name {
    font-size: 0.9rem;
  }

  .user-role,
  .user-level,
  .user-team {
    font-size: 0.65rem;
  }

  .meeting-footer {
    gap: 0.5rem;
    flex-wrap: wrap;
  }

  .attendees {
    max-width: 60%;
  }

  .attendee-avatar {
    width: 22px;
    height: 22px;
    font-size: 0.5rem;
    margin-left: -3px;
  }

  .attendee-avatar.attendee-more {
    font-size: 0.4rem;
    min-width: 22px;
  }

  .join-call-btn {
    padding: 0.25rem 0.55rem;
    font-size: 0.6rem;
    min-width: 62px;
  }

  .apps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.3rem;
  }

  .app-icon {
    width: 24px;
    height: 24px;
    font-size: 0.7rem;
  }

  .app-name {
    font-size: 0.55rem;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .nav-link.active {
    background: #000;
    color: #fff;
  }

  .notification-badge {
    background: #000;
  }
}

/* Screen reader only class */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
