/* Invoice Type Selector */
.invoice-type-selector {
    display: flex;
    gap: 20px;
    margin: 0 0 30px 0;
    width: 100%;
    clear: both;
}

.invoice-type-button {
    flex: 1;
    max-width: 200px;
    padding: 15px 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    min-height: 50px;
    width: auto;
    text-decoration: none;
    outline: none;
    position: relative;
    margin: 0;
    transition: all 0.3s ease;
    background-color: #ffffff;
}

/* Default state */
.invoice-type-button {
    border: 2px solid;
    opacity: 0.7;
}

/* Active state */
.invoice-type-button.active {
    opacity: 1;
}

/* Button icons */
.invoice-type-button .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
    margin: 0;
    padding: 0;
    line-height: 20px;
}

/* Invoice Fields */
.woocommerce-billing-fields p.invoice-field {
    display: none;
    margin: 0 0 20px;
    padding: 0;
    clear: both;
    width: 100%;
}

.woocommerce-billing-fields.show-invoice-fields p.invoice-field {
    display: block;
    animation: slideDown 0.3s ease;
}

/* Animations */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .invoice-type-selector {
        flex-direction: column;
        gap: 10px;
    }
    
    .invoice-type-button {
        max-width: 100%;
    }
}