* {
    margin: 0;
    padding: 0
}

html {
    height: 100%
}

p {
    color: black
}

.fieldlabels {
    color: black;
    text-align: left
}

#heading {
    text-transform: uppercase;
    font-family: sans-serif;
}

.fs-title {
    font-size: 25px;
    margin-bottom: 15px;
    font-weight: bold;
    text-align: left;
    font-family: sans-serif;
}

.fit-image {
    width: 100%;
    object-fit: cover
}

#msform {
    text-align: center;
    position: relative;
    margin-top: 20px
}

#msform fieldset {
    background: white;
    border: 0 none;
    border-radius: 0.5rem;
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding-bottom: 20px;
    position: relative
}

.form-card {
    text-align: left
}

#msform fieldset:not(:first-of-type) {
    display: none
}

#msform .action-button-previous {
    width: 100px;
    background: #616161;
    font-weight: bold;
    color: white;
    border: 0 none;
    border-radius: 0px;
    cursor: pointer;
    padding: 10px 5px;
    margin: 10px 5px 10px 0px;
    float: right
}

#msform .action-button-previous:hover,
#msform .action-button-previous:focus {
    background-color: #000000
}

.card {
    z-index: 0;
    border: none;
    position: relative
}

.steps {
    font-size: 25px;
    color: gray;
    margin-bottom: 10px;
    font-weight: normal;
    text-align: right
}

#progressbar {
    margin-bottom: 30px;
    overflow: hidden;
    color: lightgrey
}

#progressbar li {
    list-style-type: none;
    font-size: 15px;
    width: 25%;
    float: left;
    position: relative;
    font-weight: 400
}

#progressbar #account:before {
    font-family: "Font Awesome 5 Free";
    content: "\f2bb";
}

#progressbar #personal:before {
    font-family: "Font Awesome 5 Free";
    content: "\f095";
    font-weight: 900;
}

#progressbar #photo:before {
    font-family: "Font Awesome 5 Free";
    content: "\f030";
    font-weight: 900;
}

#progressbar #extra:before {
    font-family: "Font Awesome 5 Free";
    content: "\f4ff";
    font-weight: 900;
}

#progressbar li:before {
    width: 50px;
    height: 50px;
    line-height: 45px;
    display: block;
    font-size: 20px;
    color: #ffffff;
    background: lightgray;
    border-radius: 50%;
    margin: 0 auto 10px auto;
    padding: 2px
}

#progressbar li:after {
    content: '';
    width: 100%;
    height: 2px;
    background: lightgray;
    position: absolute;
    left: 0;
    top: 25px;
    z-index: -1
}

.input-group-append {
    border-radius: 0.25rem;
  }

.acciones-registro {
    margin-top: 14px;
}

/* Botón principal */
.btn-siguiente {
    position: relative;
    min-height: 44px;
    border-radius: 4px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-siguiente i {
    position: absolute;
    right: 16px;
    font-size: 14px;
}

/* Fila inferior: Volver a la izquierda y captcha a la derecha */
.fila-volver-captcha {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 85px;
}

/* Volver con apariencia de enlace */
.btn-volver-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 0;
    margin: 0;
    border: 0;
    background: transparent;
    color: #6c757d;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
}

.btn-volver-link:hover {
    color: #343a40;
    text-decoration: underline;
}

.btn-volver-link:focus {
    outline: none;
    box-shadow: none;
}

.btn-volver-link:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    text-decoration: none;
}


@media (max-width: 576px) {
    #fieldset1 .form-card {
        padding-bottom: 0 !important;
    }
}