/* Main Widget Container */
.contact-widget {
    position: fixed;
    bottom: 20%;
    right: 0;
    z-index: 999999;
    display: flex;
    align-items: stretch;
    /* Match height */
    transition: transform 0.4s ease;
    /* Slide out logic: Container width = Button + Content. 
       Translate Right by Content Width (Total - Button). 
       Result: Button sits at right edge. */
    transform: translateX(calc(100% - 46px));
}

.contact-widget.active {
    transform: translateX(0);
}

/* Toggle Button */
.contact {
    cursor: pointer;
    background-color: #07411f;
    /* Fallback */
    width: 46px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    padding: 20px 0;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 2;
    /* Above content overlap if any */
}

.contact .m-txt.rotate {
    letter-spacing: .5px !important;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    /* Text reads bottom to top */
    color: #e0d1a7;
    /* Beige */
    /* font-family: 'proxima-nova', sans-serif; */
    font-size: 14px;
    letter-spacing: 2px;
    white-space: nowrap;
}

/* Content Area */
.content-wrap {
    background-color: #07411f;
    padding: 20px 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
    min-width: 250px;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    /* Subtle separator */
}

.div-block-120 {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    transition: opacity 0.3s;
}

.div-block-120:hover {
    opacity: 0.8;
}

.m-txt.white {
    color: #fff;
    font-family: 'proxima-nova', sans-serif;
    font-size: 16px;
    font-weight: 500;
}

.div-block-121 {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    width: 100%;
}

@media (max-width: 768px) {
    .contact-widget {
        /* Remove scale, just adjust positioning and sizing */
        bottom: 15%;
        transform: translateX(calc(100% - 40px));
        /* Slightly smaller button peek */
    }

    .contact-widget.active {
        transform: translateX(0);
    }

    /* Make button smaller */
    .contact {
        width: 40px;
        padding: 15px 0;
        border-top-left-radius: 8px;
        border-bottom-left-radius: 8px;
    }

    .contact .m-txt.rotate {
        font-size: 12px;
        letter-spacing: 1px;
    }

    /* Make content smaller */
    .content-wrap {
        min-width: 200px;
        padding: 15px 20px;
        gap: 10px;
    }

    .m-txt.white {
        font-size: 14px;
    }

    .div-block-120 img {
        width: 22px;
        height: 22px;
    }
}