﻿/* ============================================================
   PROFILE PAGE STYLES - PAKMEDICS
   ============================================================ */

/* Banner */
.profile-banner {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #0d7c6e 0%, #095a4f 100%);
    border-radius: 20px 20px 0 0;
    position: relative;
    overflow: hidden;
}

.profile-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-banner .banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 40px;
    background: linear-gradient(transparent, rgba(0,0,0,0.6));
}

/* Profile Header Card */
.profile-header-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid #e2e8f0;
    margin-top: -60px;
    position: relative;
    z-index: 2;
    padding: 30px 35px;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    object-fit: cover;
    background: #e2e8f0;
    flex-shrink: 0;
}

.profile-avatar-fallback {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    background: linear-gradient(135deg, #0d7c6e, #10a58a);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: 700;
    flex-shrink: 0;
}

.profile-name {
    font-size: 28px;
    font-weight: 800;
    color: #0a1a1f;
    margin: 0;
}

.profile-title-text {
    font-size: 16px;
    color: #64748b;
    margin: 2px 0;
}

.profile-location {
    font-size: 14px;
    color: #94a3b8;
}

.profile-location i {
    color: #0d7c6e;
    margin-right: 4px;
}

.verified-badge {
    display: inline-block;
    background: #d1fae5;
    color: #065f46;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 8px;
}

.verified-badge i {
    margin-right: 4px;
}

/* WhatsApp Badge */
.whatsapp-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #25D366;
    color: white;
    padding: 2px 10px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
}

.whatsapp-badge i {
    font-size: 14px;
}

/* Profile Stats */
.profile-stats {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.profile-stat {
    text-align: center;
}

.profile-stat .number {
    font-size: 24px;
    font-weight: 700;
    color: #0a1a1f;
    display: block;
}

.profile-stat .label {
    font-size: 12px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.star-rating {
    color: #f59e0b;
    font-size: 18px;
    letter-spacing: 2px;
}

.star-rating .empty {
    color: #cbd5e1;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.action-buttons .btn-action {
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
}

.action-buttons .btn-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.btn-book {
    background: linear-gradient(135deg, #0d7c6e, #095a4f);
    color: white;
}

.btn-book:hover {
    color: white;
    box-shadow: 0 8px 25px rgba(13,124,110,0.3);
}

.btn-message {
    background: #3b82f6;
    color: white;
}

.btn-message:hover {
    color: white;
    box-shadow: 0 8px 25px rgba(59,130,246,0.3);
}

.btn-chat {
    background: #8b5cf6;
    color: white;
}

.btn-chat:hover {
    color: white;
    box-shadow: 0 8px 25px rgba(139,92,246,0.3);
}

.btn-directory {
    background: #f1f5f9;
    color: #475569;
}

.btn-directory:hover {
    color: #0a1a1f;
    background: #e2e8f0;
}

/* Info Card */
.info-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.info-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.info-card .card-title {
    font-weight: 700;
    color: #0a1a1f;
    font-size: 18px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-card .card-title i {
    color: #0d7c6e;
    font-size: 20px;
}

.info-item {
    display: flex;
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
}

.info-item:last-child {
    border-bottom: none;
}

.info-item .label {
    font-size: 13px;
    color: #94a3b8;
    width: 120px;
    flex-shrink: 0;
    font-weight: 500;
}

.info-item .value {
    font-size: 14px;
    color: #0a1a1f;
    flex: 1;
}

/* Service Badges */
.service-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 13px;
}

.service-badge.online {
    background: #d1fae5;
    color: #065f46;
}

.service-badge.inperson {
    background: #dbeafe;
    color: #1e40af;
}

.service-badge.paidqa {
    background: #fef3c7;
    color: #92400e;
}

.service-badge.whatsapp {
    background: #e0e7ff;
    color: #3730a3;
}

.service-badge.verified-practice {
    background: #d1fae5;
    color: #065f46;
}

/* Feature Badges */
.feature-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 500;
    background: #f0faf8;
    color: #0d7c6e;
    border: 1px solid #d1fae5;
}

.feature-badge i {
    color: #0d7c6e;
}

/* Quick Actions Card */
.quick-actions-card {
    background: white;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.quick-actions-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.quick-actions-header {
    padding: 16px 20px;
    background: linear-gradient(135deg, #0d7c6e 0%, #095a4f 100%);
    color: white;
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.quick-actions-header i {
    font-size: 20px;
}

.quick-actions-body {
    padding: 8px;
}

.quick-action-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-bottom: 4px;
    border: 1px solid transparent;
    cursor: pointer;
}

.quick-action-item:last-child {
    margin-bottom: 0;
}

.quick-action-item:hover {
    background: #f8fafc;
    border-color: #e2e8f0;
    transform: translateX(4px);
    text-decoration: none;
}

.quick-action-item .quick-action-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.quick-action-item.book .quick-action-icon {
    background: #d1fae5;
    color: #065f46;
}

.quick-action-item.chat .quick-action-icon {
    background: #dbeafe;
    color: #1e40af;
}

.quick-action-item.login .quick-action-icon {
    background: #fef3c7;
    color: #92400e;
}

.quick-action-item.register .quick-action-icon {
    background: #e0e7ff;
    color: #3730a3;
}

.quick-action-item.dashboard .quick-action-icon {
    background: #ede9fe;
    color: #5b21b6;
}

.quick-action-item.edit .quick-action-icon {
    background: #fce4ec;
    color: #c62828;
}

.quick-action-item.directory .quick-action-icon {
    background: #e8f5e9;
    color: #2e7d32;
}

.quick-action-item:hover .quick-action-icon {
    transform: scale(1.05);
}

.quick-action-item .quick-action-content {
    flex: 1;
    min-width: 0;
}

.quick-action-item .quick-action-title {
    display: block;
    font-weight: 600;
    color: #0a1a1f;
    font-size: 14px;
}

.quick-action-item .quick-action-desc {
    display: block;
    font-size: 12px;
    color: #94a3b8;
    margin-top: 1px;
}

.quick-action-item .quick-action-arrow {
    color: #cbd5e1;
    font-size: 14px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.quick-action-item:hover .quick-action-arrow {
    color: #0d7c6e;
    transform: translateX(4px);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.social-link.facebook { background: #1877f2; }
.social-link.twitter { background: #000; }
.social-link.youtube { background: #ff0000; }
.social-link.linkedin { background: #0a66c2; }
.social-link.instagram { background: #e4405f; }
.social-link.github { background: #181717; }
.social-link.website { background: #0d7c6e; }

/* Branding Card */
.branding-card {
    background: white;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.branding-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.branding-logo {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
}

.branding-text {
    margin-top: 8px;
    color: #94a3b8;
    font-size: 11px;
}

/* Rating Breakdown */
.rating-breakdown {
    margin-top: 8px;
}

.rating-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.rating-row .rating-label {
    min-width: 40px;
    font-size: 14px;
    font-weight: 500;
    color: #0a1a1f;
}

.rating-row .rating-label i {
    font-size: 14px;
}

.rating-row .rating-bar {
    flex: 1;
    height: 8px;
    background: #f1f5f9;
    border-radius: 4px;
    overflow: hidden;
}

.rating-row .rating-bar .rating-bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.8s ease;
}

.rating-bar-fill.five-star { background: #22c55e; }
.rating-bar-fill.four-star { background: #3b82f6; }
.rating-bar-fill.three-star { background: #f59e0b; }
.rating-bar-fill.two-star { background: #f97316; }
.rating-bar-fill.one-star { background: #ef4444; }

.rating-row .rating-percent {
    min-width: 45px;
    font-size: 13px;
    color: #64748b;
    text-align: right;
}

/* Responsive */
@media (max-width: 992px) {
    .profile-header-card {
        padding: 20px;
        margin-top: -40px;
    }

    .profile-avatar,
    .profile-avatar-fallback {
        width: 80px;
        height: 80px;
        font-size: 32px;
    }

    .profile-name {
        font-size: 22px;
    }

    .profile-stats {
        gap: 16px;
    }

    .info-item .label {
        width: 90px;
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .profile-banner {
        height: 150px;
    }

    .profile-banner .banner-overlay {
        padding: 15px 20px;
    }

    .profile-header-card {
        padding: 16px;
        margin-top: -30px;
    }

    .profile-avatar,
    .profile-avatar-fallback {
        width: 64px;
        height: 64px;
        font-size: 28px;
    }

    .profile-name {
        font-size: 18px;
    }

    .profile-title-text {
        font-size: 14px;
    }

    .profile-stats {
        gap: 12px;
    }

    .profile-stat .number {
        font-size: 18px;
    }

    .action-buttons .btn-action {
        padding: 8px 16px;
        font-size: 13px;
        flex: 1;
        justify-content: center;
    }

    .info-item {
        flex-direction: column;
        padding: 6px 0;
    }

    .info-item .label {
        width: 100%;
        font-size: 11px;
        color: #94a3b8;
    }

    .info-item .value {
        font-size: 13px;
    }

    .social-links {
        justify-content: center;
    }

    .quick-action-item {
        padding: 10px 12px;
    }

    .quick-action-item .quick-action-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .quick-action-item .quick-action-title {
        font-size: 13px;
    }

    .quick-action-item .quick-action-desc {
        font-size: 11px;
    }

    .branding-logo {
        max-height: 60px;
    }

    .rating-row .rating-label {
        min-width: 32px;
        font-size: 12px;
    }

    .rating-row .rating-percent {
        min-width: 35px;
        font-size: 11px;
    }

    .feature-badge {
        font-size: 11px;
        padding: 3px 10px;
    }
}

@media (max-width: 576px) {
    .profile-avatar,
    .profile-avatar-fallback {
        width: 56px;
        height: 56px;
        font-size: 24px;
    }

    .profile-name {
        font-size: 16px;
    }

    .profile-title-text {
        font-size: 13px;
    }

    .profile-stats {
        gap: 8px;
    }

    .profile-stat .number {
        font-size: 16px;
    }

    .profile-stat .label {
        font-size: 10px;
    }

    .action-buttons {
        flex-direction: column;
    }

    .action-buttons .btn-action {
        width: 100%;
        justify-content: center;
    }

    .info-card {
        padding: 16px;
    }

    .info-card .card-title {
        font-size: 16px;
    }

    .service-badge {
        font-size: 11px;
        padding: 4px 10px;
    }

    .quick-actions-header {
        font-size: 14px;
        padding: 12px 16px;
    }

    .quick-action-item {
        padding: 8px 10px;
    }

    .quick-action-item .quick-action-icon {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .quick-action-item .quick-action-title {
        font-size: 12px;
    }

    .quick-action-item .quick-action-desc {
        font-size: 10px;
    }

    .rating-row {
        gap: 8px;
    }

    .rating-row .rating-label {
        min-width: 28px;
        font-size: 11px;
    }

    .rating-row .rating-percent {
        min-width: 30px;
        font-size: 10px;
    }

    .feature-badge {
        font-size: 10px;
        padding: 2px 8px;
    }
}