/* e:\xampp\htdocs\vcf\css\profile.css */

:root {
    --bg-dark: #336496;
    --card-bg: rgba(255, 255, 255, 0.75);
    --border-color: rgba(15, 23, 42, 0.08);
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --primary-gradient: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    --accent-glow: rgba(139, 92, 246, 0.15);
    
    /* Contact brand colors */
    --phone-color: #2563eb;
    --whatsapp-color: #16a34a;
    --email-color: #dc2626;
    --fb-color: #1877f2;
    --linkedin-color: #0a66c2;
    --instagram-color: #d62976;
    --google-maps-color: #d97706;
    --website-color: #0d9488;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
    position: relative;
}

/* Background decorations */
.background-decorations {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.07;
}

.circle-1 {
    width: 250px;
    height: 250px;
    background: #3b82f6;
    top: -50px;
    right: -30px;
}

.circle-2 {
    width: 300px;
    height: 300px;
    background: #8b5cf6;
    bottom: -80px;
    left: -80px;
}

.circle-3 {
    width: 180px;
    height: 180px;
    background: #f43f5e;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Profile container */
.profile-container {
    max-width: 440px;
    z-index: 1;
    position: relative;
    animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

/* Glassmorphism Card overrides */
.profile-card, .error-card {
    background: var(--card-bg) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color) !important;
    border-radius: 24px !important;
}

/* Avatar circle */
.avatar-wrapper {
    width: 110px;
    height: 110px;
    position: relative;
}

.avatar-wrapper::after {
    content: '';
    position: absolute;
    inset: -3px;
    background: var(--primary-gradient);
    border-radius: 50%;
    z-index: -1;
    box-shadow: 0 0 16px var(--accent-glow);
}

.profile-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #ffffff;
    background: #ffffff;
}

.profile-avatar-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 4px solid #ffffff;
    background: var(--primary-gradient);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.2rem;
    font-weight: 700;
    color: #f8fafc;
}

/* Text formats */
.profile-name {
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.5px;
}

.profile-title {
    font-size: 0.95rem;
}

.profile-title .designation {
    font-weight: 500;
}

.profile-title .separator {
    font-size: 0.8rem;
}

.profile-title .company {
    font-weight: 600;
    color: #c084fc;
}

.profile-bio {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #ffffff;
    background: rgba(15, 23, 42, 0.6);
    padding: 14px 18px;
    border-radius: 14px;
    border-left: 4px solid #a855f7;
}

.profile-views {
    background: rgba(15, 23, 42, 0.04);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    border: 1px solid rgba(15, 23, 42, 0.08);
}

/* Contact List Item buttons */
.contact-item {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 16px;
    color: var(--text-primary) !important;
    transition: all 0.2s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.contact-item:hover {
    transform: translateX(4px);
    border-color: rgba(15, 23, 42, 0.15);
    background: #ffffff;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.04);
}

.icon-box {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    font-size: 1.1rem;
    color: #330505;
}

.phone-icon {
    background: rgba(59, 130, 246, 0.15);
    color: var(--phone-color);
    border: 1px solid rgba(59, 130, 246, 0.25);
}

.whatsapp-icon {
    background: rgba(34, 197, 94, 0.15);
    color: var(--whatsapp-color);
    border: 1px solid rgba(34, 197, 94, 0.25);
}

.email-icon {
    background: rgba(244, 63, 94, 0.15);
    color: var(--email-color);
    border: 1px solid rgba(244, 63, 94, 0.25);
}

.fb-icon {
    background: rgba(24, 119, 242, 0.15);
    color: var(--fb-color);
    border: 1px solid rgba(24, 119, 242, 0.25);
}

.linkedin-icon {
    background: rgba(10, 102, 194, 0.15);
    color: var(--linkedin-color);
    border: 1px solid rgba(10, 102, 194, 0.25);
}

.instagram-icon {
    background: rgba(225, 48, 108, 0.15);
    color: var(--instagram-color);
    border: 1px solid rgba(225, 48, 108, 0.25);
}

.google-maps-icon {
    background: rgba(245, 158, 11, 0.15);
    color: var(--google-maps-color);
    border: 1px solid rgba(245, 158, 11, 0.25);
}

.website-icon {
    background: rgba(20, 184, 166, 0.15);
    color: var(--website-color);
    border: 1px solid rgba(20, 184, 166, 0.25);
}

.contact-details .label {
    font-size: 0.75rem;
    font-weight: 800;
    color: #94a3b8;
    letter-spacing: 0.5px;
}

.contact-details .value {
    font-size: 0.95rem;
    font-weight: 600;
    color: #330505;
}

/* Button CTA Custom class */
.btn-cta {
    background: var(--primary-gradient) !important;
    border: none !important;
    color: #fff !important;
    font-weight: 600;
    box-shadow: 0 4px 15px var(--accent-glow);
    border-radius: 14px !important;
    padding: 14px !important;
    transition: all 0.2s ease !important;
}

.btn-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
    filter: brightness(1.08);
}

.btn-secondary {
    background-color: rgba(15, 23, 42, 0.05) !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    color: var(--text-primary) !important;
    border-radius: 14px !important;
    padding: 12px !important;
}

.btn-secondary:hover {
    background-color: rgba(15, 23, 42, 0.08) !important;
    border-color: rgba(15, 23, 42, 0.15) !important;
}

/* Modal Styling */
.bg-dark-glass {
    background-color: rgba(255, 255, 255, 0.5) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    color: #0f172a !important;
}

.bg-dark-glass .modal-title,
.bg-dark-glass h5,
.bg-dark-glass .text-light {
    color: #0f172a !important;
}

.bg-dark-glass .btn-close-white {
    filter: invert(1) !important;
}

/* Activation circle icon */
.activation-icon-box {
    width: 60px;
    height: 60px;
}

.cursor-pointer {
    cursor: pointer;
}

/* Input boxes in activation form */
.form-control-dark {
    background-color: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
    border-radius: 8px !important;
    padding: 10px 12px !important;
}

.form-control-dark:focus {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 0.25rem rgba(59, 130, 246, 0.25) !important;
}

.form-control-dark::placeholder {
    color: #94a3b8 !important;
}

/* Error Card Circle */
.error-icon {
    width: 64px;
    height: 64px;
}
