/* Profile Shared Styles */
/* Common styles used across profile.html and public-profile.html */

/* Typography */
body { font-family: 'Poppins', sans-serif; }
.font-cabin-condensed { font-family: 'Cabin Condensed', sans-serif; }

/* Color System */
.ut-orange-text { color: #BF5700; }
.ut-navy-text { color: #333F48; }
.ut-orange { background-color: #BF5700; }
.ut-navy { background-color: #333F48; }

/* Profile Header */
.profile-header-bg {
    background: linear-gradient(135deg, #333F48 0%, #BF5700 100%);
}

.page-header-bg {
    background-image: linear-gradient(rgba(51, 63, 72, 0.9), rgba(51, 63, 72, 0.9)), url('../img/background.png');
    background-size: cover;
    background-position: center;
}

/* Card Components */
.engagement-card {
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.engagement-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-left-color: #BF5700;
}

.activity-card {
    transition: all 0.3s ease;
}

.activity-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.stat-card {
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* Profile Elements */
.expertise-tag {
    background: linear-gradient(135deg, #BF5700, #FF7B1A);
    color: white;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 0.875rem;
    font-weight: 500;
    display: inline-block;
    margin: 4px;
}

/* Avatar Upload */
.avatar-upload {
    position: relative;
    display: inline-block;
}

.avatar-upload input[type="file"] {
    display: none;
}

.avatar-upload .upload-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.avatar-upload:hover .upload-overlay {
    opacity: 1;
}

/* Profile Image Styling */
img[src*="avatar"], img[alt*="avatar"], .rounded-full {
    object-fit: cover;
    object-position: top center;
}

/* Tab System */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Utility Classes */
[x-cloak] { 
    display: none !important; 
}

/* Rich Text Editor Styles */
.rich-text-content {
    line-height: 1.6;
}

.rich-text-content[data-placeholder]:empty:before {
    content: attr(data-placeholder);
    color: #9ca3af;
    pointer-events: none;
}

.rich-text-content p {
    margin: 0.5rem 0;
}

.rich-text-content h1, .rich-text-content h2, .rich-text-content h3 {
    margin: 1rem 0 0.5rem 0;
    font-weight: 600;
}

.rich-text-content h1 { font-size: 1.875rem; }
.rich-text-content h2 { font-size: 1.5rem; }
.rich-text-content h3 { font-size: 1.25rem; }

/* Rich Text Images */
.rich-text-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}