@import url('https://fonts.googleapis.com/css?family=Barlow:400,500,600,700&display=swap');

html, body {
    font-family: 'Barlow', sans-serif !important;
    background: #f4f6f8 !important;
    color: #2d3338;
}

body {
    padding-bottom: 40px;
}

.orange-background {
    background-color: #f16e00;
}

.hidden {
    display: none;
}

.login-form,
.login-form * {
    box-sizing: border-box;
}

.login-form {
    max-width: 350px;
    margin: 0 auto;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);
}

.login-form__logo-container {
    padding: 30px;
    background: rgba(0, 0, 0, 0.25);
}

.login-form__logo {
    display: block;
    max-width: 285px;
    margin: 0 auto;
}

.login-form__content {
    padding: 30px;
    background: #eeeeee;
}

.login-form__header {
    margin-bottom: 15px;
    text-align: center;
    color: #333333;
}

.login-form__input {
    width: 100%;
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 5px;
    border: 2px solid #dddddd;
    background: #ffffff;
    outline: none;
    transition: border-color 0.5s;
}

.login-form__input:focus {
    border-color: #000;
}

.login-form__input::placeholder {
    color: #aaaaaa;
}

.login-form__button {
    padding: 10px;
    color: #ffffff;
    font-weight: bold;
    background: #343333;
    width: 100%;
    border: none;
    outline: none;
    border-radius: 5px;
    cursor: pointer;
}

.login-form__button:active {
    background: #a6ccc9;
}

.login-form__links {
    margin-top: 15px;
    text-align: center;
}

.login-form__link {
    font-size: 0.9em;
    color: #000;
    text-decoration: none;
    font-weight: bold;
}

.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 60px;
    line-height: 60px;
    background-color: #f5f5f5;
    z-index: 9998;
}

.logo{
    width: 150px;
    margin-left: 20px;
    border-radius: 5px;
}

/** redifinicion de estilos para cambiar los originales de bootstrap **/
.font-weight-bold {
    font-weight: 700!important;
}

.row{
    margin-bottom: 15px;
}

hr {
    margin-top: 10px;
    margin-bottom: 10px;
    border: 0;
    border-top: 2px solid #a6ccc9;
}

.navbar-header{
    z-index: 99999;
}

.navbar-nav {
    margin: 7.5px -15px;
    background-color: #222!important;
}

.mr-10{
    margin-left: 10px;
    margin-right: 10px;
}

.highlight {
    padding: 9px 14px;
    margin-bottom: 14px;
    background-color: #e6fbeb;
    border: 1px solid #000;
    border-radius: 4px;
}

.width70{
    width: 70px;
}

input[type="time"]{
    padding: 4px;
    border-radius: 5px;
    border: solid 1px;
    border-color: #ccc;
}


/**************** SWITCH ***************/


.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}



/******************************/


.clear{
        clear: both; 
    }

/* ===== Modernización visual formularios ===== */

.container {
    max-width: 960px;
}

.panel,
.card,
.well {
    background: #ffffff;
    color: #2d3338;
    border: 0;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.form-control {
    height: 44px;
    border: 1px solid #cfd6dc;
    border-radius: 6px;
    box-shadow: none;
    font-size: 16px;
}

.form-control:focus {
    border-color: #f16e00;
    box-shadow: 0 0 0 3px rgba(241, 110, 0, 0.12);
}

label {
    color: #343a40;
    font-weight: 600;
    margin-bottom: 6px;
}

.btn {
    min-height: 42px;
    border-radius: 6px;
    font-weight: 600;
    padding: 10px 20px;
}

.btn-primary,
.btn-warning {
    background-color: #f16e00;
    border-color: #f16e00;
    color: #fff;
}

.btn-primary:hover,
.btn-warning:hover,
.btn-primary:focus,
.btn-warning:focus {
    background-color: #d95f00;
    border-color: #d95f00;
    color: #fff;
}

hr {
    border-top: 1px solid #dfe4e8;
}

h1, h2, h3, h4 {
    color: #303437;
    font-weight: 600;
}

.navbar {
    border: 0;
    border-radius: 0;
}

.footer {
    position: static;
    height: auto;
    min-height: 50px;
    line-height: normal;
    padding: 15px 0;
    background-color: #ffffff;
    border-top: 1px solid #e3e7ea;
    color: #6c757d;
}

.logo {
    width: 150px;
    margin-left: 20px;
    border-radius: 0;
}

.highlight {
    padding: 16px 18px;
    margin-bottom: 18px;
    background-color: #fff8f2;
    border: 1px solid #ffd6b3;
    border-radius: 8px;
    color: #343a40;
}

@media (max-width: 767px) {
    body {
        padding-bottom: 20px;
    }

    .container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .btn {
        width: 100%;
        margin-bottom: 8px;
    }

    .logo {
        width: 120px;
        margin-left: 10px;
    }

    h1 {
        font-size: 26px;
    }

    h2 {
        font-size: 22px;
    }
}
/* ===== Formulario de inscripción ===== */

.card {
    background: #fff;
}

.card h2 {
    font-weight: 700;
    color: #2c2f33 !important;
}

.card .form-label {
    font-weight: 600;
    color: #333 !important;
    margin-bottom: 8px;
}

.card .form-control,
.card .form-select {
    border: 1px solid #ced4da;
    border-radius: 8px;
    min-height: 48px;
    font-size: 16px;
}

.card .form-control:focus,
.card .form-select:focus {
    border-color: #e56f18;
    box-shadow: 0 0 0 3px rgba(229,111,24,.15);
}

.card .form-check-label {
    color: #333 !important;
    font-weight: 400;
}

.card .form-check-input:checked {
    background-color: #e56f18;
    border-color: #e56f18;
}

.card .btn-warning {
    background-color: #e56f18;
    border-color: #e56f18;
    color: white;
    font-weight: 600;
    border-radius: 8px;
}

.card .btn-warning:hover {
    background-color: #c95f12;
    border-color: #c95f12;
}

.card a {
    color: #d7610e;
}

@media (max-width: 575px) {
    .card {
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    .card-body {
        padding: 22px !important;
    }

    .g-recaptcha {
        transform: scale(.90);
        transform-origin: center;
    }
}
/* Centrado específico del formulario de inscripción */

.inscripcion-page {
    width: 100%;
    min-height: calc(100vh - 80px);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 32px 20px;
    box-sizing: border-box;
}

.inscripcion-card-wrapper {
    width: 100%;
    max-width: 560px;
}

.inscripcion-card-wrapper .card {
    width: 100%;
    margin: 0;
    box-sizing: border-box;
}

@media (max-width: 600px) {
    .inscripcion-page {
        padding: 15px 10px;
    }

    .inscripcion-card-wrapper {
        max-width: 100%;
    }
}
/* Ajuste interno de la tarjeta de inscripción */

.inscripcion-card-wrapper .card-body {
    max-width: 620px;
    margin: 0 auto;
    padding: 32px 36px !important;
}

.inscripcion-card-wrapper form {
    width: 100%;
}

.inscripcion-card-wrapper .form-check,
.inscripcion-card-wrapper .form-label,
.inscripcion-card-wrapper .form-control,
.inscripcion-card-wrapper .form-select {
    width: 100%;
}

.inscripcion-card-wrapper .g-recaptcha {
    margin-left: auto;
    margin-right: auto;
}

.inscripcion-card-wrapper .d-flex.justify-content-center {
    justify-content: center !important;
}

@media (max-width: 640px) {
    .inscripcion-card-wrapper .card-body {
        padding: 22px 18px !important;
    }
}
/* Centrado específico de reCAPTCHA */

.captcha-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 28px 0 20px 0;
}

.captcha-container .g-recaptcha {
    margin: 0 auto;
}
