.profile-photo-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.profile-photo-modal-content {
  background: var(--bg-secondary);
  border-radius: 16px;
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-color);
  animation: slideUp 0.3s ease;
}

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

.profile-photo-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.profile-photo-modal-header h2 {
  color: var(--text-primary);
  font-size: 1.5rem;
  margin: 0;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.profile-photo-modal-close {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 2rem;
  cursor: pointer;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.profile-photo-modal-close:hover {
  color: var(--accent-primary);
  transform: scale(1.2);
}

.profile-photo-modal-body {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.current-photo {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.current-photo .label {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.current-photo-img {
  width: 100%;
  max-width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid var(--border-color);
  margin: 0 auto;
}

.photo-upload-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(0, 212, 255, 0.05);
  border: 2px dashed var(--accent-primary);
  border-radius: 12px;
}

.photo-upload-section .label {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.upload-button {
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: var(--bg-primary);
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  display: block;
}

.upload-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 212, 255, 0.3);
}

.file-input {
  display: none;
}

.uploading {
  color: var(--accent-primary);
  font-weight: 600;
  text-align: center;
  margin: 0;
  animation: pulse 1.5s infinite;
}

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

.info-text {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin: 0;
  padding: 1rem;
  background: rgba(0, 212, 255, 0.05);
  border-radius: 8px;
  border-left: 3px solid var(--accent-primary);
}

.error-message {
  color: #ff4757;
  background: rgba(255, 71, 87, 0.1);
  padding: 0.8rem;
  border-radius: 6px;
  font-size: 0.9rem;
  border: 1px solid rgba(255, 71, 87, 0.3);
}

.success-message {
  color: #2ed573;
  background: rgba(46, 213, 115, 0.1);
  padding: 0.8rem;
  border-radius: 6px;
  font-size: 0.9rem;
  border: 1px solid rgba(46, 213, 115, 0.3);
}

.edit-profile-btn {
  width: 100%;
  padding: 1rem;
  margin-top: 1rem;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: var(--bg-primary);
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.edit-profile-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 212, 255, 0.3);
}
