body {
    font-family: sans-serif;
    text-align: justify;
    margin: 0;
    padding: 1.5rem;
    background: #f9f9f9;
    line-height: 1.6;
}

header {
    text-align: center;
    margin-bottom: 2rem;
}

header h1 {
    font-size: 2rem;
    color: #cc0000;
    margin: 0.5rem 0;
}

.sobre-mi-container {
    max-width: 800px;
    margin: auto;
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    border: 2px solid #ddd;
}

.sobre-mi-container h2 {
    color: #333;
    margin-top: 0;
}

.perfil-img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto 1.5rem;
    border: 3px solid #cc0000;
}

.volver-btn {
    display: block;
    width: 100%;
    max-width: 250px;
    margin: 2rem auto 0;
    padding: 0.8rem;
    background: #cc0000;
    color: white;
    text-decoration: none;
    text-align: center;
    border-radius: 8px;
    font-weight: bold;
    transition: 0.2s;
}

.volver-btn:hover {
    background: #a90000;
}






/* --- Estilos del Menú de Ajustes --- */
.settings-container {
  max-width: fit-content;
  margin: 20px auto;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.setting-group {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #eeeeee;
}

.setting-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
}

.setting-group select {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

/* Botones de acción */
.actions-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-setting {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  background-color: #0056b3;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  width: 100%;
  text-align: center;
}

.btn-setting:hover {
  background-color: #004085;
}

.btn-outline {
  background-color: transparent;
  color: #0056b3;
  border: 2px solid #0056b3;
}

.btn-outline:hover {
  background-color: #f0f7ff;
}

.file-input-hidden {
  display: none;
}