﻿.profile-card {
    width: 22rem;
    height: 22rem;
    border: 1px solid #ddd;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    background-color: #080808;
    color: white;
    margin: 0 auto;
    box-sizing: border-box;
}


.avatar-container {
    width: 5rem;
    height: 5rem;
    overflow: hidden;
    border-radius: 50%;
    margin-bottom: 8px;
    flex-shrink: 0;
}

.avatar-img {
    width: 5rem;
    height: 5rem;
    object-fit: cover;
    object-position: center;
    display: block;
    border-color: white;
    border-width: 3px;
    border-radius: 50%;
}

.user-name {
    font-size: 1.7rem;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-weight: bold;
    text-align: center;
    margin: 4px 0;
    color: white;
}

.user-location {
    font-size: 1.1rem;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    text-align: center;
    font-weight: bold;
    margin: 2px 0;
    color: #c9c9c9;
}

.user-address {
    min-height: 1.2em;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    color: white;
}

.stats-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 0.85rem;
    margin: 8px 0;
}

.stats-chip {
    padding: 6px 10px;
    color: red;
    background-color: #1a1a1a;
    align-items: center;
    border-radius: 1px;
}

.user-last-time-posted {
    font-size: 0.8rem;
    font-weight: bold;
    color: #b2b2b2;
    text-align: center;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    margin: 4px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    /* Animation */
    animation: pulseColor 2s infinite alternate;
}

@keyframes pulseColor {
    from {
        color: #b2b2b2; /* light gray */
    }

    to {
        color: #909090; /* example: red */
    }
}


.chip-content {
    display: flex;
    color: white;
    align-items: center;
    gap: 6px;
}

.stats-icon {
    font-size: 1rem;
    color: white;
    vertical-align: middle;
}

.user-details {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 0.9rem;
    text-align: center;
    color: black;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    padding: 0 1rem;
    max-width: calc(22rem - 1rem);
    box-sizing: border-box;
}
