.contact-panel {
    width: 350px;
    background: #ffffff;
    border-radius: 28px;
    box-shadow: 0 25px 80px rgba(16, 1, 56, 0.22);
    overflow: hidden;
    border: 1px solid rgba(16, 1, 56, 0.22);
    animation: panelSlideUp 0.5s cubic-bezier(0.2, 1, 0.3, 1);
    margin-bottom: 15px;
    position: relative;
}

@keyframes panelSlideUp {
    from { opacity: 0; transform: translateY(40px) scale(0.85); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.contact-panel-header {
    background: #100138;
    padding: 26px 22px;
    position: relative;
    overflow: hidden;
}

.header-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 70%);
    pointer-events: none;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.header-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    flex-shrink: 0;
}

.header-text h6 {
    margin: 0;
    font-weight: 600;
    font-size: 16px;
    color: #fff;
    letter-spacing: -0.2px;
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #2ecc71;
    border-radius: 50%;
    box-shadow: 0 0 10px #2ecc71;
    animation: pulseEffect 2s infinite;
}

@keyframes pulseEffect {
    0% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(46, 204, 113, 0); }
    100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}

.contact-panel-body {
    padding: 25px 22px;
}

.section-title {
    margin: 0 0 12px;
    font-size: 14px;
    font-weight: 400;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 18px;
    background: #fdfdff;
    border: 2px solid #f0f0f5;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.contact-card:hover {
    background: #ffffff;
    border-color: var(--clr-theme-1);
    transform: translateX(6px);
    box-shadow: 0 10px 25px rgba(16, 1, 56, 0.08);
}

.card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.contact-card:hover .card-icon {
    transform: scale(1.1);
}

.contact-card.whatsapp .card-icon { background: #25D366; box-shadow: 0 6px 15px rgba(37, 211, 102, 0.2); }
.contact-card.telegram .card-icon { background: #0088cc; box-shadow: 0 6px 15px rgba(0, 136, 204, 0.2); }
.contact-card.messenger .card-icon { background: #0084FF; box-shadow: 0 6px 15px rgba(0, 132, 255, 0.2); }
.contact-card.email .card-icon { background: var(--clr-theme-1); box-shadow: 0 6px 15px rgba(16, 1, 56, 0.2); }

.card-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-title {
    font-weight: 600;
    font-size: 14px;
    color: #100138;
    margin-bottom: 1px;
}

.card-desc {
    font-size: 11px;
    font-weight: 400;
    color: #999;
}

.card-arrow {
    font-size: 12px;
    color: #ddd;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.contact-card:hover .card-arrow {
    opacity: 1;
    transform: translateX(0);
    color: var(--clr-theme-1);
}

.contact-panel-footer {
    padding: 14px;
    text-align: center;
    font-size: 10px;
    font-weight: 500;
    color: #ccc;
    background: #fafafa;
    border-top: 1px solid #f5f5f5;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.contact-trigger {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: #100138;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(16, 1, 56, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.contact-trigger:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 35px rgba(16, 1, 56, 0.4);
}

.contact-trigger.active {
    background: #ffffff;
    color: #100138;
    transform: rotate(180deg);
    border: 2px solid var(--clr-theme-1);
}

.trigger-icons {
    position: relative;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-msg, .icon-close {
    position: absolute;
    font-size: 22px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.icon-close {
    opacity: 0;
    transform: scale(0.5) rotate(-90deg);
}

.contact-trigger.active .icon-msg {
    opacity: 0;
    transform: scale(0.5) rotate(90deg);
}

.contact-trigger.active .icon-close {
    opacity: 1;
    transform: scale(1) rotate(0);
}

@media (max-width: 480px) {
    .contact-panel {
        width: calc(100vw - 40px);
    }
}
