/* PhoneZon Frontend Styles */

/* General Body Padding */
body.phone-zon-top-bar-active {
    padding-top: 60px;
}

body.phone-zon-bottom-bar-active {
    padding-bottom: 60px;
}

/* Bar Styles (Top and Bottom) */
.phone-zon-bar-top,
.phone-zon-bar-bottom {
    position: fixed;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
    z-index: 10000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

.phone-zon-bar-top {
    top: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.phone-zon-bar-bottom {
    bottom: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Floating Icon Container Styles */
.phone-zon-floating-left,
.phone-zon-floating-right {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    z-index: 10000;
}

.phone-zon-floating-left {
    left: 20px;
}

.phone-zon-floating-right {
    right: 20px;
}

/* General Icon Styles */
.phone-zon-element {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 50%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.phone-zon-element:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Icon Spacing */
.phone-zon-bar-top .phone-zon-element,
.phone-zon-bar-bottom .phone-zon-element {
    margin: 0 12px;
}

.phone-zon-floating-left .phone-zon-element,
.phone-zon-floating-right .phone-zon-element {
    margin: 10px 0;
}

/* Icon Sizes */
.phone-zon-small {
    width: 36px;
    height: 36px;
    font-size: 18px;
}

.phone-zon-medium {
    width: 48px;
    height: 48px;
    font-size: 24px;
}

.phone-zon-large {
    width: 60px;
    height: 60px;
    font-size: 30px;
}

/* Dashicons Alignment */
.phone-zon-element .dashicons {
    width: 1em;
    height: 1em;
    font-size: inherit;
    line-height: 1;
    color: #ffffff;
}

/* Text Element Style */
.phone-zon-element.text-element {
    border-radius: 5px;
    padding: 8px 12px;
    width: auto;
    height: auto;
    font-size: 14px;
    color: #ffffff;
}

/* Responsive Design */
@media (max-width: 768px) {
    body.phone-zon-top-bar-active {
        padding-top: 50px;
    }

    body.phone-zon-bottom-bar-active {
        padding-bottom: 50px;
    }

    .phone-zon-bar-top,
    .phone-zon-bar-bottom {
        height: 50px;
    }

    .phone-zon-floating-left {
        left: 15px;
    }

    .phone-zon-floating-right {
        right: 15px;
    }

    .phone-zon-bar-top .phone-zon-element,
    .phone-zon-bar-bottom .phone-zon-element {
        margin: 0 8px;
    }

    .phone-zon-small {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .phone-zon-medium {
        width: 42px;
        height: 42px;
        font-size: 20px;
    }

    .phone-zon-large {
        width: 52px;
        height: 52px;
        font-size: 26px;
    }
}