﻿:root {
    --primary-color: #4285F4;
    --whatsapp-color: #25D366;
    --message-color: #13357B;
    --call-color: #EA4335;
    --profile-color: grey;
}

body {
    font-family: 'Segoe UI', Roboto, sans-serif;
    background-color: #f5f5f5;
    padding-top: 20px;
}

.user-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
    overflow: hidden;
}

    .user-card:hover {
        transform: translateY(-5px);
    }

.profile-header {
    background: linear-gradient(135deg, #13357B, black);
    padding: 20px;
    text-align: center;
    position: relative;
}

.profile-pic-container {
    width: 100px;
    height: 100px;
    margin: 0 auto 15px;
    border: 4px solid white;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.profile-pic {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-name {
    font-weight: 700;
    color: white;
    margin-bottom: 5px;
    font-size: 1.4rem;
}

.user-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.profile-body {
    padding: 20px;
}

.action-buttons {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-top: 20px;
}

.btn-action {
    color: white;
    border-radius: 50px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    transition: all 0.3s ease;
}

    .btn-action:hover {
        transform: scale(1.05);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

.btn-call {
    background-color: var(--call-color);
}

.btn-whatsapp {
    background-color: var(--whatsapp-color);
}

.btn-message {
    background-color: var(--message-color);
}

.btn-profile {
    background-color: var(--profile-color);
}

.stats-icon {
    margin-right: 5px;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .profile-pic-container {
        width: 80px;
        height: 80px;
    }

    .user-name {
        font-size: 1.2rem;
    }

    .action-buttons {
        flex-wrap: wrap;
    }

    .btn-action {
        min-width: 40px;
        flex: 1;
    }
}

@media (min-width: 992px) {
    .user-card {
        max-width: 350px;
        margin: 0 auto 20px;
    }
}
