html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.detail-section {
    margin-bottom: 1.5rem;
    border: 1px solid var(--bs-border-color);
    border-radius: 1rem;
    background: var(--bs-body-bg);
    overflow: hidden;
}

.detail-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--bs-border-color);
    background: var(--bs-tertiary-bg);
}

.detail-section-title {
    display: flex;
    align-items: center;
    gap: .85rem;
}

.detail-section-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: .75rem;
    background: rgba(var(--bs-primary-rgb),.10);
    color: var(--bs-primary);
    font-size: 1.15rem;
}

.detail-section-title h2 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
}

.detail-section-title p {
    margin: .15rem 0 0;
    color: var(--bs-secondary-color);
    font-size: .84rem;
}

.detail-section-body {
    padding: 1.25rem;
}

.detail-section-actions {
    display: flex;
    gap: .5rem;
    align-items: center;
}

.profile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    border: 1px solid var(--bs-border-color);
    border-radius: 1rem;
    background: var(--bs-body-bg);
}

.profile-header-main {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    min-width: 0;
}

.profile-header-image {
    width: 140px;
    aspect-ratio: 4 / 5;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 1rem;
    background: var(--bs-tertiary-bg);
    color: var(--bs-secondary-color);
    font-size: 3rem;
}

    .profile-header-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.profile-header-content {
    min-width: 0;
}

.profile-header-title-row {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

    .profile-header-title-row h1 {
        margin: 0;
        font-size: 1.65rem;
        font-weight: 750;
    }

    .profile-header-title-row p {
        margin: .3rem 0 0;
        color: var(--bs-secondary-color);
    }

.profile-header-metadata {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    margin-top: 1.25rem;
}

.profile-header-metadata-item {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
}

    .profile-header-metadata-item > i {
        margin-top: .15rem;
        color: var(--bs-primary);
    }

    .profile-header-metadata-item span,
    .profile-header-metadata-item strong {
        display: block;
    }

    .profile-header-metadata-item span {
        color: var(--bs-secondary-color);
        font-size: .78rem;
    }

    .profile-header-metadata-item strong {
        margin-top: .1rem;
        font-size: .9rem;
    }

.profile-header-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .6rem;
}

@media (max-width: 991.98px) {
    .profile-header {
        align-items: stretch;
        flex-direction: column;
    }

    .profile-header-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 575.98px) {
    .profile-header-main {
        align-items: flex-start;
    }

    .profile-header-image {
        width: 92px;
    }

    .profile-header-title-row {
        flex-direction: column;
        gap: .5rem;
    }

        .profile-header-title-row h1 {
            font-size: 1.3rem;
        }

    .profile-header-metadata {
        flex-direction: column;
        gap: .75rem;
    }
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: .85rem 0;
    border-bottom: 1px solid var(--bs-border-color);
}

    .info-row:last-child {
        border-bottom: none;
    }

.info-row-label {
    display: flex;
    align-items: center;
    gap: .55rem;
    color: var(--bs-secondary-color);
    font-weight: 500;
}

    .info-row-label i {
        color: var(--bs-primary);
        width: 18px;
    }

.info-row-value {
    text-align: right;
    font-weight: 600;
}

@media(max-width:768px) {

    .info-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .info-row-value {
        text-align: left;
    }
}