 /* 
==========================================================================
    Avatar Component Stylesheet
========================================================================== 
*/

@import url("variables.b47d8e0412c9.css");
 
 
/* Avatar Component - Responsive design */
.avatar {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 1;
    min-width: 150px;
}

.avatar.avatar-heading {
    gap: 1.25rem;
}

.avatar-icon {
    width: 70px;
    height: 70px;
    min-width: 70px; /* Match the width to prevent layout shifts */
    background: var(--primary-600);
    border-radius: 50%;
    border: 5px solid var(--primary-400);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0; /* Prevents shrinking on small screens */
}

.avatar.avatar-compact .avatar-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
}

.avatar-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: 50%;
    display: block;
}




.avatar-initials {
    color: white;
    font-size: 1.0rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.avatar.avatar-heading .avatar-initials {
    font-size: 1.25rem;
}

.avatar-body {
    flex: 1;
    min-width: 0; /* Allows text to wrap/truncate */
}

.avatar-title {
    font-size: 1.25rem !important;
    font-weight: 700;
    word-break: break-word;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
}

.avatar.avatar-compact  .avatar-title {
    font-size: 1.0rem !important;
    font-weight: 700;
    word-break: break-word;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
}

.avatar.avatar-heading .avatar-body .avatar-title {
    font-size: 1.25rem !important;
}

/* Text truncate utility for avatar title */
.avatar-body .avatar-title.text-truncate {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: normal;
    overflow-wrap: normal;
    word-wrap: normal;
    hyphens: none;
}

.avatar-body .avatar-subtitle {
    font-size: 0.75rem !important;
    color: var(--bs-secondary);
    /* white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; */
}


.avatar-eyebrow {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0rem;
    margin-top: 0rem;
    color: var(--primary-700);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

@media (max-width: 576px) {
    .avatar.avatar-heading .avatar-icon {
        width: 56px;
        height: 56px;
        min-width: 56px;
    }

    .avatar.avatar-heading .avatar-initials {
        font-size: 1.1rem;
    }

    .avatar.avatar-heading .avatar-body .avatar-title {
        font-size: 1.0rem !important;
    }
}
   