@charset "UTF-8";

.ctc-container {
    display: flex;
    gap: 6px;
    align-items: stretch;
    box-sizing: border-box;
}

.ctc-container.ctc-inline {
    position: relative;
    width: auto;
    max-width: 100%;
}

.ctc-container.ctc-fixed {
    position: fixed;
    left: 0;
    width: 100%;
    z-index: 10000;
    padding: 0 8px;
    display: none;
}

.ctc-container.ctc-top {
    top: 0;
    bottom: auto;
}

.ctc-container.ctc-bottom {
    bottom: 0;
    top: auto;
}

.ctc_bar {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    color: #ffffff;
    background-color: #222222;
    font-weight: 600;
    height: 50px;
    line-height: 50px;
    font-size: 18px;
    border-radius: 0;
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.3s ease;
}

.ctc_bar:hover,
.ctc_bar:focus {
    text-decoration: none !important;
    transform: translateY(-1px);
}

.ctc_bar .ctc-icon {
    margin-right: 6px;
    font-size: 1em;
    line-height: 1;
}

.ctc_bar .ctc-label {
    line-height: 1;
}

.ctc-emergency.ctc-pulse {
    animation: ctc-pulse 1.4s ease-in-out infinite;
}

.ctc-emergency {
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.ctc-container .ctc-emergency.ctc-autohide-hidden {
    transform: translateY(120%);
    opacity: 0;
    pointer-events: none;
}

.ctc-container.ctc-top .ctc-emergency.ctc-autohide-hidden {
    transform: translateY(-120%);
}

@keyframes ctc-pulse {
    0% { box-shadow: 0 0 0 0 rgba(192, 57, 43, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(192, 57, 43, 0); }
    100% { box-shadow: 0 0 0 0 rgba(192, 57, 43, 0); }
}

/* Fallback: mobile only if inline styles fail to load */
@media (max-width: 736px) {
    #click_to_call_bar.ctc-fixed {
        display: flex;
    }
}

@media (min-width: 737px) {
    #click_to_call_bar.ctc-fixed {
        display: none;
    }
}
