.profile-container {
  max-width: 600px;
  margin: 50px auto;
  padding: 30px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.profile-header {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.profile-header img {
  width: 60px;
  height: 60px;
  margin-right: 15px;
}

.profile-section {
  margin-bottom: 25px;
}

.profile-section h3 {
  margin: 0 0 15px 0;
  color: #333;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-group label {
  font-weight: bold;
  color: #555;
}

.form-group input {
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

.form-group input:focus {
  outline: none;
  border-color: #007bff;
}

.profile-button {
  padding: 10px 20px;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}

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

.profile-button.danger {
  background: #dc3545;
}

.profile-button.danger:hover {
  background: #c82333;
}

.profile-button.success {
  background: #28a745;
}

.profile-button.success:hover {
  background: #218838;
}

.navigation {
  text-align: center;
  margin-bottom: 20px;
}

.navigation a {
  color: #007bff;
  text-decoration: none;
  margin: 0 10px;
}

.navigation a:hover {
  text-decoration: underline;
}

.status-message {
  padding: 10px;
  border-radius: 4px;
  margin-bottom: 20px;
  display: none;
}

.status-message.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.status-message.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.totp-setup {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  margin-top: 20px;
}

.qr-code {
  text-align: center;
  margin: 20px 0;
}

.qr-code canvas {
  max-width: 200px;
  height: auto;
}

/* TOTP Status Styling */
.totp-status {
  padding: 10px 15px;
  border-radius: 4px;
  font-weight: bold;
  margin-bottom: 15px;
  display: inline-block;
}

.totp-status.enabled {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.totp-status.disabled {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* SAML user restrictions */
.profile-form input:disabled {
  background-color: #f8f9fa;
  color: #6c757d;
  cursor: not-allowed;
  opacity: 0.7;
}

.profile-button:disabled {
  background-color: #6c757d;
  cursor: not-allowed;
  opacity: 0.7;
}

.saml-notice {
  background-color: #fff3cd;
  color: #856404;
  padding: 10px;
  border-radius: 4px;
  border: 1px solid #ffeaa7;
  margin-top: 10px;
}
