/**
 * Enhanced User Profile Styles
 * Modern, professional profile design with gallery, stories, and reviews
 */

/* ========== Enhanced Profile Header ========== */
.uwm-profile-enhanced-header {
    position: relative;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.uwm-profile-banner-image {
    height: 300px;
    background-size: cover;
    background-position: center;
    background-color: linear-gradient(135deg, #03968F 0%, #02756f 100%);
    position: relative;
}

.uwm-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.3) 100%);
}

.uwm-profile-header-main {
    display: flex;
    align-items: flex-end;
    gap: 30px;
    padding: 0 40px 30px;
    margin-top: -80px;
    position: relative;
    z-index: 2;
}

.uwm-profile-avatar-large {
    position: relative;
    flex-shrink: 0;
}

.uwm-profile-avatar-large img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 6px solid #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    object-fit: cover;
}

.uwm-status-indicator {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 4px solid #fff;
}

.uwm-status-indicator.uwm-online {
    background: #2ecc71;
    box-shadow: 0 0 10px rgba(46, 204, 113, 0.6);
}

.uwm-status-indicator.uwm-away {
    background: #f39c12;
}

.uwm-profile-header-info {
    flex: 1;
    min-width: 0;
}

.uwm-profile-title {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: #2c3e50;
}

.uwm-profile-tagline {
    font-size: 16px;
    color: #7f8c8d;
    font-style: italic;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.uwm-profile-tagline .dashicons {
    color: #03968F;
}

.uwm-profile-meta-info {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.uwm-profile-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.uwm-badge-provider {
    background: linear-gradient(135deg, rgba(3, 150, 143, 0.1), rgba(3, 150, 143, 0.2));
    color: #03968F;
}

.uwm-badge-client {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(52, 152, 219, 0.2));
    color: #3498db;
}

.uwm-profile-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #F0A94C;
}

.uwm-profile-rating .dashicons {
    font-size: 18px;
}

.uwm-profile-joined {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #7f8c8d;
}

.uwm-profile-header-actions {
    display: flex;
    gap: 10px;
    align-items: flex-end;
    flex-shrink: 0;
}

.uwm-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
}

.uwm-btn-primary {
    background: #03968F;
    color: #fff;
}

.uwm-btn-primary:hover {
    background: #02756f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(3, 150, 143, 0.3);
}

.uwm-btn-call {
    background: #F0A94C;
    color: #fff;
}

.uwm-btn-call:hover {
    background: #d89538;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(240, 169, 76, 0.3);
}

.uwm-btn-secondary {
    background: #f8f9fa;
    color: #2c3e50;
    border: 2px solid #e1e8ed;
}

.uwm-btn-secondary:hover {
    background: #fff;
    border-color: #03968F;
    color: #03968F;
}

.uwm-btn-icon {
    padding: 12px;
    width: 48px;
    height: 48px;
    justify-content: center;
}

.uwm-btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

/* ========== Enhanced Content Grid ========== */
.uwm-profile-enhanced-content {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
}

.uwm-profile-main-column {
    min-width: 0;
}

.uwm-profile-sidebar-column {
    min-width: 0;
}

/* ========== Modern Stats Cards ========== */
.uwm-stats-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.uwm-stat-modern-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.uwm-stat-modern-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.uwm-stat-icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
}

.uwm-stat-wallet .uwm-stat-icon-wrap {
    background: linear-gradient(135deg, #03968F, #02756f);
    color: #fff;
}

.uwm-stat-calls .uwm-stat-icon-wrap {
    background: linear-gradient(135deg, #F0A94C, #d89538);
    color: #fff;
}

.uwm-stat-minutes .uwm-stat-icon-wrap {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
}

.uwm-stat-earned .uwm-stat-icon-wrap {
    background: linear-gradient(135deg, #f093fb, #f5576c);
    color: #fff;
}

.uwm-stat-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.uwm-stat-number {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1;
}

.uwm-stat-title {
    font-size: 13px;
    color: #7f8c8d;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ========== Profile Sections ========== */
.uwm-profile-section {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.uwm-section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 20px 0;
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
}

.uwm-section-header .dashicons {
    font-size: 24px;
    color: #03968F;
}

.uwm-count-badge {
    background: #03968F;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 12px;
    margin-left: auto;
}

.uwm-section-body {
    color: #555;
    line-height: 1.8;
}

.uwm-bio-text {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin: 0;
}

/* ========== Gallery Grid ========== */
.uwm-gallery-modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.uwm-gallery-modern-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
}

.uwm-gallery-modern-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.uwm-gallery-modern-item:hover img {
    transform: scale(1.1);
}

.uwm-gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(3, 150, 143, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.uwm-gallery-modern-item:hover .uwm-gallery-overlay {
    opacity: 1;
}

.uwm-gallery-overlay .dashicons {
    font-size: 32px;
    color: #fff;
}

.uwm-empty-gallery,
.uwm-empty-stories {
    text-align: center;
    padding: 60px 20px;
    color: #95a5a6;
}

.uwm-empty-gallery .dashicons,
.uwm-empty-stories .dashicons {
    font-size: 48px;
    opacity: 0.5;
}

.uwm-empty-gallery p,
.uwm-empty-stories p {
    margin: 15px 0;
    font-size: 16px;
}

/* ========== Stories Grid ========== */
.uwm-stories-modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.uwm-story-modern-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.uwm-story-modern-card:hover {
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.uwm-story-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.uwm-story-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
    flex: 1;
}

.uwm-story-date {
    font-size: 12px;
    color: #95a5a6;
}

.uwm-story-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: #7f8c8d;
    margin-bottom: 12px;
}

.uwm-story-read-more {
    color: #03968F;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.3s ease;
}

.uwm-story-read-more:hover {
    color: #02756f;
    gap: 8px;
}

/* ========== Reviews List ========== */
.uwm-reviews-modern-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.uwm-review-modern-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
}

.uwm-review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.uwm-reviewer-info strong {
    font-size: 16px;
    color: #2c3e50;
}

.uwm-review-stars {
    display: flex;
    gap: 2px;
    margin-top: 4px;
}

.uwm-review-stars .dashicons {
    font-size: 16px;
}

.uwm-review-stars .dashicons-star-filled {
    color: #F0A94C;
}

.uwm-review-stars .dashicons-star-empty {
    color: #e1e8ed;
}

.uwm-review-date {
    font-size: 12px;
    color: #95a5a6;
}

.uwm-review-text {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}

/* ========== Sidebar Cards ========== */
.uwm-sidebar-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
}

.uwm-sidebar-card h3 {
    margin: 0 0 20px 0;
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
}

/* Rate Card */
.uwm-rate-display-large {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, rgba(3, 150, 143, 0.05), rgba(3, 150, 143, 0.15));
    border-radius: 12px;
}

.uwm-rate-amount {
    display: block;
    font-size: 48px;
    font-weight: 700;
    color: #03968F;
    line-height: 1;
    margin-bottom: 8px;
}

.uwm-rate-period {
    font-size: 14px;
    color: #7f8c8d;
    font-weight: 600;
}

/* Quick Info List */
.uwm-info-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.uwm-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid #e1e8ed;
}

.uwm-info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.uwm-info-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #7f8c8d;
    font-weight: 600;
}

.uwm-info-label .dashicons {
    font-size: 18px;
    color: #03968F;
}

.uwm-info-value {
    font-size: 14px;
    color: #2c3e50;
    font-weight: 600;
}

/* Share Buttons */
.uwm-share-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.uwm-share-btn {
    aspect-ratio: 1;
    border: 2px solid #e1e8ed;
    background: #f8f9fa;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.uwm-share-btn:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.uwm-share-btn .dashicons {
    font-size: 20px;
    color: #7f8c8d;
}

.uwm-share-btn:hover .dashicons {
    color: #03968F;
}

/* ========== Responsive Design ========== */
@media (max-width: 1200px) {
    .uwm-profile-enhanced-content {
        grid-template-columns: 1fr;
    }
    
    .uwm-profile-sidebar-column {
        order: 2;
    }
}

@media (max-width: 768px) {
    .uwm-profile-banner-image {
        height: 200px;
    }
    
    .uwm-profile-header-main {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 0 20px 20px;
    }
    
    .uwm-profile-avatar-large img {
        width: 120px;
        height: 120px;
    }
    
    .uwm-profile-title {
        font-size: 24px;
    }
    
    .uwm-profile-meta-info {
        justify-content: center;
    }
    
    .uwm-profile-header-actions {
        width: 100%;
        justify-content: center;
    }
    
    .uwm-stats-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .uwm-gallery-modern-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 10px;
    }
    
    .uwm-stories-modern-grid {
        grid-template-columns: 1fr;
    }
    
    .uwm-profile-section {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .uwm-profile-header-main {
        padding: 0 15px 15px;
    }
    
    .uwm-btn {
        padding: 10px 16px;
        font-size: 14px;
    }
    
    .uwm-stat-number {
        font-size: 24px;
    }
    
    .uwm-rate-amount {
        font-size: 36px;
    }
}

