/* Profile Completion Floating Widget Styles */
.profile-completion-floating {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  padding: 16px 20px;
  min-width: 280px;
  max-width: 320px;
  z-index: 1000;
  border: 1px solid #e3e6f0;
  cursor: pointer;
  transition: all 0.3s ease;
  animation: slideInUp 0.5s ease-out;
}

.profile-completion-floating:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.profile-completion-content {
  position: relative;
}

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

.completion-title {
  font-size: 14px;
  font-weight: 600;
  color: #32325d;
}

.completion-percentage {
  font-size: 14px;
  font-weight: 700;
  color: #5e72e4;
}

.profile-completion-floating .progress {
  height: 6px;
  background-color: #e9ecef;
  border-radius: 10px;
  overflow: hidden;
  margin: 0;
}

.profile-completion-floating .progress-bar {
  background: linear-gradient(45deg, #5e72e4, #825ee4);
  border-radius: 10px;
  transition: width 0.6s ease;
}

.close-btn {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #dc3545;
  color: white;
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.profile-completion-floating:hover .close-btn {
  opacity: 1;
}

.close-btn:hover {
  background: #c82333;
}

/* Animation */
@keyframes slideInUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Dark mode support */
body.night-mode .profile-completion-floating {
  background: #2c2c2c;
  border-color: #404040;
  color: #fff;
}

body.night-mode .completion-title {
  color: #fff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .profile-completion-floating {
    bottom: 80px;
    left: 10px;
    min-width: 260px;
    max-width: 280px;
    padding: 14px 16px;
  }
  
  .completion-title {
    font-size: 13px;
  }
  
  .completion-percentage {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .profile-completion-floating {
    left: 50%;
    transform: translateX(-50%);
    bottom: 80px;
    min-width: 240px;
    max-width: calc(100vw - 20px);
  }
  
  .profile-completion-floating:hover {
    transform: translateX(-50%) translateY(-3px);
  }
}

/* Profile Completion Widget Styles (for modal content) */
.profile-completion-widget .progress {
  height: 8px;
  background-color: #e9ecef;
  border-radius: 10px;
  overflow: hidden;
}

.profile-completion-widget .progress-bar {
  background: linear-gradient(45deg, #5e72e4, #825ee4);
  border-radius: 10px;
}

.profile-completion-widget .card-body .mb5 {
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.4;
}

.profile-completion-widget .card-body .mb5 a {
  text-decoration: none;
  color: #5e72e4;
  transition: color 0.2s ease;
}

.profile-completion-widget .card-body .mb5 a:hover {
  color: #324cdd;
  text-decoration: underline;
}

.profile-completion-widget .card-body .mb5 .green {
  color: #2dce89;
}

.profile-completion-widget .card-body .mb5 i {
  width: 16px;
  font-size: 12px;
}

.profile-completion-widget .card-header strong {
  font-size: 15px;
  color: #32325d;
}

.profile-completion-widget .card-header .float-end {
  font-weight: 600;
  color: #5e72e4;
  font-size: 14px;
}
