* {
    font-size: 14px;
}

html, body {
    font-family: Roboto, Helvetica, Arial, sans-serif;
    background-color: #D0D6E3;
}

p {
    margin: 0;
    padding: 0;
}

.page {
    background-color: #D0D6E3;
}

.detail__logos div {
    margin: 1rem 0;
}

.other-logos {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: space-around;
}

    .other-logos img {
        max-width: 25%;
        height: auto;
    }

.company-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

    .company-logo img {
        max-width: 65%;
        height: auto;
    }

.detail__container {
    max-width: 800px;
    width: 100%;
    min-width: 360px;
    margin: 0 auto;
    padding: 0.5rem;
    position: relative;
}

.detail__section {
    background-color: #F8F8F8;
    margin: 0.5rem 0;
    padding: 0.5rem;
    border-radius: 0.5rem;
}

.detail__section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

    .detail__section-header p {
        color: #143275;
        font-weight: 700;
    }

    .detail__section-header img {
        width: 1rem;
        height: 1rem;
    }

.detail__section-item {
    display: flex;
    gap: 0.5rem;
    align-items: start;
    margin: 0.5rem 0;
}

    .detail__section-item p:first-child {
        color: #737373;
        width: 40%
    }

    .detail__section-item p:last-child {
        font-weight: 700;
        width: 60%
    }

    .detail__section-item p.section-item__highlighted {
        color: #F49A1A;
    }

p.section-item__highlighted {
    color: #F49A1A;
}

.detail__section-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.detail__section-item-header-interactive {
    cursor: pointer;
}

.detail__section-expandable {
    padding: 1.5rem;
}

.detail__section-item-header p {
    color: #143275;
}

.detail__section-item-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
}

.detail__expandable-item {
    display: flex;
    gap: 0.5rem;
    justify-content: space-between;
    align-items: start;
    margin-top: 0.5rem;
}

.detail-expandable-item-button {
    display: flex;
    justify-content: end;
    margin: auto 0;
}

.detail__item-loans .detail-expandable-item-section:nth-child(1) {
    width: 25%;
}

.detail__item-loans .detail-expandable-item-section:nth-child(2) {
    width: 10%;
}

.detail__item-loans .detail-expandable-item-section:nth-child(3) {
    width: 35%;
}

.detail__item-loans .detail-expandable-item-section:nth-child(4) {
    width: 30%;
}

.detail__item-documents .detail-expandable-item-section:nth-child(1) {
    width: 15%;
}

.detail__item-documents .detail-expandable-item-section:nth-child(2) {
    width: 60%;
}

.detail__item-documents .detail-expandable-item-section:nth-child(3) {
    width: 25%;
}

.detail-expandable-item-section p:first-child {
    color: #737373;
}

.detail-expandable-item-section p:last-child {
    font-weight: 700;
}

.expandable-arrow {
    width: 0;
    height: 0;
    border-left: 0.5rem solid transparent;
    border-right: 0.5rem solid transparent;
    border-top: 0.5rem solid #143275;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}

.detail__section-expandable-expanded .detail__section-item-body {
    max-height: 1000px;
}

.detail__section-expandable-expanded .expandable-arrow {
    transform: rotate(180deg);
}

.detail__footer {
    background-color: #D0D6E3;
    padding: 1.5rem 0.5rem;
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 1rem;
    position: sticky;
    bottom: 0;
}

.detail__footer-nav-buttons {
    display: flex;
    align-items: center;
    gap: 2rem;
}

button {
    background-color: #143275;
    color: #F8F8F8;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

button img {
    width: 1.25rem;
    height: 1.25rem;
}

button.button-secondary {
    background-color: #F8F8F8;
    color: #143275;
    font-weight: 500;
    border: 1px solid #143275;
    padding: 0.15rem 0.5rem;
    border-radius: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

a.button-secondary {
    background-color: #F8F8F8;
    color: #143275;
    font-weight: 500;
    border: 1px solid #143275;
    padding: 0.15rem 0.5rem;
    border-radius: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration:none;
}

a.button-secondary:focus-visible, a.button-secondary:focus, a.button-secondary:focus-within {
    outline: none;
}

a.button-secondary:link {
    color: #143275;
}

a.button-secondary:visited {
    color: #143275;
}

a.button-secondary:active {
    color: #143275;
}

a.tertiary-btn {
    display: flex;
    align-items: center;
    flex-direction: column;
    background-color: transparent;
    color: #143275;
    text-transform: uppercase;
    padding: 0;
    gap: 0;
    font-size: 0.9rem;
    text-decoration: none;
}

a.tertiary-btn img {
    width: 1.5rem;
    height: 1.5rem;
}

a.tertiary-btn:focus-visible, a.tertiary-btn:focus, a.tertiary-btn:focus-within {
    outline: none;
}

a.tertiary-btn:link {
    color: #143275;
}

a.tertiary-btn:visited {
    color: #143275;
}

a.tertiary-btn:active {
    color: #143275;
}

button.button-secondary svg {
    width: 1rem;
    height: 1rem;
    fill: #143275;
}

a.button-secondary svg {
    width: 1rem;
    height: 1rem;
    fill: #143275;
}

.highlighted-button {
    background-color: #F49A1A;
}

.disabled-button {
    cursor: default;
    background-color: #93A0B3;
}

button.disabled-button:hover {
    cursor: default;
}

button:focus-visible, button:focus, button:focus-within {
    outline: none;
}

button.tertiary-btn {
    flex-direction: column;
    background-color: transparent;
    color: #143275;
    text-transform: uppercase;
    padding: 0;
    gap: 0;
    font-size: 0.9rem;
}

button.tertiary-btn img {
    width: 1.5rem;
    height: 1.5rem;
}

.page-load {
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-load__bar {
    border: 4px solid #f3f3f3;
    border-radius: 50%;
    border-top: 4px solid #143275;
    width: 45px;
    height: 45px;
    -webkit-animation: spin 1.5s linear infinite; /* Safari */
    animation: spin 1.5s linear infinite;
}

.load-circle__small {
    border: 2px solid #f3f3f3;
    border-radius: 50%;
    border-top: 2px solid #143275;
    width: 1rem;
    height: 1rem;
    -webkit-animation: spin 1.5s linear infinite; /* Safari */
    animation: spin 1.5s linear infinite;
}

/* Safari */
@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.page-success {
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-success__check {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    margin: 1rem 0;
}

.page-success__check svg {
    fill: #15A328;
    width: 3rem;
    height: 3rem;
}

.title-success {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    color: #15A328;
}

/* edit */
.edit-form__section {
    margin: 0.5rem 0;
}

.edit-form__text-row-container {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: space-between;
}

.edit-form__input {
    background-color: #F8F8F8;
    padding: 1rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
}

.edit-form__input svg {
    width: 1rem;
    height: 1rem;
    fill: #143275;
}

.edit-form__input input {
    width: 100%;
    border: 0;
    background: inherit;
    color: #143275;
}

.edit-form__input input::placeholder {
    color: #143275;
}

.edit-form__input input:focus, .edit-form__input input:focus-visible, .edit-form__input input:focus-within {
    border: none;
    outline: none;
}

.edit-form__input textarea {
    width: 100%;
    border: 0;
    background: inherit;
    color: #143275;
}

.edit-form__input textarea::placeholder {
    color: #143275;
}

.edit-form__input textarea:focus, .edit-form__input textarea:focus-visible, .edit-form__input textarea:focus-within {
    border: none;
    outline: none;
}

.edit-form__select-container .edit-form__input {
    display: block;
}

.edit-select__item {
    margin: 1rem 0;
    padding: 1rem 1.5rem;
    color: #F8F8F8;
    background-color: #7284AC;
    border-radius: 0.25rem;
    cursor: pointer;
}

.edit-form__files-container .edit-form__input {
    background-color: transparent;
    padding-left: 0;
    padding-right: 0;
    display: block;
}

.images__button {
    border: 1px solid #143275;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 1rem;
    border-radius: 2rem;
    background-color: #F8F8F8;
    transition: all;
    transition-duration: 0.3s;
}

.images__button-busy {
    border: none;
    pointer-events: none;
    cursor: default;
    background-color: #93A0B3;
}

.images__button label {
    color: #143275;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
}

.images__container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.image__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.image__container img {
    width: 5rem;
    height: 5rem;
    object-fit: contain;
}