/* Profile Form Styles - Dark Mode */
.cs-profile-wrapper {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
  background: #1a1a1a;
  border-radius: 12px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.5);
  color: #e0e0e0;
}

.cs-profile-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 30px;
  border-bottom: 2px solid #333;
  margin-bottom: 30px;
}

.cs-profile-avatar-container {
  position: relative;
}

.cs-profile-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #333;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  background: #2a2a2a;
}

.cs-profile-avatar-upload {
  margin-top: 10px;
  text-align: center;
}

.cs-profile-info {
  flex: 1;
}

.cs-profile-name {
  margin: 0 0 8px 0;
  font-size: 24px;
  font-weight: 600;
  color: #ffffff;
}

.cs-profile-email {
  margin: 0;
  color: #999;
  font-size: 14px;
}

.cs-profile-form {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.cs-profile-section {
  background: #252525;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #333;
}

.cs-profile-section-title {
  margin: 0 0 20px 0;
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cs-profile-section-title::before {
  content: '';
  width: 4px;
  height: 20px;
  background: #4a9eff;
  border-radius: 2px;
}

.cs-form-group {
  margin-bottom: 20px;
}

.cs-form-group:last-child {
  margin-bottom: 0;
}

.cs-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #cccccc;
  font-size: 14px;
}

.cs-inp {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #333;
  border-radius: 6px;
  font-size: 14px;
  transition: all 0.2s ease;
  background: #2a2a2a;
  color: #ffffff;
}

.cs-inp:focus {
  outline: none;
  border-color: #4a9eff;
  box-shadow: 0 0 0 3px rgba(74, 158, 255, 0.1);
}

.cs-inp.cs-bio {
  resize: vertical;
  min-height: 100px;
  font-family: inherit;
}

.cs-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.cs-btn-primary {
  background: #4a9eff;
  color: white;
}

.cs-btn-primary:hover {
  background: #3a8eef;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(74, 158, 255, 0.3);
}

.cs-btn-secondary {
  background: #555;
  color: white;
  font-size: 12px;
  padding: 8px 16px;
}

.cs-btn-secondary:hover {
  background: #666;
}

.cs-change-pass {
  background: #28a745;
  color: white;
  width: 100%;
  margin-top: 10px;
}

.cs-change-pass:hover {
  background: #218838;
}

.cs-profile-actions {
  display: flex;
  justify-content: flex-end;
  padding-top: 20px;
  border-top: 2px solid #333;
}

.cs-save-profile {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 12px 30px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.cs-save-profile:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
  .cs-profile-wrapper {
    margin: 10px;
    padding: 15px;
  }
  
  .cs-profile-header {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  
  .cs-profile-avatar {
    width: 80px;
    height: 80px;
  }
  
  .cs-profile-name {
    font-size: 20px;
  }
  
  .cs-profile-section {
    padding: 15px;
  }
  
  .cs-profile-actions {
    justify-content: center;
  }
  
  .cs-save-profile {
    width: 100%;
  }
}
