/*---------------------------------------------------------------------------------
    Click To ChatPro Style CSS
-----------------------------------------------------------------------------------*/
/* ================= Modern ClickPro Styles ================= */
.chatpro-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-family: 'Open Sans', sans-serif;
    z-index: 9999;
}

/* ---------------- Chat Panel ---------------- */
.chatpro-panel {
    width: 300px;
    max-height: 60vh;
    border-radius: 16px;
    overflow-y: auto;
    display: none;
    flex-direction: column;

    /* Frosted glass with complementary gradient */
    background: linear-gradient(
        90deg,
        rgba(244, 127, 33, 0.85) 0%,  /* #F47F21 */
        rgba(244, 176, 66, 0.85) 100% /* #F4B042 */
    );
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.3) rgba(0,0,0,0.1);
}

/* Scrollbar Styling */
.chatpro-panel::-webkit-scrollbar {
    width: 6px;
}
.chatpro-panel::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.1);
    border-radius: 10px;
}
.chatpro-panel::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.3);
    border-radius: 10px;
}

/* ---------------- Chat Items ---------------- */
.chatpro-item {
    display: flex;
    align-items: center;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.chatpro-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* Hover text color change to secondary theme */
.chatpro-item:hover .chatpro-text h2,
.chatpro-item:hover .chatpro-text p {
    color: #1d1d1d;
}

/* ---------------- Icon ---------------- */
.chatpro-icon {
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
}
.chatpro-item:hover .chatpro-icon {
    background: rgba(255,255,255,0.25);
}
.chatpro-icon img {
    width: 25px;
    height: 25px;
    transition: transform 0.3s ease;
}
.chatpro-item:hover .chatpro-icon img {
    transform: scale(1.2);
}

/* ---------------- Text ---------------- */
.chatpro-text h2 {
    font-size: 14px;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    transition: color 0.3s ease;
}
.chatpro-text p {
    font-size: 12px;
    margin: 0;
    line-height: 1.2;
    opacity: 0.9;
    transition: color 0.3s ease;
}

/* ---------------- Floating Button ---------------- */
.chatpro-button {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(145deg, #F47F21, #233B75);
    box-shadow: 0 6px 15px rgba(0,0,0,0.25);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}
.chatpro-button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(0,0,0,0.25);
}
.chatpro-button img {
    width: 28px;
    height: 28px;
    transition: all 0.3s ease;
}

/* ---------------- Slide Animation for Panel ---------------- */
.chatpro-panel.show {
    display: flex;
    animation: slideUp 0.4s ease forwards;
}

@keyframes slideUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* ---------------- Responsive ---------------- */
@media (max-width: 576px) {
    .chatpro-panel {
        width: 260px;
        max-height: 50vh;
    }
}
