/* WhatsApp Button Styles */
.kofw-kivor-wa-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none !important;
    font-weight: 600;
    cursor: pointer;
    border: none;
    line-height: 1;
    transition: opacity 0.2s, transform 0.1s;
    box-sizing: border-box;
    font-family: inherit;
}

.kofw-kivor-wa-btn:hover {
    opacity: 0.9;
    text-decoration: none !important;
}

.kofw-kivor-wa-btn:active {
    transform: scale(0.98);
}

.kofw-kivor-wa-btn:focus {
    outline: 2px solid #128C7E;
    outline-offset: 2px;
}

/* Size Variants */
.kofw-size-small {
    padding: 8px 16px;
    font-size: 13px;
}

.kofw-size-small .kofw-btn-icon img {
    width: 16px;
    height: 16px;
}

.kofw-size-medium {
    padding: 12px 24px;
    font-size: 15px;
}

.kofw-size-medium .kofw-btn-icon img {
    width: 20px;
    height: 20px;
}

.kofw-size-large {
    padding: 16px 32px;
    font-size: 17px;
}

.kofw-size-large .kofw-btn-icon img {
    width: 24px;
    height: 24px;
}

/* Icon */
.kofw-btn-icon {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.kofw-btn-icon img {
    display: block;
}

/* Placement Styles */
.kofw-placement-block {
    display: flex !important;
    margin-top: 15px;
    width: fit-content;
}

.kofw-placement-inline {
    display: inline-flex !important;
    margin-left: 10px;
    vertical-align: middle;
}

/* Shortcode Button */
.kofw-shortcode-btn {
    display: inline-flex !important;
    margin: 10px 0;
}

/* Checkout WhatsApp Button */
#kofw-checkout-btn-wrapper {
    margin-top: 10px;
}

#kofw-checkout-kivor-wa-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
}

#kofw-checkout-kivor-wa-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Inline Confirmation */
.kofw-inline-confirmation {
    text-align: center;
    padding: 40px 20px;
    background: #f8fff8;
    border: 2px solid #25D366;
    border-radius: 10px;
    margin: 20px 0;
    animation: kofw-fadeIn 0.5s ease;
}

.kofw-confirmation-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.kofw-inline-confirmation h3 {
    color: #128C7E;
    margin-bottom: 10px;
    font-size: 22px;
}

.kofw-inline-confirmation p {
    color: #555;
    font-size: 15px;
    margin-bottom: 15px;
}

.kofw-inline-confirmation .button {
    background: #25D366 !important;
    color: #fff !important;
    border: none !important;
    padding: 12px 30px !important;
    font-size: 15px !important;
    border-radius: 5px !important;
    text-decoration: none !important;
    display: inline-block;
    transition: opacity 0.2s;
}

.kofw-inline-confirmation .button:hover {
    opacity: 0.9;
}

@keyframes kofw-fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* WooCommerce Checkout - payment method icon */
.payment_method_kivor_wa_order img {
    max-height: 24px;
    margin-right: 5px;
    vertical-align: middle;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .kofw-placement-inline {
        margin-left: 0;
        margin-top: 10px;
        display: flex !important;
    }

    .kofw-size-large {
        padding: 14px 24px;
        font-size: 15px;
    }
}


