@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #121212 0%, #1a1a1a 50%, #121212 100%);
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-attachment: fixed;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(rgba(0, 255, 255, 0.03) 1px, transparent 1px),
    radial-gradient(rgba(0, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px, 20px 20px;
  background-position: 0 0, 20px 20px;
  pointer-events: none;
}


.profile-container::after {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  background: linear-gradient(45deg, rgba(0, 255, 255, 0.15), transparent, rgba(0, 255, 255, 0.15));
  z-index: -1;
  border-radius: 16px;
  animation: borderGlow 6s ease-in-out infinite;
  pointer-events: none;
}

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

.login-box h2 {
  margin-bottom: 20px;
  font-weight: 500;
}

.login-box form {
  display: flex;
  flex-direction: column;
}

.login-box input {
  margin-bottom: 15px;
  padding: 15px;
  border: 1px solid #333;
  border-radius: 6px;
  background-color: #2a2a2a;
  color: #ffffff;
  font-size: 1em;
}

.login-box button {
  padding: 15px;
  background: #007BFF;
  border: none;
  color: white;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.login-box button:hover {
  background: #0056b3;
}

#error-message {
  color: red;
  margin-top: 10px;
}

.profile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.profile-header h1 {
  margin: 0;
  font-size: 2em;
}

.profile-header button {
  padding: 10px 20px;
  background: #007BFF;
  border: none;
  color: white;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.profile-header button:hover {
  background: #0056b3;
}

.user-info {
  margin: 20px 0;
  background: #2a2a2a;
  padding: 20px;
  border-radius: 8px;
}

.user-info p {
  margin: 10px 0;
}

.user-info p strong {
  display: inline-block;
  width: 150px;
}

.user-info .project-header h3 {
  margin: 0;
  color: #fff;
  font-size: 1.5em;
  background: linear-gradient(90deg, #fff, #00ffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.user-info .project-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.info-content {
  padding: 10px;
}

.user-info .info-row {
  display: flex;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.user-info .info-row:last-child {
  border-bottom: none;
}

.info-icon {
  width: 32px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 255, 255, 0.1);
  border-radius: 50%;
  margin-right: 15px;
  font-size: 1.1em;
}

.user-info .label {
  display: block;
  color: #888;
  font-size: 0.9em;
  min-width: 120px;
}

.user-info .value {
  color: #fff;
  font-weight: 500;
  flex-grow: 1;
  text-align: right;
}

.user-info .info-row:hover {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 6px;
  transition: background 0.3s ease;
}

.user-info .info-row:hover .info-icon {
  background: rgba(0, 255, 255, 0.2);
  transform: scale(1.1);
  transition: all 0.3s ease;
}

.graph-container {
  position: relative;
  margin-top: 20px;
  background: linear-gradient(180deg, #2a2a2a 0%, #222 100%);
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.graph-container h3 {
  margin-bottom: 10px;
}

svg {
  border: 1px solid #333;
  border-radius: 8px;
  background-color: #2a2a2a;
  padding: 10px;
  overflow: visible;
}

.tooltip {
  position: absolute;
  padding: 10px;
  background: rgba(30, 30, 30, 0.95);
  color: white;
  border-radius: 8px;
  font-size: 12px;
  pointer-events: none;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  transition: opacity 0.2s ease;
  border: 1px solid rgba(0, 255, 255, 0.2);
  max-width: 250px;
  word-break: break-word;
  
  transform: none !important;
  animation: none !important;
}

.area {
  transition: opacity 0.3s ease;
}

.area:hover {
  opacity: 0.2;
}

.bar {
  transition: all 0.3s ease;
}

.bar:hover {
  cursor: pointer;
}

.line {
  filter: drop-shadow(0 0 8px rgba(0, 123, 255, 0.3));
  animation: pulse 2s infinite;
}

.line.inactive {
  animation: none;
  filter: drop-shadow(0 0 5px rgba(255, 68, 68, 0.5));
}

@keyframes pulse {
  0% {
    filter: drop-shadow(0 0 2px rgba(0, 123, 255, 0.5));
  }
  50% {
    filter: drop-shadow(0 0 8px rgba(0, 123, 255, 0.8));
  }
  100% {
    filter: drop-shadow(0 0 2px rgba(0, 123, 255, 0.5));
  }
}

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

@keyframes warning-pulse {
  0% { opacity: 0.4; }
  50% { opacity: 1; }
  100% { opacity: 0.4; }
}

.stats-overview {
  background: linear-gradient(145deg, #2a2a2a 0%, #1e1e1e 100%);
  border-radius: 16px;
  padding: 20px;
  margin: 20px 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.stats-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-0px);
  border-color: rgba(0, 255, 255, 0.1);
  box-shadow: 0 1px 1px rgba(0, 255, 255, 0.1);
}

.stat-icon {
  background: rgba(0, 255, 255, 0.05);
  padding: 12px;
  border-radius: 12px;
}

.stat-info {
  flex: 1;
}

.stat-info h3 {
  color: #888;
  font-size: 0.9em;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-value {
  font-size: 1.8em;
  font-weight: 700;
  color: #fff;
  margin: 5px 0;
  background: linear-gradient(90deg, #fff, #00ffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
  position: relative;
}

@keyframes shimmer {
  100% {
    transform: translateX(100%);
  }
}

.progress-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  margin-top: 8px;
  overflow: hidden;
}

.progress {
  height: 100%;
  background: linear-gradient(90deg, #007BFF, #00ffff);
  width: 0;
  transition: width 1.5s ease-in-out;
  position: relative;
  overflow: hidden;
}

.active-project-card {
  background: linear-gradient(145deg, #2a2a2a 0%, #1e1e1e 100%);
  border-radius: 16px;
  padding: 25px;
  margin: 20px 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.project-header h3 {
  margin: 0;
  color: #fff;
  font-size: 1.5em;
  background: linear-gradient(90deg, #fff, #00ffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.project-content {
  display: grid;
  gap: 20px;
}

.project-info {
  background: rgba(30, 30, 30, 0.4);
  border-radius: 16px;
  padding: 20px;
  margin: 20px 0;
  box-shadow: none;
  border: 1px solid rgba(0, 255, 255, 0.1);
}

.info-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-row:last-child {
  border-bottom: none;
}

.label {
  color: #888;
  font-size: 0.9em;
}

.value {
  color: #fff;
  font-weight: 500;
}

#project-status {
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(0, 255, 255, 0.1);
  color: #00ffff;
}

.team-section {
  background: rgba(255, 255, 255, 0.03);
  padding: 15px;
  border-radius: 12px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 15px;
  margin-top: 15px;
}

.team-member {
  background: rgba(0, 123, 255, 0.1);
  padding: 15px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid rgba(0, 255, 255, 0.1);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: relative;
  cursor: pointer;
  transition: transform 0.2s;
}

.team-member:hover {
  transform: scale(1.01);
}

.team-member.team-lead {
  background: linear-gradient(145deg, rgba(0, 255, 255, 0.1), rgba(0, 123, 255, 0.1));
  border-color: rgba(0, 255, 255, 0.2);
}

.member-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(0, 255, 255, 0.3);
}

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

.avatar-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #007BFF, #00ffff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: white;
  font-weight: bold;
}

.member-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.member-name {
  color: #00ffff;
  font-weight: 600;
  font-size: 1.1em;
  margin-bottom: 4px;
}

.member-fullname {
  color: #888;
  font-size: 0.9em;
  margin-bottom: 4px;
}

.team-lead-badge {
  background: rgba(0, 255, 255, 0.1);
  color: #00ffff;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.8em;
  display: inline-block;
}

.member-name {
  color: #fff;
  font-weight: 500;
}

.team-lead-badge {
  font-size: 0.8em;
  padding: 2px 8px;
  padding: 15px;
  border-radius: 12px;
}

.member-tooltip {
  min-width: 200px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.1);
}

.progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.project-progress-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #007BFF, #00ffff);
  width: 0;
  transition: width 1.5s ease-in-out;
  position: relative;
}

.progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  animation: shimmer 2s infinite;
}

.audit-timeline {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.audit-entry {
  background: rgba(255, 255, 255, 0.03);
  padding: 12px;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-left: 3px solid #00ffff;
  animation: slideIn 0.3s ease-out;
}

.audit-grade {
  font-size: 1.2em;
  font-weight: bold;
  color: #00ffff;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.group-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease;
}

.group-card:hover {
  transform: translateY(-5px);
}

.group-card.success {
  border-left: 4px solid #00ff00;
}

.group-card.fail {
  border-left: 4px solid #ff4444;
}

.group-card h5 {
  color: #00ffff;
  margin: 0 0 15px 0;
  font-size: 1.1em;
}

.group-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.captain {
  color: #888;
  font-size: 0.9em;
}

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

.member {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
}

.member span {
  color: #fff;
}

.member .ratio {
  background: rgba(0, 255, 255, 0.1);
  color: #00ffff;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.9em;
}

.audit-stats-container {
  margin-top: 40px !important;
  animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.group-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
  height: fit-content;
  display: flex;
  flex-direction: column;
}

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

.group-summary {
  padding: 12px 15px;
}

.group-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.group-title {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.group-title h4 {
  margin: 0;
  color: #fff;
  font-size: 1em;
  font-weight: 500;
}

.date {
  color: #888;
  font-size: 0.8em;
}

.grade-section {
  display: flex;
  align-items: center;
  gap: 10px;
}

.grade-badge {
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.85em;
  font-weight: 600;
}

.grade-badge.success {
  background: rgba(0, 255, 0, 0.1);
  color: #00ff00;
}

.grade-badge.fail {
  background: rgba(255, 68, 68, 0.1);
  color: #ff4444;
}

.expand-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 255, 255, 0.05);
  border-radius: 50%;
  color: #00ffff;
  cursor: pointer;
  font-size: 1.2em;
  transition: all 0.3s ease;
}

.expand-icon:hover {
  background: rgba(0, 255, 255, 0.1);
  transform: scale(1.1);
}

/* Details Section */
.group-details {
  max-height: 500px;
  transition: all 0.3s ease;
  background: rgba(0, 0, 0, 0.2);
}

.group-details.hidden {
  max-height: 0;
  overflow: hidden;
}

.details-section {
  padding: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.members-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.member-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
}

.member-login {
  color: #fff;
  font-size: 0.9em;
}

.member-ratio {
  background: rgba(0, 255, 255, 0.1);
  color: #00ffff;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 0.8em;
}

.leader-section {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 16px;
  margin-bottom: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  height: fit-content;
  transition: transform 0.3s ease;
  width: 100%;
}

.leader-section:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 255, 0.1);
}

.leader-header {
  background: rgba(0, 255, 255, 0.05);
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.leader-name {
  color: #00ffff;
  font-size: 1.3em;
  margin: 0;
  font-weight: 600;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
}

.projects-count {
  color: #888;
  font-size: 0.9em;
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 12px;
  border-radius: 12px;
}

.leader-projects {
  padding: 15px;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, 1fr);
}

.view-all-btn {
  display: block;
  width: 100%;
  padding: 15px;
  margin-top: 20px;
  background: rgba(0, 255, 255, 0.1);
  border: 1px solid rgba(0, 255, 255, 0.2);
  color: #00ffff;
  border-radius: 12px;
  cursor: pointer;
  font-size: 1.1em;
  transition: all 0.3s ease;
}

.view-all-btn:hover {
  background: rgba(0, 255, 255, 0.2);
  transform: translateY(-2px);
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal.hidden {
  display: none;
}

.modal-content {
  background: #1e1e1e;
  width: 95%;
  max-width: 1400px;
  max-height: 90vh;
  border-radius: 16px;
  overflow: hidden;
  animation: modalSlideIn 0.3s ease-out;
}

.modal-header {
  padding: 20px;
  background: rgba(0, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header h2 {
  margin: 0;
  color: #00ffff;
}

.close-modal {
  font-size: 24px;
  color: #888;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-modal:hover {
  color: #fff;
}

.modal-body {
  padding: 20px;
  overflow-y: auto;
  max-height: calc(90vh - 80px);
}

.modal-body .leader-section {
  margin-bottom: 20px;
}

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

.preview-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.preview-section {
  margin: 20px 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.modal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 20px;
}

.leader-section {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  height: fit-content;
  transition: transform 0.3s ease;
  width: 100%;
}

.leader-projects {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  padding: 15px;
}

.group-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
}

.view-all-btn {
  margin-top: 20px;
  width: 100%;
  padding: 15px;
  background: rgba(0, 255, 255, 0.1);
  border: 1px solid rgba(0, 255, 255, 0.2);
  color: #00ffff;
  border-radius: 12px;
  font-size: 1.1em;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modal-content {
  width: 90%;
  max-width: 1400px;
  max-height: 90vh;
  background: #1e1e1e;
  border-radius: 16px;
  overflow: hidden;
}

.modal-body {
  overflow-y: auto;
  max-height: calc(90vh - 80px);
}

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

.profile-container {
  backdrop-filter: blur(10px);
  padding: 20px 40px;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
  width: 90%;
  max-width: 1200px; /* Increased max-width */
  margin: 20px auto;
  position: relative;
  border: 1px solid rgba(0, 255, 255, 0.1);
}

.profile-container::after {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: 16px;
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.1);
  pointer-events: none;
  z-index: -1;
}

@media (min-width: 992px) {
  .profile-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 30px;
  }
  
  .profile-sidebar {
    position: sticky;
    top: 20px;
    height: fit-content;
  }
  
  .profile-main {
    display: flex;
    flex-direction: column;
    gap: 0px;
  }
}

.user-info, .stats-overview, .graph-container, .active-project-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.user-info:hover, .stats-overview:hover, .graph-container:hover, .active-project-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.profile-sidebar > div:hover::after,
.profile-main > div:hover::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
  pointer-events: none;
  animation: pulse 2s infinite;
  z-index: -1;
}

@keyframes pulse {
  0% { opacity: 0.2; }
  50% { opacity: 0.5; }
  100% { opacity: 0.2; }
}

.stats-overview {
  margin-top: 30px;
}

.stat-card {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 15px;
}

.section-title {
  font-size: 1.4em;
  color: #00ffff;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0, 255, 255, 0.2);
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.chart-area {
  margin-top: 20px;
}

.audit-stats-container .project-header {
  margin-bottom: 25px;
}

.audit-chart {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 30px 0;
}

.progress-ring-wrapper {
  position: relative;
  width: 200px;
  height: 200px;
}

.progress-ring {
  transform: rotate(-90deg);
  overflow: visible;
  background: transparent;
  border: none;
}

.ring-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.05);
  stroke-width: 12;
}

.ring-progress {
  fill: none;
  stroke: url(#audit-gradient);
  stroke-width: 12;
  stroke-linecap: round;
  transition: stroke-dashoffset 1s ease;
  filter: drop-shadow(0 0 6px rgba(0, 255, 255, 0.3));
}

.ring-label {
  transform: rotate(90deg);
  font-size: 16px;
  text-anchor: middle;
  fill: #888;
  dominant-baseline: middle;
}

.ring-value {
  transform: rotate(90deg);
  font-size: 28px;
  text-anchor: middle;
  fill: #00ffff;
  font-weight: bold;
  dominant-baseline: middle;
}

.audit-stats-container .stat-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.audit-stats-container .stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.audit-stats-container .stat-card .stat-icon {
  font-size: 24px;
  margin-bottom: 10px;
}

.audit-stats-container .stat-label {
  display: block;
  color: #888;
  font-size: 14px;
  margin-bottom: 5px;
}

.audit-stats-container .stat-value {
  font-size: 24px;
  font-weight: 600;
}

.audit-stats-container .stat-card.success .stat-value {
  color: #00ff00;
  background: linear-gradient(90deg, #00cc00, #00ff00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.audit-stats-container .stat-card.fail .stat-value {
  color: #ff4444;
  background: linear-gradient(90deg, #ff0000, #ff4444);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.audited-projects {
  margin-top: 30px;
}

.audited-projects h4 {
  color: #ffffff;
  margin-bottom: 15px;
  font-size: 1.2em;
}

.projects-grid {
  display: grid;
  gap: 15px;
}

.audit-stats-container {
  background: linear-gradient(145deg, #2a2a2a 0%, #1e1e1e 100%);
  border-radius: 16px;
  padding: 25px;
  margin: 20px 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.chart-area {
  width: 100%;
  height: auto;
  min-height: 300px;
  position: relative;
}

.chart-area svg {
  display: block;
  max-width: 100%;
  height: auto;
  background-color: transparent;
  border: none;
  padding: 0;
}

@media (max-width: 768px) {
  .chart-area {
    min-height: 250px;
  }
}

@media (max-width: 576px) {
  .chart-area {
    min-height: 200px;
  }
  
  .graph-container {
    padding: 10px;
  }
}

.performance-chart-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0;
  gap: 30px;
}

.gauge-chart {
  position: relative;
  width: 300px;
  height: 180px;
  margin: 0 auto;
}

.gauge-chart svg {
  overflow: visible;
}

.gauge-arc {
  filter: drop-shadow(0 0 5px rgba(0, 255, 255, 0.5));
}

.gauge-needle {
  transform-origin: 150px 140px;
  filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.7));
  transition: transform 1.5s ease-in-out;
}

.audit-distribution {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.audit-distribution h4 {
  text-align: center;
  margin-top: 0;
  margin-bottom: 15px;
  color: #fff;
  font-size: 1.2em;
  font-weight: 500;
}

.distribution-chart {
  margin-bottom: 15px;
}

.distribution-chart svg {
  overflow: visible;
}

.success-bar, .fail-bar {
  transition: width 1.5s ease, x 1.5s ease;
}

.distribution-label {
  opacity: 0;
  animation: fadeIn 0.5s forwards;
  animation-delay: 1.2s;
}

.distribution-legend {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 10px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.legend-color {
  width: 12px;
  height: 12px;
  border-radius: 2px;
}

.legend-color.success {
  background: linear-gradient(90deg, #00cc00, #00ff00);
}

.legend-color.fail {
  background: #ff4444;
}

.legend-text {
  color: #888;
  font-size: 0.9em;
}

.audit-history-section {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.audit-history-section h4 {
  text-align: center;
  margin-bottom: 15px;
  color: #fff;
  font-size: 1.2em;
  font-weight: 500;
}

.audit-history {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.audit-history-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  border-left: 4px solid transparent;
  transition: transform 0.2s;
}

.audit-history-item:hover {
  transform: translateX(5px);
}

.audit-history-item.success {
  border-left-color: #00cc00;
}

.audit-history-item.fail {
  border-left-color: #ff4444;
}

.audit-project-name {
  font-weight: 500;
  color: #fff;
  margin-bottom: 5px;
}

.audit-date {
  font-size: 0.85em;
  color: #888;
}

.audit-grade {
  font-weight: bold;
  font-size: 1.2em;
  padding: 5px 10px;
  border-radius: 8px;
}

.audit-grade.success {
  color: #00ff00;
  background: rgba(0, 255, 0, 0.1);
}

.audit-grade.fail {
  color: #ff4444;
  background: rgba(255, 68, 68, 0.1);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 768px) {
  .gauge-chart {
    width: 100%;
    max-width: 250px;
    height: auto;
  }
  
  .audit-distribution,
  .audit-history-section {
    width: 100%;
    padding: 15px;
  }
}


.profile-header h3 {
  margin: 0;
  color: #fff;
  font-size: 1.5em;
  background: linear-gradient(90deg, #fff, #00ffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}


.login-container {
    width: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.login-card {
  background: linear-gradient(145deg, #212121 0%, #1a1a1a 100%);
  width: 100%;
  max-width: 450px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  position: relative;
  z-index: 1;
  animation: fadeIn 0.8s ease;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.login-card::after {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  background: linear-gradient(45deg, rgba(0, 255, 255, 0.15), transparent, rgba(0, 255, 255, 0.15));
  z-index: -1;
  border-radius: 16px;
  animation: borderGlow 6s ease-in-out infinite;
}

@keyframes borderGlow {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.login-header {
  padding: 30px 25px 20px;
  text-align: center;
  position: relative;
}

.login-logo {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}

.login-logo svg {
  filter: drop-shadow(0 0 8px rgba(0, 255, 255, 0.6));
  animation: pulse 2s infinite;
  width: 70px;
  height: 70px;
}

.login-header h2 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 10px;
  color: white;
}

.gradient-text {
  background: linear-gradient(90deg, #fff, #00ffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.login-subtitle {
  color: #888;
  font-size: 14px;
  margin-bottom: 5px;
}

.login-form-container {
  padding: 10px 30px 30px;
}

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

.input-group {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.input-group:focus-within {
  border-color: rgba(0, 255, 255, 0.4);
  box-shadow: 0 0 0 2px rgba(0, 255, 255, 0.1);
}

.input-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  font-size: 18px;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.input-group:focus-within .input-icon {
  opacity: 1;
}

.login-form-container input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 18px 15px;
  color: #fff;
  font-size: 16px;
}

.login-form-container input:focus {
  outline: none;
}

.login-form-container input::placeholder {
  color: #666;
}

.login-button {
  position: relative;
  margin-top: 15px;
  padding: 18px;
  background: linear-gradient(45deg, rgba(0, 123, 255, 0.8), rgba(0, 255, 255, 0.8));
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease;
  text-align: center;
}

.login-button:hover {
  transform: translateY(-2px);
  background: linear-gradient(45deg, rgba(0, 123, 255, 1), rgba(0, 255, 255, 1));
}

.login-button span {
  position: relative;
  z-index: 1;
}

.button-glow {
  position: absolute;
  top: -50%;
  left: -25%;
  width: 150%;
  height: 200%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(35deg);
  animation: buttonGlow 3s infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes buttonGlow {
  0% { left: -100%; }
  100% { left: 100%; }
}

.error-message {
  color: #ff4444;
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: rgba(255, 0, 0, 0.1);
  padding: 8px 12px;
  border-radius: 6px;
  backdrop-filter: blur(4px);
}

.error-message:not(:empty) {
  opacity: 1;
}

.login-footer {
  padding: 15px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.login-footer p {
  color: #666;
  font-size: 12px;
  margin: 0;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 500px) {
  .login-card {
    max-width: 100%;
  }
  
  .login-button {
    padding: 15px;
  }
  
  .login-header h2 {
    font-size: 24px;
  }
}

/* Add this to your CSS to style the logo image */
/* .logo-image {
  width: 100px;
  height: auto;
  filter: drop-shadow(0 0 8px rgba(0, 255, 255, 0.6));
  animation: pulse 2s infinite;
} */
/* 
@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.8; }
  100% { transform: scale(1); opacity: 1; }
} */

.graph-container,
.user-info,
.active-project-card,
.audit-stats-container,
.stats-overview {
  border: 1px solid rgba(0, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  background: linear-gradient(145deg, rgba(26, 26, 26, 0.9) 0%, rgba(18, 18, 18, 0.85) 100%);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.graph-container::after,
.user-info::after,
.active-project-card::after,
.audit-stats-container::after,
.stats-overview::after {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  background: linear-gradient(45deg, rgba(0, 255, 255, 0.25), transparent, rgba(0, 255, 255, 0.25));
  z-index: -1;
  border-radius: 16px;
  animation: borderGlow 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes borderGlow {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.graph-container,
.user-info,
.active-project-card,
.audit-stats-container,
.stats-overview {
  border-radius: 16px;
  margin-bottom: 20px;
}

.graph-container,
.user-info,
.active-project-card,
.audit-stats-container,
.stats-overview {
  box-shadow: none;
}

.user-info:hover,
.stats-overview:hover,
.graph-container:hover,
.active-project-card:hover,
.audit-stats-container:hover {
  transform: none;
  box-shadow: none;
}

.profile-sidebar > div:hover::after,
.profile-main > div:hover::after {
  box-shadow: none;
  animation: none;
}

.header-logo-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

.header-logo-image {
  width: 40px;
  height: auto;
  filter: drop-shadow(0 0 2px rgba(0, 255, 255, 0.6));
}

.profile-header h3 {
  margin: 0;
  color: #fff;
  font-size: 1.5em;
  display: inline-block;
}

.profile-header .gradient-text {
  background: linear-gradient(90deg, #fff, #00ffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.logout-button {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(45deg, rgba(0, 123, 255, 0.2), rgba(0, 255, 255, 0.2));
  border: 1px solid rgba(0, 255, 255, 0.3);
  color: rgba(0, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.15);
}

.logout-button:hover {
  transform: translateY(-2px);
  background: linear-gradient(45deg, rgba(0, 123, 255, 0.4), rgba(0, 255, 255, 0.4));
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

.logout-icon {
  font-size: 18px;
  position: relative;
  z-index: 1;
  transform: rotate(180deg);
}

.logout-button .button-glow {
  position: absolute;
  top: -50%;
  left: -25%;
  width: 150%;
  height: 200%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.2) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(35deg);
  animation: buttonGlow 3s infinite;
  pointer-events: none;
  z-index: 0;
}

.logout-button .tooltip {
  position: absolute;
  top: 115%;
  right: 0;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  white-space: nowrap;
  backdrop-filter: blur(4px);
  z-index: 10;
}

.logout-button:hover .tooltip {
  opacity: 1;
}

@keyframes buttonGlow {
  0% { left: -100%; }
  100% { left: 100%; }
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.8; }
  100% { transform: scale(1); opacity: 1; }
}


