body {
	font-family: 'Arial', sans-serif;
	background-color: #f8f9fa;
	color: #343a40;
	padding-top: 20px;
	padding-bottom: 20px;
}

h1 {
	font-family: 'Georgia', serif;
	color: #007bff;
	margin-bottom: 20px;
}

.container {
	padding: 20px;
	background-color: #ffffff;
	border-radius: 8px;
	box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

select.form-select {
	border: 1px solid #ced4da;
}

select.form-select:focus {
	border-color: #007bff;
	box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.btn-disabled {
	pointer-events: none;
	cursor: not-allowed;
	opacity: 0.65;
}

@media (max-width: 575px) {
	body {
		padding: 0;
	}

	.container {
		border-radius: 0;
		min-height: 100vh;
	}
}

/* Tema oscuro */
[data-bs-theme="dark"] body {
	color: #f8f9fa;
	background-color: #343a40;
}

[data-bs-theme="dark"] .container {
  background-color: #212529;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

/* Botón para cambiar el theme */
#theme-toggle {
  position: fixed;
  bottom: 1em;
  right: 1em;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  font-size: 24px;
  transition: background 0.3s, color 0.3s;
}

#theme-toggle .icon-sun,
#theme-toggle .icon-moon {
  display: none;
}

[data-bs-theme="light"] #theme-toggle .icon-sun {
  display: inline;
}

[data-bs-theme="dark"] #theme-toggle .icon-moon {
  display: inline;
}

.hp-progress {
  height: 25px;
  cursor: pointer;
  position: relative;
}

#hp-bar {
  width: 100%;
}

#hp-text {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-weight: bold;
  color: white;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

#damage-input {
  text-align: center;
}