﻿ * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
           background-image: url("url.jpg");
            background-size: cover;
            background-repeat: no-repeat;
            background-position: center;
            background-attachment: fixed;
            margin: 0;
            padding: 0;
        }

        /* Modal Background */
#userProfileModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow-y: auto;
    font-family: 'Segoe UI', Arial, sans-serif;
}

/* Modal Content */
#userProfileModal .modal-content {
    background: #ffffff;
    border-radius: 12px;
    padding: 25px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    text-align: center;
}

/* Close Button */
#userProfileModal .close-btn {
    position: absolute;
    top: 10px;
    right: 12px;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
    line-height: 1;
}

#userProfileModal .close-btn:hover {
    color: #333;
}

/* Profile Image */
#userProfileModal img.profile-img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #f0f0f0;
    margin: 0 auto 15px;
    display: block;
}

/* Text Styling */
#userProfileModal h2.profile-name {
    font-size: 20px;
    color: #333;
    margin: 0 0 5px 0;
    font-weight: 600;
    line-height: 1.3;
}

#userProfileModal p.username {
    font-size: 14px;
    color: #777;
    margin: 0 0 15px 0;
}

/* Views Counter */
#userProfileModal .views-counter {
    font-size: 13px;
    color: #666;
    margin: 0 0 20px 0;
}

/* Social Links Section */
#userProfileModal .social-section {
    margin-top: 20px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

#userProfileModal .social-heading {
    font-size: 16px;
    color: #444;
    margin: 0 0 15px 0;
    font-weight: 500;
}

#userProfileModal .social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

#userProfileModal .social-link {
    display: inline-flex;
    align-items: center;
    background: #f8f9fa;
    color: #333;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
    width: fit-content;
    border: 1px solid #e0e0e0;
}

#userProfileModal .social-link i {
    margin-right: 8px;
    font-size: 16px;
}

#userProfileModal .social-link:hover {
    background-color: #f0f0f0;
}

/* Platform-specific colors */
#userProfileModal .social-link[data-platform="whatsapp"] i {
    color: #25D366;
}
#userProfileModal .social-link[data-platform="instagram"] i {
    color: #E4405F;
}
/* Add other platform colors as needed */

/* Responsive adjustments */
@media (max-width: 480px) {
    #userProfileModal .modal-content {
        padding: 20px 15px;
    }
    
    #userProfileModal img.profile-img {
        width: 80px;
        height: 80px;
    }
    
    #userProfileModal h2.profile-name {
        font-size: 18px;
    }
}

        .user-grid {
    width: 96%;
    margin: 2rem auto;
    background-color: #ffffffd6;
    border-collapse: collapse;
    font-family: 'Segoe UI', sans-serif;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.user-grid th {
    background-color: #084298;
    color: white;
    padding: 12px;
    text-align: left;
}

.user-grid td {
    padding: 12px;
    border-bottom: 1px solid #ddd;
    vertical-align: middle;
}

.user-grid tr:hover {
    background-color: #f1f1f1;
    transition: 0.2s;
}
.filter-container {
    width: 96%;
    margin: 2rem auto 1rem auto;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.filter-input {
    padding: 0.5rem 0.8rem;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 14px;
    min-width: 150px;
    transition: all 0.2s ease;
}

.filter-input:focus {
    border-color: #0d6efd;
    outline: none;
    box-shadow: 0 0 5px rgba(13, 110, 253, 0.3);
}

.filter-btn {
    background-color: #0d6efd;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.6rem 1.2rem;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.filter-btn:hover {
    background-color: #084298;
}
.pagination-bar {
    background-color: #e9f0ff;
    text-align: center;
    padding: 12px;
    border-top: 1px solid #ddd;
}

.pagination-bar a, .pagination-bar span {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 4px;
    text-decoration: none;
    color: #084298;
    font-weight: 600;
    border: 1px solid #084298;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.pagination-bar a:hover {
    background-color: #084298;
    color: white;
}

.pagination-bar span {
    background-color: #084298;
    color: white;
    cursor: default;
}

.record-info {
    font-family: 'Segoe UI', sans-serif;
    font-size: 14px;
    color: #444;
}
/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* Modal Content */
.modal-content {
    position: relative;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    max-width: 400px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Close Button */
.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #666;
    cursor: pointer;
    z-index: 1001;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: #333;
}

/* Profile Card */
.profile-card {
    padding: 30px;
    text-align: center;
}

/* Profile Header */
.profile-header {
    margin-bottom: 25px;
}

/* Photo Section */
.photo-section {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.profile-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f0f0f0;
    display: block;
}

.default-icon {
    width: 100%;
    height: 100%;
    background: #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 30px;
    display: none; /* Show only when no image */
}

/* Profile Info */
.profile-info {
    margin-bottom: 20px;
}

.profile-name {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 0 0 5px 0;
    line-height: 1.2;
}

.profile-label {
    font-size: 14px;
    color: #666;
    margin: 0 0 15px 0;
    font-weight: 400;
}

.profile-bio {
    font-size: 14px;
    color: #555;
    line-height: 1.4;
    margin: 0 0 15px 0;
}

.profile-website {
    margin: 0;
}

.profile-website a {
    color: #4facfe;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.profile-website a:hover {
    color: #2196f3;
}

.profile-website i {
    margin-right: 5px;
}

/* Visitor Count */
.visitor-count {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #333;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 12px;
    margin-bottom: 25px;
    font-weight: 500;
}

.visitor-count i {
    margin-right: 5px;
    font-size: 11px;
}

/* Links Heading */
.links-heading {
    font-size: 16px;
    color: #4facfe;
    margin: 0 0 20px 0;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.links-heading i {
    margin-right: 8px;
    font-size: 14px;
}

/* Social Links Container */
.social-links-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Individual Social Link */
.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    background: #f8f9fa;
    border-radius: 25px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.social-link:hover {
    background: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.social-link i {
    margin-right: 10px;
    font-size: 16px;
}

/* WhatsApp specific styling */
.social-link.whatsapp {
    background: #e8f5e8;
    color: #25d366;
    border-color: #25d366;
}

.social-link.whatsapp:hover {
    background: #d4edda;
}

/* Instagram specific styling */
.social-link.instagram {
    background: #fce4ec;
    color: #e91e63;
    border-color: #e91e63;
}

.social-link.instagram:hover {
    background: #f8bbd9;
}

/* Facebook specific styling */
.social-link.facebook {
    background: #e3f2fd;
    color: #1877f2;
    border-color: #1877f2;
}

.social-link.facebook:hover {
    background: #bbdefb;
}

/* Twitter specific styling */
.social-link.twitter {
    background: #e1f5fe;
    color: #1da1f2;
    border-color: #1da1f2;
}

.social-link.twitter:hover {
    background: #b3e5fc;
}

/* LinkedIn specific styling */
.social-link.linkedin {
    background: #e8f4fd;
    color: #0077b5;
    border-color: #0077b5;
}

.social-link.linkedin:hover {
    background: #d0e8f2;
}

/* Responsive Design */
@media (max-width: 480px) {
    .modal-content {
        width: 95%;
        margin: 10px;
    }
    
    .profile-card {
        padding: 20px;
    }
    
    .profile-name {
        font-size: 20px;
    }
    
    .photo-section {
        width: 70px;
        height: 70px;
    }
    
    .default-icon {
        font-size: 25px;
    }
}
.record-info {
    font-size: 14px;
    font-weight: 500;
    color: #333;

}
.visitor-count-container {
    display: flex;
    justify-content: center;
    margin-top: 12px;
}

.visitor-count.small-counter {
    font-size: 0.7rem;
    padding: 4px 10px;
    gap: 5px;
    border-radius: 6px;
    background: #222;
    color: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    border: 1px solid #444;
    width: fit-content;
}

.visitor-count.small-counter i {
    font-size: 0.65rem;
}
.modal-content {
    background: url("path/to/image.jpg") no-repeat center center;
    background-size: cover;
}
