/* Wildix Kite Team Widget Styles v1.1.0 */
.wildix-team-container {
    width: 100%;
    margin: 0 auto;
}

.wildix-team-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(3, 1fr);
}

.wildix-team-member {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
}

.wildix-team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Image */
.wildix-team-image {
    width: 150px !important;
    height: 150px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    margin: 0 auto 20px !important;
    display: block !important;
    border: 4px solid #ffffff !important;
    overflow: hidden !important;
}

.wildix-team-member .wildix-team-image,
.elementor-widget-wildix_team .wildix-team-image,
.wildix-team-member img.wildix-team-image {
    border-radius: 50% !important;
}

/* Content */
.wildix-team-content {
    margin-top: 20px;
}

.wildix-team-name {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: #333;
}

.wildix-team-position {
    font-size: 16px;
    color: #666;
    margin: 0 0 15px 0;
    font-weight: 500;
}

.wildix-team-bio {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 15px 0;
}

/* Presence text status */
.wkt-pres-dot {
    transition: background 0.3s;
}

/* Contact */
.wildix-team-contact {
    margin: 20px 0;
    text-align: left;
}

.wildix-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
    font-size: 14px;
    color: #555;
}

.wildix-contact-item a {
    color: #2196F3;
    text-decoration: none;
    transition: color 0.2s;
}

.wildix-contact-item a:hover {
    color: #1976D2;
    text-decoration: underline;
}

.wildix-icon {
    flex-shrink: 0;
    opacity: 0.7;
}

/* ==========================================
   BUTTONS - Modern pill style
   ========================================== */
.wildix-team-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.wildix-action-button,
.wildix-team-actions .wildix-action-button,
a.wildix-action-button,
.elementor-widget-wildix_team .wildix-action-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
    flex: 1;
    min-width: 130px;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    letter-spacing: 0.2px;
    color: #ffffff !important;
}

.wildix-action-button span,
a.wildix-action-button span,
.elementor-widget-wildix_team .wildix-action-button span {
    color: #ffffff !important;
}

.wildix-action-button svg,
a.wildix-action-button svg {
    fill: #ffffff !important;
    color: #ffffff !important;
}

.wildix-action-button:hover {
    transform: translateY(-2px);
    text-decoration: none !important;
    color: #ffffff !important;
}

/* Chat */
.wildix-chat-button,
.wildix-team-actions .wildix-chat-button,
a.wildix-chat-button,
a.wildix-chat-button span {
    background: linear-gradient(135deg, #4CAF50 0%, #43A047 100%);
    color: #ffffff !important;
}
.wildix-chat-button:hover {
    box-shadow: 0 4px 14px rgba(76, 175, 80, 0.45);
    color: #ffffff !important;
}

/* Calendar */
.wildix-calendar-button,
.wildix-team-actions .wildix-calendar-button,
a.wildix-calendar-button,
a.wildix-calendar-button span {
    background: linear-gradient(135deg, #2196F3 0%, #1E88E5 100%);
    color: #ffffff !important;
}
.wildix-calendar-button:hover {
    box-shadow: 0 4px 14px rgba(33, 150, 243, 0.45);
    color: #ffffff !important;
}

/* WhatsApp */
.wildix-whatsapp-button,
.wildix-team-actions .wildix-whatsapp-button,
a.wildix-whatsapp-button,
a.wildix-whatsapp-button span {
    background: linear-gradient(135deg, #25D366 0%, #20BA5A 100%);
    color: #ffffff !important;
}
.wildix-whatsapp-button:hover {
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.45);
    color: #ffffff !important;
}

/* SMS */
.wildix-sms-button,
.wildix-team-actions .wildix-sms-button,
a.wildix-sms-button,
a.wildix-sms-button span {
    background: linear-gradient(135deg, #ea671f 0%, #d45a18 100%);
    color: #ffffff !important;
}
.wildix-sms-button:hover {
    box-shadow: 0 4px 14px rgba(234, 103, 31, 0.45);
    color: #ffffff !important;
}

/* Phone link */
.wildix-phone-link {
    color: #2196F3;
    text-decoration: none;
    transition: color 0.2s;
}
.wildix-phone-link:hover {
    color: #1976D2;
    text-decoration: underline;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
    .wildix-team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .wildix-team-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .wildix-team-member {
        padding: 20px;
    }
    .wildix-team-image {
        width: 120px;
        height: 120px;
    }
    .wildix-team-actions {
        flex-direction: column;
    }
    .wildix-action-button {
        width: 100%;
        min-width: 100%;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .wildix-team-member {
        background: #2d2d2d;
        border-color: #444;
        color: #e0e0e0;
    }
    .wildix-team-name {
        color: #ffffff;
    }
    .wildix-team-position,
    .wildix-team-bio,
    .wildix-contact-item {
        color: #b0b0b0;
    }
}

/* Accessibility */
.wildix-action-button:focus {
    outline: 3px solid #FFC107;
    outline-offset: 2px;
}

/* Print */
@media print {
    .wildix-team-actions {
        display: none;
    }
    .wildix-team-member {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}
