/**
 * Psy4cast Advisor Profile Page Styles
 *
 * @package Psy4cast_Advisors
 */

/* ─── Layout ─────────────────────────────────────────────────────── */

.psy4cast-profile-wrap {
    max-width: 1140px;
    margin: 0 auto;
    padding: 20px 15px 60px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
    color: #333;
}

.psy4cast-profile-breadcrumb {
    font-size: 13px;
    color: #888;
    margin-bottom: 20px;
}
.psy4cast-profile-breadcrumb a {
    color: #8e44ad;
    text-decoration: none;
}
.psy4cast-profile-breadcrumb a:hover {
    text-decoration: underline;
}
.psy4cast-profile-breadcrumb .sep {
    margin: 0 6px;
    color: #ccc;
}

.psy4cast-profile-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 30px;
    align-items: start;
}

/* ─── Profile Header ─────────────────────────────────────────────── */

.psy4cast-profile-header {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    background: #fff;
    padding: 28px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    margin-bottom: 24px;
}

.psy4cast-profile-avatar-wrap {
    position: relative;
    flex-shrink: 0;
}

.psy4cast-profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #8e44ad;
    box-shadow: 0 4px 16px rgba(142,68,173,0.25);
}

.psy4cast-profile-avatar-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #8e44ad, #6c3483);
    color: #fff;
    font-size: 48px;
    font-weight: 700;
}

.psy4cast-profile-status-dot {
    position: absolute;
    bottom: 6px;
    right: 6px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.psy4cast-profile-status-online {
    background: #27ae60;
}
.psy4cast-profile-status-offline {
    background: #bdc3c7;
}

.psy4cast-profile-header-info {
    flex: 1;
}

.psy4cast-profile-name {
    margin: 0 0 6px;
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.2;
}

.psy4cast-profile-status-text {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
}
.psy4cast-profile-status-text.online {
    color: #27ae60;
}
.psy4cast-profile-status-text.offline {
    color: #95a5a6;
}

.psy4cast-profile-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.psy4cast-profile-tag {
    display: inline-block;
    background: #f0e6f6;
    color: #8e44ad;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* ─── Rating ─────────────────────────────────────────────────────── */

.psy4cast-profile-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 8px;
}

.psy4cast-star {
    font-size: 18px;
    color: #ddd;
}
.psy4cast-star.filled {
    color: #f1c40f;
}

.psy4cast-rating-text {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-left: 4px;
}

.psy4cast-review-count {
    font-size: 13px;
    color: #888;
    margin-left: 4px;
}

/* ─── Stats ──────────────────────────────────────────────────────── */

.psy4cast-profile-stats {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.psy4cast-profile-stat {
    font-size: 13px;
    color: #666;
    background: #f8f8f8;
    padding: 4px 10px;
    border-radius: 6px;
}

/* ─── Content Sections ───────────────────────────────────────────── */

.psy4cast-profile-section {
    background: #fff;
    padding: 24px 28px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    margin-bottom: 20px;
}

.psy4cast-profile-section h2 {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0e6f6;
}

.psy4cast-profile-text {
    font-size: 15px;
    line-height: 1.7;
    color: #444;
}

/* ─── Skills & Tags Grid ─────────────────────────────────────────── */

.psy4cast-profile-tags-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.psy4cast-profile-tag-group h4 {
    font-size: 14px;
    font-weight: 600;
    color: #666;
    margin: 0 0 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.psy4cast-profile-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.psy4cast-profile-skill-tag {
    display: inline-block;
    background: linear-gradient(135deg, #f8f4fb, #ede4f5);
    color: #6c3483;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid #e0d0ec;
}

/* ─── Reviews ────────────────────────────────────────────────────── */

.psy4cast-profile-reviews {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.psy4cast-profile-review {
    padding: 16px;
    background: #fafafa;
    border-radius: 8px;
    border-left: 3px solid #8e44ad;
}

.psy4cast-review-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.psy4cast-review-stars .psy4cast-star {
    font-size: 14px;
}

.psy4cast-review-author {
    font-weight: 600;
    font-size: 14px;
    color: #333;
}

.psy4cast-review-date {
    font-size: 12px;
    color: #999;
}

.psy4cast-review-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    font-style: italic;
}

/* ─── Sidebar ────────────────────────────────────────────────────── */

.psy4cast-profile-sidebar {
    position: sticky;
    top: 40px;
}

.psy4cast-profile-action-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    padding: 24px;
    margin-bottom: 20px;
    border-top: 4px solid #8e44ad;
}

/* ─── Pricing ────────────────────────────────────────────────────── */

.psy4cast-profile-pricing {
    margin-bottom: 20px;
}

.psy4cast-profile-price-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}
.psy4cast-profile-price-row:last-child {
    border-bottom: none;
}

.psy4cast-profile-price-icon {
    font-size: 20px;
}

.psy4cast-profile-price-label {
    font-weight: 600;
    color: #333;
    flex: 1;
}

.psy4cast-profile-price-current {
    font-size: 16px;
    font-weight: 700;
    color: #2c3e50;
}
.psy4cast-profile-price-current.offer {
    color: #e74c3c;
}

.psy4cast-profile-price-old {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
}

/* ─── Action Buttons ─────────────────────────────────────────────── */

.psy4cast-profile-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

.psy4cast-profile-btn {
    display: block;
    text-align: center;
    padding: 14px 20px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

.psy4cast-profile-btn-chat {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: #fff;
    box-shadow: 0 4px 12px rgba(39,174,96,0.3);
}
.psy4cast-profile-btn-chat:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(39,174,96,0.4);
    color: #fff;
    text-decoration: none;
}

.psy4cast-profile-btn-call {
    background: linear-gradient(135deg, #2980b9, #3498db);
    color: #fff;
    box-shadow: 0 4px 12px rgba(41,128,185,0.3);
}
.psy4cast-profile-btn-call:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(41,128,185,0.4);
    color: #fff;
    text-decoration: none;
}

.psy4cast-profile-btn-disabled {
    background: #ecf0f1;
    color: #95a5a6;
    cursor: default;
}

.psy4cast-profile-action-note {
    text-align: center;
    font-size: 13px;
    color: #888;
    margin: 0;
}

/* ─── Quick Info ──────────────────────────────────────────────────── */

.psy4cast-profile-quick-info {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    padding: 20px 24px;
}

.psy4cast-profile-quick-info h3 {
    font-size: 16px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 12px;
}

.psy4cast-profile-quick-info ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.psy4cast-profile-quick-info li {
    padding: 8px 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: 14px;
    color: #555;
}
.psy4cast-profile-quick-info li:last-child {
    border-bottom: none;
}

.psy4cast-profile-quick-info li strong {
    color: #333;
}

/* ─── Responsive ─────────────────────────────────────────────────── */

@media (max-width: 900px) {
    .psy4cast-profile-layout {
        grid-template-columns: 1fr;
    }

    .psy4cast-profile-sidebar {
        position: static;
    }

    .psy4cast-profile-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .psy4cast-profile-categories {
        justify-content: center;
    }

    .psy4cast-profile-rating {
        justify-content: center;
    }

    .psy4cast-profile-stats {
        justify-content: center;
    }

    .psy4cast-profile-tags-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .psy4cast-profile-avatar {
        width: 90px;
        height: 90px;
    }

    .psy4cast-profile-name {
        font-size: 22px;
    }

    .psy4cast-profile-section {
        padding: 18px 16px;
    }

    .psy4cast-profile-header {
        padding: 20px 16px;
    }
}
