/* assets/css/user-profile.css */

.profile-page {
    width: 100%;
    margin: 0 auto;
    padding: 20px;
}

/* Grid Layout */
.profile-row {
    display: grid;
    grid-template-columns: 250px 1fr 320px;
    gap: 30px;
}

@media (max-width: 992px) {
    .profile-row {
        grid-template-columns: 1fr;
    }
}

/* Cards (Bootstrap Style) */
.profile-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-bottom: 20px;
    overflow: hidden;
}

.profile-card-header {
    background: var(--bg-section);
    border-bottom: 1px solid var(--border-color);
    padding: 15px;
    font-weight: bold;
    color: var(--primary-dark);
}

.profile-card-body {
    padding: 20px;
}

.profile-card-footer {
    background: var(--bg-section);
    border-top: 1px solid var(--border-color);
    padding: 15px;
}

/* List Groups */
.profile-list-group {
    list-style: none;
    margin: 0;
    padding: 0;
}

.profile-list-group-item {
    border-bottom: 1px solid var(--border-color);
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
}

.profile-list-group-item:last-child {
    border-bottom: none;
}

.profile-list-group-action {
    display: block;
    width: 100%;
    text-align: left;
    text-decoration: none;
    color: var(--text-main);
    transition: background-color 0.2s, color 0.2s;
    cursor: pointer;
}

.profile-list-group-action:hover, .profile-list-group-action.active {
    background: var(--primary-light);
    color: var(--primary-dark);
    font-weight: bold;
}

/* Text Utilities */
.text-muted {
    color: var(--text-muted);
}

.text-center {
    text-align: center;
}

/* Badges / Tags */
.profile-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Nav Pills */
.profile-nav-pills {
    display: flex;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
    flex-wrap: wrap;
}

.profile-nav-link {
    background: var(--bg-section);
    border: 1px solid var(--border-color);
    padding: 8px 15px;
    color: var(--text-main);
    cursor: pointer;
    border-radius: 20px; 
    font-weight: bold;
    transition: all 0.2s;
}

.profile-nav-link:hover {
    background: var(--primary-light);
}

.profile-nav-link.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* Avatars */
.profile-avatar {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 15px auto;
    border: 3px solid var(--primary-light);
    display: block;
}

/* Buttons */
.btn-sm {
    padding: 5px 10px;
    font-size: 0.85rem;
    border-radius: 4px;
}
.btn-outline-primary {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    cursor: pointer;
}
.btn-outline-primary:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-outline-secondary {
    background: transparent;
    border: 1px solid var(--text-muted);
    color: var(--text-main);
    cursor: pointer;
}

.btn-outline-secondary:hover {
    background: var(--bg-tab-btn-hover);
}

.d-grid {
    display: grid;
    gap: 10px;
}

/* Flex Utilities */
.d-flex { display: flex; }
.justify-content-between { justify-content: space-between; }
.align-items-center { align-items: center; }
.w-100 { width: 100%; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.ms-2 { margin-left: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }

/* Blurred Text */
.blurred-text {
    filter: blur(4px);
    transition: filter 0.3s;
    user-select: none;
}
.blurred-text.visible {
    filter: blur(0);
    user-select: text;
}
