/* Font Import */
@import url('https://fonts.googleapis.com/css2?family=Helvetica+Neue:wght@400;500;700&display=swap');

body {
    background-color: #f0f2f5;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* Header Styles */
.header-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 1.5rem;
    text-align: center;
}

.header-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #4a5568;
}

.stat-number {
    font-weight: 600;
    color: #1877f2;
    font-size: 1.1rem;
}

.logo {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #1877f2 0%, #0a58ca 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 10px rgba(24, 119, 242, 0.2);
}

.logo i {
    font-size: 2rem;
    color: white;
}

h1 {
    color: #1a1a1a;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.lead {
    color: #4a5568;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.subtitle {
    color: #718096;
    font-size: 1.1rem;
}

/* Search Container */
.search-container {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    margin-bottom: 3rem;
}

.search-box {
    position: relative;
}

.input-group {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-radius: 15px;
    overflow: hidden;
}

.input-group .form-control,
.input-group .form-select {
    border: 2px solid #e2e8f0;
    padding: 1.2rem;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.input-group .form-control:focus,
.input-group .form-select:focus {
    box-shadow: none;
    border-color: #0d6efd;
    background-color: #fff;
}

.search-type {
    min-width: 180px;
    border-radius: 15px 0 0 15px;
    border-right: none;
    font-weight: 500;
}

.search-input {
    border-radius: 0;
    border-left: none;
    border-right: none;
}

.search-btn {
    padding: 0 2rem;
    font-weight: 600;
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    border: none;
    border-radius: 0 15px 15px 0;
    transition: all 0.3s ease;
}

.search-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
}

/* Result Card Styles */
.result-card {
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    max-width: 900px;
    margin: 1.5rem auto;
    overflow: hidden;
    display: grid;

}

.avatar-section {
    padding: 2rem;
    background: linear-gradient(45deg, #f8f9fa, #ffffff);
    border-right: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.avatar-container {
    position: relative;
    width: 200px;
    height: 175px;

}

.avatar-circle {
    width: 160px;
    height: 160px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    font-weight: bold;
    margin: 0 auto;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.avatar-circle:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.verified-badge {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: #3182ce;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}

.card-header {
    background: transparent;
    padding: 0;
    border: none;
    position: relative;
    text-align: center;
    padding-top: 30px;
}

.card-header h5 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 10px;
}

.profile-bio {
    color: #718096;
    font-size: 1rem;
    margin: 0 auto 20px;
    max-width: 80%;
    line-height: 1.5;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 20px;
}

.social-links a {
    color: #718096;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #3182ce;
}

.profile-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 0 20px 20px;
}

.profile-actions .btn {
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline {
    border: 2px solid #e2e8f0;
    background: transparent;
    color: #4a5568;
}

.btn-outline:hover {
    border-color: #3182ce;
    color: #3182ce;
}

.btn-primary {
    background: #3182ce;
    color: white;
    border: none;
}

.btn-primary:hover {
    background: #2c5282;
    transform: translateY(-1px);
}

.info-sections {
    padding: 1.5rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.info-section {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1.2rem;
}

.section-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2d3748;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    transition: all 0.3s ease;
    background: white;
    border-radius: 8px;
    margin-bottom: 8px;
}

.info-item:hover {
    background: rgba(0, 0, 0, 0.02);
}

.info-item i {
    font-size: 1.2rem;
    width: 24px;
    margin-right: 12px;
    text-align: center;
}

.info-text {
    flex: 1;
    margin-left: 10px;
    color: #333;
}

.info-item span {
    color: #2d3748;
    font-size: 0.95rem;
}

/* Loading Animation Styles */
.loading-container {
    text-align: center;
    padding: 2rem;
}

.loading-text {
    margin-top: 1rem;
    color: #1877f2;
    font-size: 1.1rem;
    font-weight: 500;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 0.6; transform: scale(0.98); }
    50% { opacity: 1; transform: scale(1); }
    100% { opacity: 0.6; transform: scale(0.98); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .header-content {
        padding: 2rem 1rem;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    .search-container {
        padding: 1.5rem;
    }
    
    .search-type {
        width: 100%;
        min-width: unset;
        border-radius: 15px 15px 0 0;
        border-right: 2px solid #e2e8f0;
        border-bottom: none;
    }
    
    .input-group {
        flex-direction: column;
    }
    
    .input-group .form-control,
    .input-group .form-select {
        width: 100%;
        min-width: 100%;
        border-radius: 15px 15px 0 0;
    }
    
    .search-input {
        width: 100%;
        border-radius: 0;
        border-top: none;
        border-left: 2px solid #e2e8f0;
    }
    
    .search-btn {
        border-radius: 0 0 15px 15px;
        padding: 1rem;
    }
    
    .result-card {
        grid-template-columns: 1fr;
    }
    
    .avatar-section {
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }
    
    .info-sections {
        grid-template-columns: 1fr;
    }
    
    .header-stats {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
}

@media (max-width: 576px) {
    .card-header {
        padding: 1rem;
    }

    .profile-actions {
        flex-direction: column;
    }

    .profile-actions .btn {
        width: 100%;
    }

    .result-card {
        max-width: 95%;
        margin: 1rem auto;
    }

    .avatar-section {
        padding: 1rem;
    }

    .info-sections {
        padding: 1rem;
    }
}

@media (max-width: 380px) {
    .search-type {
        width: 100%;
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    .input-group .form-control,
    .input-group .form-select {
        width: 100%;
        padding: 0.75rem;
        font-size: 0.9rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.result-card {
    animation: fadeInUp 0.5s ease-out;
}

.info-item {
    animation: slideIn 0.3s ease-out;
    animation-fill-mode: both;
}

.info-item:nth-child(1) { animation-delay: 0.1s; }
.info-item:nth-child(2) { animation-delay: 0.2s; }
.info-item:nth-child(3) { animation-delay: 0.3s; }
.info-item:nth-child(4) { animation-delay: 0.4s; }
.info-item:nth-child(5) { animation-delay: 0.5s; }
.info-item:nth-child(6) { animation-delay: 0.6s; }
.info-item:nth-child(7) { animation-delay: 0.7s; }
.info-item:nth-child(8) { animation-delay: 0.8s; }
.info-item:nth-child(9) { animation-delay: 0.9s; }
.info-item:nth-child(10) { animation-delay: 1s; }

.phone-number-tooltip {
    position: relative;
    display: inline-flex;
    margin-right: 10px;
}

.tooltip-text {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 14px;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    margin-bottom: 8px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.phone-number-tooltip:hover .tooltip-text {
    opacity: 1;
    transform: translateX(-50%) translateY(-2px);
}

.header-content .country-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    color: #4a5568;
}

.header-content .country-info img {
    width: 24px;
    height: auto;
}

.profile-link {
    text-decoration: none;
    display: block;
    transition: transform 0.3s ease;
}

.profile-link:hover {
    transform: scale(1.05);
}

.fb-id-link {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 1.1rem;
}

.fb-id-link:hover {
    color: #1877f2;
}

.contact-icons {
    display: flex;
    gap: 15px;
    margin-left: auto;
}

.contact-icon {
    font-size: 1.4rem;
    text-decoration: none;
    transition: all 0.2s ease;
    color: #666;
}

.contact-icon[title="Call"] {
    color: #4CAF50;
}

.contact-icon[title="Call"]:hover {
    color: #45a049;
    transform: scale(1.1);
}

.contact-icon[title="WhatsApp"] {
    color: #25D366;
}

.contact-icon[title="WhatsApp"]:hover {
    color: #128C7E;
    transform: scale(1.1);
}

.contact-icon[title="Telegram"] {
    color: #0088cc;
}

.contact-icon[title="Telegram"]:hover {
    color: #0077b5;
    transform: scale(1.1);
} 