/**
 * AIMS Profile System CSS
 * Styles for user profile pages
 * File: profile/css/profile.css
 * Student: Musumba Jonathan (21/BCS/010/UMC)
 */
.profile-cover{height:350px;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);background-size:cover;background-position:center;position:relative;border-radius:0 0 20px 20px}
.profile-cover-overlay{position:absolute;bottom:0;left:0;right:0;height:100px;background:linear-gradient(to top,rgba(0,0,0,.7),transparent)}
.profile-header{position:relative;margin-top:-80px;padding:0 30px}
.profile-avatar{width:168px;height:168px;border-radius:50%;border:6px solid #fff;box-shadow:0 4px 20px rgba(0,0,0,.15);object-fit:cover;background:#fff}
.profile-info{margin-left:200px;margin-top:-120px;padding-top:20px}
.profile-name{font-size:32px;font-weight:700;color:#1a1a1a;margin-bottom:5px}
.profile-tagline{font-size:16px;color:#666;margin-bottom:10px}
.profile-meta{display:flex;gap:20px;font-size:14px;color:#888;margin-bottom:15px}
.profile-actions{display:flex;gap:10px;margin-top:20px}
.btn-profile{padding:10px 24px;border-radius:8px;font-weight:600;font-size:14px;border:none;cursor:pointer;transition:all .3s;text-decoration:none;display:inline-block}
.btn-primary-gradient{background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff}
.btn-primary-gradient:hover{transform:translateY(-2px);box-shadow:0 4px 12px rgba(102,126,234,.4)}
.btn-outline-gray{background:#fff;border:2px solid #e0e0e0;color:#333}
.btn-outline-gray:hover{background:#f5f5f5;border-color:#ccc}
.profile-completeness{background:#fff;padding:15px 20px;border-radius:12px;margin:20px 30px;box-shadow:0 2px 8px rgba(0,0,0,.05)}
.completeness-bar{height:8px;background:#e0e0e0;border-radius:10px;overflow:hidden;margin-top:10px}
.completeness-fill{height:100%;background:linear-gradient(90deg,#667eea 0%,#764ba2 100%);border-radius:10px;transition:width .5s}
.profile-stats{display:flex;gap:40px;padding:20px 30px;background:#fff;border-radius:12px;margin:0 30px 20px 30px;box-shadow:0 2px 8px rgba(0,0,0,.05)}
.stat-item{text-align:center}
.stat-value{font-size:24px;font-weight:700;color:#667eea}
.stat-label{font-size:13px;color:#888;margin-top:5px}
.profile-content{display:grid;grid-template-columns:1fr 350px;gap:20px;padding:0 30px 30px 30px}
.profile-main,.profile-sidebar{display:flex;flex-direction:column;gap:20px}
.profile-card{background:#fff;border-radius:12px;padding:20px;box-shadow:0 2px 8px rgba(0,0,0,.05)}
.card-header{font-size:18px;font-weight:700;color:#1a1a1a;margin-bottom:15px;padding-bottom:10px;border-bottom:2px solid #f0f0f0}
.about-text{color:#555;line-height:1.8;white-space:pre-wrap}
.skills-grid{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.skill-badge{padding:8px 16px;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;border-radius:20px;font-size:13px;font-weight:500}
.interest-badge{background:linear-gradient(135deg,#11998e 0%,#38ef7d 100%)}
.experience-item{padding:15px 0;border-bottom:1px solid #f0f0f0}
.experience-item:last-child{border-bottom:none}
.exp-title{font-weight:600;color:#1a1a1a;font-size:16px}
.exp-company{color:#666;font-size:14px;margin-top:3px}
.exp-duration{color:#888;font-size:13px;margin-top:5px}
.exp-description{color:#555;font-size:14px;margin-top:8px;line-height:1.6}
.achievement-item{display:flex;align-items:center;gap:12px;padding:12px;background:#f8f9ff;border-radius:8px;margin-bottom:10px}
.achievement-icon{width:48px;height:48px;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-size:24px}
.achievement-info h4{font-size:14px;font-weight:600;color:#1a1a1a;margin:0 0 3px 0}
.achievement-info p{font-size:12px;color:#666;margin:0}
.contact-item{display:flex;align-items:center;gap:10px;padding:10px 0;color:#555;font-size:14px}
.contact-icon{width:36px;height:36px;background:#f5f5f5;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#667eea}
.social-section{margin-top:15px;padding-top:15px;border-top:1px solid #f0f0f0}
.social-section h4{font-size:13px;font-weight:600;color:#888;margin-bottom:10px}
.social-links{display:flex;gap:10px}
.social-link{width:40px;height:40px;background:#f5f5f5;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#667eea;transition:all .3s}
.social-link:hover{background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;transform:translateY(-3px)}
.photo-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:10px}
.photo-item{aspect-ratio:1;border-radius:8px;overflow:hidden;cursor:pointer;transition:transform .3s}
.photo-item:hover{transform:scale(1.05)}
.photo-item img{width:100%;height:100%;object-fit:cover}
.recommendation-item{padding:15px;background:#f8f9ff;border-radius:10px;margin-bottom:15px}
.recommender-info{display:flex;align-items:center;gap:10px;margin-bottom:10px}
.recommender-avatar{width:40px;height:40px;border-radius:50%;object-fit:cover}
.recommender-name{font-weight:600;color:#1a1a1a;font-size:14px}
.recommender-relationship{font-size:12px;color:#888}
.recommendation-text{color:#555;font-size:14px;line-height:1.7}
.verified-badge{display:inline-flex;align-items:center;gap:5px;background:#4CAF50;color:#fff;padding:4px 10px;border-radius:12px;font-size:12px;font-weight:600}
.btn-icon{width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.9);border:none;cursor:pointer;transition:all .3s}
.btn-icon:hover{background:#fff;transform:scale(1.1)}
.loading-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.5);display:none;align-items:center;justify-content:center;z-index:9999}
.loading-overlay.active{display:flex}
.spinner{width:50px;height:50px;border:4px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:spin 1s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
.section-subtitle{font-size:14px;font-weight:600;color:#666;margin-bottom:8px}
.credential-link{color:#667eea;font-size:14px;margin-top:5px;display:inline-block}
.see-all-link{display:block;text-align:center;margin-top:10px;color:#667eea;font-weight:600}
@media (max-width:968px){.profile-content{grid-template-columns:1fr}.profile-info{margin-left:0;margin-top:20px;text-align:center}.profile-stats{flex-wrap:wrap;gap:20px}}