/**
 * User Profile Page Styles
 * Beautiful, professional profile design
 */

/* Main Container */
.uwm-user-profile-page {
    max-width: 1400px;
    margin: 0 auto;
    background: #f8f9fa;
}

/* Profile Header / Banner */
.uwm-profile-header {
    position: relative;
    background: #fff;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    overflow: hidden;
}

.uwm-profile-banner {
    height: 250px;
    background: linear-gradient(135deg, #03968F 0%, #027a73 50%, #F0A94C 100%);
    position: relative;
}

.uwm-profile-header-content {
    padding: 0 40px 30px;
    display: flex;
    align-items: flex-end;
    gap: 30px;
    position: relative;
}

/* Avatar Section */
.uwm-profile-avatar-section {
    position: relative;
    margin-top: -80px;
    flex-shrink: 0;
}

.uwm-profile-avatar {
    position: relative;
    display: inline-block;
}

.uwm-profile-avatar img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 6px solid #fff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    object-fit: cover;
    background: #fff;
}

.uwm-profile-status {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 5px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.uwm-profile-status.uwm-status-provider {
    background: #03968F;
}

.uwm-profile-status.uwm-status-client {
    background: #F0A94C;
}

/* Header Info */
.uwm-profile-header-info {
    flex: 1;
    padding-top: 10px;
}

.uwm-profile-name {
    margin: 0 0 5px 0;
    font-size: 32px;
    font-weight: 700;
    color: #2c3e50;
}

.uwm-profile-username {
    margin: 0 0 15px 0;
    font-size: 16px;
    color: #7f8c8d;
}

.uwm-profile-role-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
}

.uwm-profile-role-badge.uwm-badge-provider {
    background: rgba(3, 150, 143, 0.1);
    color: #03968F;
}

.uwm-profile-role-badge.uwm-badge-client {
    background: rgba(240, 169, 76, 0.1);
    color: #F0A94C;
}

.uwm-profile-role-badge .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.uwm-profile-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.uwm-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #7f8c8d;
}

.uwm-meta-item .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
    color: #03968F;
}

/* Profile Actions */
.uwm-profile-actions {
    display: flex;
    gap: 12px;
    padding-top: 10px;
}

.uwm-profile-btn {
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.uwm-profile-btn .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.uwm-btn-call {
    background: #03968F;
    color: #fff;
}

.uwm-btn-call:hover {
    background: #027a73;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(3, 150, 143, 0.3);
}

.uwm-btn-message {
    background: #fff;
    color: #2c3e50;
    border: 2px solid #e1e8ed;
}

.uwm-btn-message:hover {
    border-color: #03968F;
    color: #03968F;
    transform: translateY(-2px);
}

.uwm-btn-edit {
    background: #F0A94C;
    color: #fff;
}

.uwm-btn-edit:hover {
    background: #d89537;
    transform: translateY(-2px);
}

/* Profile Content */
.uwm-profile-content {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
    padding: 0 40px 40px;
}

/* Stats Grid */
.uwm-profile-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.uwm-stat-card {
    background: #fff;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.uwm-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.uwm-stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.uwm-stat-icon .dashicons {
    font-size: 28px;
    width: 28px;
    height: 28px;
    color: #fff;
}

.uwm-stat-details {
    flex: 1;
}

.uwm-stat-label {
    display: block;
    font-size: 13px;
    color: #7f8c8d;
    margin-bottom: 5px;
    font-weight: 500;
}

.uwm-stat-value {
    display: block;
    font-size: 26px;
    font-weight: 700;
    color: #2c3e50;
}

/* Profile Sections */
.uwm-profile-section {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 25px;
}

.uwm-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 20px 0;
    font-size: 20px;
    color: #03968F;
    font-weight: 700;
}

.uwm-section-title .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
}

.uwm-section-content {
    color: #2c3e50;
    line-height: 1.8;
}

.uwm-empty-state {
    color: #95a5a6;
    font-style: italic;
    text-align: center;
    padding: 20px;
}

/* Activity List */
.uwm-activity-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.uwm-activity-item {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #03968F;
    transition: all 0.3s ease;
}

.uwm-activity-item:hover {
    background: #f0f2f5;
    transform: translateX(5px);
}

.uwm-activity-icon {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    background: rgba(3, 150, 143, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.uwm-activity-icon .dashicons {
    font-size: 22px;
    width: 22px;
    height: 22px;
    color: #03968F;
}

.uwm-activity-content {
    flex: 1;
}

.uwm-activity-title {
    margin: 0 0 5px 0;
    font-size: 15px;
    color: #2c3e50;
}

.uwm-activity-meta {
    margin: 0;
    font-size: 13px;
    color: #7f8c8d;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.uwm-separator {
    color: #cbd5e0;
}

.uwm-cost {
    font-weight: 600;
    color: #03968F;
}

/* Sidebar */
.uwm-profile-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.uwm-sidebar-card {
    background: #fff;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.uwm-sidebar-card h3 {
    margin: 0 0 20px 0;
    font-size: 18px;
    color: #2c3e50;
    font-weight: 700;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

/* Info List */
.uwm-info-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.uwm-info-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
}

.uwm-info-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #7f8c8d;
    font-weight: 500;
}

.uwm-info-label .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
    color: #03968F;
}

.uwm-info-value {
    font-size: 14px;
    color: #2c3e50;
    font-weight: 600;
    text-align: right;
}

/* Availability Card */
.uwm-availability-status {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: rgba(46, 204, 113, 0.1);
    border-radius: 10px;
    margin-bottom: 15px;
}

.uwm-status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.uwm-status-dot.uwm-status-online {
    background: #2ecc71;
}

.uwm-status-dot.uwm-status-offline {
    background: #95a5a6;
}

.uwm-status-text {
    font-size: 15px;
    font-weight: 600;
    color: #2ecc71;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.uwm-rate-info {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    text-align: center;
}

.uwm-rate-label {
    display: block;
    font-size: 13px;
    color: #7f8c8d;
    margin-bottom: 5px;
}

.uwm-rate-value {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #03968F;
}

/* Notice */
.uwm-notice {
    padding: 20px;
    border-radius: 12px;
    margin: 20px 0;
}

.uwm-notice-error {
    background: #fee;
    color: #c33;
    border-left: 4px solid #c33;
}

/* Responsive */
@media (max-width: 1200px) {
    .uwm-profile-content {
        grid-template-columns: 1fr;
    }
    
    .uwm-profile-sidebar {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .uwm-profile-header-content {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 20px 20px;
    }
    
    .uwm-profile-avatar-section {
        margin-top: -60px;
    }
    
    .uwm-profile-avatar img {
        width: 120px;
        height: 120px;
    }
    
    .uwm-profile-name {
        font-size: 24px;
    }
    
    .uwm-profile-actions {
        width: 100%;
        flex-direction: column;
    }
    
    .uwm-profile-btn {
        width: 100%;
        justify-content: center;
    }
    
    .uwm-profile-content {
        padding: 0 20px 20px;
    }
    
    .uwm-profile-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .uwm-info-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .uwm-info-value {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .uwm-profile-banner {
        height: 150px;
    }
    
    .uwm-profile-avatar img {
        width: 100px;
        height: 100px;
    }
    
    .uwm-profile-name {
        font-size: 20px;
    }
    
    .uwm-stat-card {
        flex-direction: column;
        text-align: center;
    }
    
    .uwm-stat-icon {
        margin: 0 auto;
    }
}

