* {
  box-sizing: border-box;
}

body {
  font-family: Helvetica;
  background: #2A3F54 !important;
  -webkit-font-smoothing: antialiased;
  background-color: #2A3F54 !important;
  margin: 0;
  padding: 0;
  height: 100vh;
}

hgroup {
  text-align: center;
  margin-top: 4em;
}

h1,
h2 {
  font-weight: 300;
}

h1 {
  color: #fff;
}

h2 {
  color: #fff;
}

form {
  width: 380px;
  margin: 4em auto;
  padding: 3em 2em 2em 2em;
  background: #fafafa;
  border: 1px solid #ebebeb;
  box-shadow: rgba(0, 0, 0, 0.14902) 0px 1px 1px 0px,
    rgba(0, 0, 0, 0.09804) 0px 1px 2px 0px;
  border-radius: 10px;
}

.group {
  position: relative;
  margin-bottom: 45px;
}

input {
  font-size: 18px;
  padding: 10px 10px 10px 5px;
  -webkit-appearance: none;
  display: block;
  background: #fafafa;
  color: #636363;
  width: 100%;
  border: none;
  border-radius: 0;
  border-bottom: 1px solid #2A3F54;
}

input:focus {
  outline: none;
}

/* Label */

label {
  color: #999;
  font-size: 18px;
  font-weight: normal;
  position: absolute;
  pointer-events: none;
  left: 5px;
  top: 10px;
  transition: all 0.2s ease;
}

/* active */

input:focus ~ label,
input.used ~ label {
  top: -20px;
  transform: scale(0.75);
  left: -2px;
  /* font-size: 14px; */
  color: #2A3F54;
}

/* Underline */

.bar {
  position: relative;
  display: block;
  width: 100%;
}

.bar:before,
.bar:after {
  content: "";
  height: 2px;
  width: 0;
  bottom: 1px;
  position: absolute;
  background: #2A3F54;
  transition: all 0.2s ease;
}

.bar:before {
  left: 50%;
}

.bar:after {
  right: 50%;
}

/* active */

input:focus ~ .bar:before,
input:focus ~ .bar:after {
  width: 50%;
}

/* Highlight */

.highlight {
  position: absolute;
  height: 60%;
  width: 100px;
  top: 25%;
  left: 0;
  pointer-events: none;
  opacity: 0.5;
}

/* active */

input:focus ~ .highlight {
  -webkit-animation: inputHighlighter 0.3s ease;
          animation: inputHighlighter 0.3s ease;
}

/* Animations */

@-webkit-keyframes inputHighlighter {
  from {
    background: #ed840d;
  }
  to {
    width: 0;
    background: transparent;
  }
}

@keyframes inputHighlighter {
  from {
    background: #ed840d;
  }
  to {
    width: 0;
    background: transparent;
  }
}

/* Button */

.button {
  position: relative;
  display: inline-block;
  padding: 12px 24px;
  margin: 0.3em 0 1em 0;
  width: 100%;
  vertical-align: middle;
  color: #fff;
  font-size: 16px;
  line-height: 20px;
  -webkit-font-smoothing: antialiased;
  text-align: center;
  letter-spacing: 1px;
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: all 0.15s ease;
}
.button:focus {
  outline: 0;
}

/* Button modifiers */

.buttonBlue {
  background: #ed840d;
  text-shadow: 1px 1px 0 rgba(237, 132, 13, 0.5);
}

.buttonBlue:hover {
  background: #d67609;
}

/* Ripples container */

.ripples {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: transparent;
}

/* Ripples circle */

.ripplesCircle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}

.ripples.is-active .ripplesCircle {
  -webkit-animation: ripples 0.4s ease-in;
          animation: ripples 0.4s ease-in;
}

/* Ripples animation */

@-webkit-keyframes ripples {
  0% {
    opacity: 0;
  }

  25% {
    opacity: 1;
  }

  100% {
    width: 200%;
    padding-bottom: 200%;
    opacity: 0;
  }
}

@keyframes ripples {
  0% {
    opacity: 0;
  }

  25% {
    opacity: 1;
  }

  100% {
    width: 200%;
    padding-bottom: 200%;
    opacity: 0;
  }
}

footer {
  text-align: center;
}

footer p {
  color: #fff;
  font-size: 16px;
  letter-spacing: 0.4px;
}

footer a {
  color: #fff;
  text-decoration: none;
  transition: all 0.2s ease;
}

footer a:hover {
  color: #fff;
  text-decoration: underline;
}

footer img {
  width: 450px;
  transition: all 0.2s ease;
}

footer img:hover {
  opacity: 0.83;
}

footer img:focus,
footer a:focus {
  outline: none;
}

select {
  font-size: 18px;
  padding: 10px 10px 10px 5px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  display: block;
  background: #fafafa;
  color: #636363;
  width: 100%;
  border: none;
  border-radius: 0;
  border-bottom: 1px solid #2A3F54;
  cursor: pointer;
  position: relative;
}

select:focus {
  outline: none;
}

select::-ms-expand {
  display: none;
}

.select-container {
  position: relative;
  width: 100%;
}

.select-container:after {
  content: '\25BC';
  font-size: 18px;
  color: #636363;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

select ~ .bar {
  position: relative;
  display: block;
  width: 100%;
}

select ~ .bar:before,
select ~ .bar:after {
  content: "";
  height: 2px;
  width: 0;
  bottom: 1px;
  position: absolute;
  background: #2A3F54;
  transition: all 0.2s ease;
}

select ~ .bar:before {
  left: 50%;
}

select ~ .bar:after {
  right: 50%;
}

select:focus ~ .bar:before,
select:focus ~ .bar:after {
  width: 50%;
}

select ~ .highlight {
  position: absolute;
  height: 60%;
  width: 100px;
  top: 25%;
  left: 0;
  pointer-events: none;
  opacity: 0.5;
}

select:focus ~ .highlight {
  -webkit-animation: inputHighlighter 0.3s ease;
          animation: inputHighlighter 0.3s ease;
}

/* ===== ESTILOS ESPECÍFICOS PARA EL LOGIN ===== */

.login_wrapper {
  background-color: #2A3F54 !important;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.login_form {
  background: #ffffff !important;
  padding: 40px 30px !important;
  border-radius: 10px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
  max-width: 400px;
  width: 100%;
}

.login_content {
  width: 100%;
}

.login_content h1 {
  text-align: center;
  color: #2A3F54 !important;
  font-weight: 300;
  margin-bottom: 30px;
  font-size: 28px;
}

.login_content input.form-control {
  width: 100% !important;
  padding: 15px 12px !important;
  margin-bottom: 20px !important;
  border: 2px solid #e0e0e0 !important;
  border-radius: 5px !important;
  font-size: 16px !important;
  background: #fafafa !important;
  color: #333 !important;
  transition: all 0.3s ease !important;
}

.login_content input.form-control:focus {
  outline: none !important;
  border-color: #2A3F54 !important;
  background: #fff !important;
  box-shadow: 0 0 8px rgba(42, 63, 84, 0.2) !important;
}

.btn.btn-danger.submit {
  width: 100% !important;
  padding: 15px !important;
  background-color: #ed840d !important;
  border: none !important;
  border-radius: 5px !important;
  color: #ffffff !important;
  font-size: 18px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 10px;
}

.btn.btn-danger.submit:hover {
  background-color: #d67609 !important;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(237, 132, 13, 0.4) !important;
}

.btn.btn-danger.submit:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(237, 132, 13, 0.3) !important;
}

.separator {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #e0e0e0;
  text-align: center;
}

.separator h1 {
  color: #2A3F54 !important;
  font-size: 24px !important;
  margin-bottom: 10px !important;
}

.separator p {
  color: #666 !important;
  font-size: 14px !important;
  margin: 0 !important;
}

#img-login {
  width: 80px;
  height: 80px;
  margin-bottom: 30px;
  border: 3px solid #2A3F54;
}

.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

.hiddenanchor {
  display: none;
}

.animate.form {
  animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.resumen-compra {
  background: #fafafa;
  border: 1px solid #ebebeb;
  border-radius: 10px;
  padding: 20px;
  margin-top: 20px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px;
}

.resumen-compra .group {
  margin-bottom: 25px;
}

.resumen-compra input[readonly] {
  background: #fafafa;
  color: #2A3F54;
  font-weight: 500;
}

.resumen-compra .total input[readonly] {
  color: #ed840d;
  font-weight: 600;
  font-size: 20px;
}

.resumen-compra .total label {
  color: #ed840d;
  font-weight: bold;
}

/* === Bloque de totales del pedido === */
.detalle-detraccion {
  font-size: 14px;
  color: #dc3545;
  margin-bottom: 8px;
  padding: 6px;
  background-color: #fff3cd;
  border-radius: 4px;
}

.detalle-total {
  font-size: 18px;
  font-weight: bold;
  padding: 10px;
  background-color: #28a745;
  color: white;
  border-radius: 6px;
  text-align: center;
}

td {
    vertical-align: middle;
}

/*  ESTILOS DEL BOTÓN */
/* Botón Actualizar*/
.actualizar-btn {
    background-color: #26B99A;
    border-color: #26B99A;
    font-weight: bold;
    font-size: 13px;
}

.actualizar-btn:hover {
    background-color: #1e9e83;
    border-color: #1e9e83;
}

