/* Import Chakra Petch font */
@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@400;600&display=swap');

/* Button wrapper */
.pro-phone-button-wrapper {
    width: 100%;
}

/* Base button styles */
.pro-phone-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 10px;
    background: transparent;
    font-family: 'Chakra Petch', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
    text-decoration: none;
    border-width: 2px;
    border-style: solid;
    min-width: 150px; /* Added to ensure button has minimum width */
}

/* Icon spacing and size */
.pro-phone-btn-icon-before,
.pro-phone-btn-icon-after {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1em;
    height: 1em;
    font-size: 1.2em;
}

.pro-phone-btn-icon-before {
    margin-right: 10px;
}

.pro-phone-btn-icon-after {
    margin-left: 10px;
}

/* Yellow on Dark background */
.pro-phone-btn-yellow-dark {
    color: #FFD700;
    border-color: #FFD700;
}

.pro-phone-btn-yellow-dark:hover {
    color: #0F172A;
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.8);
}

.pro-phone-btn-yellow-dark:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #FFD700;
    transition: 0.3s ease;
    z-index: -1;
}

.pro-phone-btn-yellow-dark:hover:before {
    width: 100%;
}

/* Yellow on Light background - Updated */
.pro-phone-btn-yellow-light {
    color: #0F172A;
    border-color: #FFD700;
}

.pro-phone-btn-yellow-light:hover {
    color: #0F172A; /* Dark blue on hover */
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.8);
}

.pro-phone-btn-yellow-light:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #FFD700;
    transition: 0.3s ease;
    z-index: -1;
}

.pro-phone-btn-yellow-light:hover:before {
    width: 100%;
}

/* Orange on Dark background */
.pro-phone-btn-orange-dark {
    color: #FB923C;
    border-color: #FB923C;
}

.pro-phone-btn-orange-dark:hover {
    color: #0F172A;
    box-shadow: 0 0 25px rgba(251, 146, 60, 0.9);
}

.pro-phone-btn-orange-dark:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #FB923C;
    transition: 0.3s ease;
    z-index: -1;
}

.pro-phone-btn-orange-dark:hover:before {
    width: 100%;
}

/* Orange on Light background */
.pro-phone-btn-orange-light {
    color: #FB923C;
    border-color: #FB923C;
}

.pro-phone-btn-orange-light:hover {
    color: #0F172A;
    box-shadow: 0 0 25px rgba(251, 146, 60, 0.9);
}

.pro-phone-btn-orange-light:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #FB923C;
    transition: 0.3s ease;
    z-index: -1;
}

.pro-phone-btn-orange-light:hover:before {
    width: 100%;
}

/* Blue on Light background - Updated */
.pro-phone-btn-blue-light {
    color: #0F172A;
    border-color: #0F172A;
    background: transparent;
}

.pro-phone-btn-blue-light:hover {
    color: #F8FAFC;
    box-shadow: 0 0 25px rgba(15, 23, 42, 0.8);
}

.pro-phone-btn-blue-light:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #0F172A;
    transition: 0.3s ease;
    z-index: -1;
}

.pro-phone-btn-blue-light:hover:before {
    width: 100%;
}

/* Blue on Dark background */
.pro-phone-btn-blue-dark {
    color: #0F172A;
    border-color: #0F172A;
}

.pro-phone-btn-blue-dark:hover {
    color: #F8FAFC;
    box-shadow: 0 0 25px rgba(15, 23, 42, 0.8);
}

.pro-phone-btn-blue-dark:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #0F172A;
    transition: 0.3s ease;
    z-index: -1;
}

.pro-phone-btn-blue-dark:hover:before {
    width: 100%;
}

/* Responsive styles */
@media screen and (max-width: 767px) {
    .pro-phone-btn {
        padding: 8px;
        font-size: 14px;
    }
    
    .pro-phone-btn-icon-before {
        margin-right: 8px;
    }
    
    .pro-phone-btn-icon-after {
        margin-left: 8px;
    }
}

/* Animation modifiers */
.pro-phone-btn:hover {
    transform: translateY(-2px);
}

.pro-phone-btn:active {
    transform: translateY(0);
}

/* Fix for Elementor icon alignment */
.pro-phone-btn svg,
.pro-phone-btn i {
    width: 1em;
    height: 1em;
    font-size: 1.2em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    fill: currentColor;
}
/* Add these rules to your existing CSS file */

.pro-phone-btn .pro-phone-btn-icon,
.pro-phone-btn .pro-phone-btn-icon svg {
    transition: all 0.3s ease;
}

/* Update the icon color if no custom color is set */
.pro-phone-btn .pro-phone-btn-icon {
    color: inherit;
}

.pro-phone-btn .pro-phone-btn-icon svg {
    fill: currentColor;
}