
.main-container {
    display: flex;
    flex-basis: auto;
    justify-content: center;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0;
}

h1 {
    text-align: center;
    color: #005a9c;
}
.form-group {
    margin-bottom: 1.5rem;
}
label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

input[type="number"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.value-display {
    text-align: right;
}
.tabs {
    display: flex;
    justify-content: center;
    border-bottom: 2px solid #ccc;
    margin-bottom: 1rem;
}
.tab-button {
    padding: 10px 20px;
    cursor: pointer;
    border: none;
    background-color: transparent;
    font-size: 1rem;
    font-weight: 600;
    color: #555;
    border-bottom: 2px solid transparent;
}

.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
}
select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}
.switch-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 28px;
}
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 28px;
}
.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}
input:checked + .slider {
    background-color: #ffc107;
}
input:checked + .slider:before {
    transform: translateX(22px);
}

.result-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
}
.result-item:last-child {
    border-bottom: none;
}
.result-item span {
    font-weight: 600;
}
.result-item span:first-child {
    color: #eee;
}
.result-item span:last-child {
    color: #ffc107;
}

.information-container {
    justify-content: space-between;
    margin-top: 1rem;
    padding: 0.5rem;
    /* background-color: #f0f8ff; */
    border-radius: 4px;
    font-weight: 600;
}

.back-button:active {
    transform: translateY(0);
}

.construction-banner {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 5px;
    padding: 12px;
    margin-bottom: 15px;
    text-align: center;
    color: #856404;
    font-weight: 600;
    font-size: 14px;
}

.construction-banner span {
    display: inline-block;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 2rem;
    background-color: #23272b; /* Gris oscuro, igual que navbar */
    color: #f4f4f9;
}

.form-container, .results-container {
    max-width: 500px;
    margin: 1rem auto;
    padding: 2rem;
    background-color: #343a40; /* Gris medio, similar a Bootstrap bg-dark */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    color: #f4f4f9;
}

input[type="range"] {
    width: 100%;
    cursor: pointer;
    accent-color: #ffc107; /* Amarillo Bootstrap */
}

output {
    display: inline-block;
    margin-left: 10px;
    font-weight: bold;
    color: #ffc107; /* Amarillo Bootstrap */
}

.tab-button.active {
    color: #ffc107;
    border-bottom-color: #ffc107;
}

/* Opcional: Si quieres que los labels y títulos sean blancos */
label, h1, h2, h3, h4, h5, h6 {
    color: #f4f4f9;
}

#bg-video {
  position: fixed;
  top: 0;
  left: 0;
  min-width: 100vw;
  min-height: 100vh;
  width: auto;
  height: auto;
  z-index: -1;
  object-fit: cover;
  opacity: 0.5; /* Ajusta la opacidad según lo que necesites */
  background: #23272b;
}