/**
 * Frontend Styles for WooCommerce Sample Ordering
 */

/* Sample Badge in Cart */
.sample-badge {
    display: inline-block;
    background: #2bb8E7;
    color: white;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
    margin-left: 8px;
    vertical-align: middle;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Sample meta data in cart */
.woocommerce-cart-form .product-name .sample-badge {
    display: inline-block;
}

/* Sample Order Button */
.product_type_simple {
    background-color: #2bb8E7;
    color: white;
    padding: 10px 20px;
    border-radius: 50px !important;
    text-decoration: none;
    display: inline-block;
    margin: 10px 5px 10px 0;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.product_type_simple:hover {
    background-color: #2bb8E7;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.product_type_simple:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* WooCommerce Notices */
.woocommerce-notices-wrapper {
    margin: 1em 0;
    padding: 0;
}

/* Success Message */
.woocommerce-message {
    background-color: #f0f9f4;
    border: 1px solid #b6e2c6;
    color: #2d572c;
    padding: 1em 1.25em;
    border-radius: 6px;
    font-size: 0.95rem;
    line-height: 1.5;
    position: relative;
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.woocommerce-message .button {
    background: #2d572c;
    color: #fff;
    padding: 0.4em 0.9em;
    border-radius: 4px;
    font-size: 0.9rem;
    text-decoration: none;
    flex-shrink: 0;
    transition: background 0.2s ease-in-out;
}

.woocommerce-message .button:hover {
    background: #244622;
}

/* Error Message */
.woocommerce-error {
    background-color: #fdf4f4;
    border: 1px solid #f5c2c2;
    color: #842029;
    padding: 1em 1.25em;
    border-radius: 6px;
    font-size: 0.95rem;
    line-height: 1.5;
    position: relative;
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    list-style: none;
}

.woocommerce-error .button {
    background: #842029;
    color: #fff;
    padding: 0.4em 0.9em;
    border-radius: 4px;
    font-size: 0.9rem;
    text-decoration: none;
    flex-shrink: 0;
    transition: background 0.2s ease-in-out;
}

.woocommerce-error .button:hover {
    background: #6a1a21;
}

/* Info Message */
.woocommerce-info {
    background-color: #f0f7ff;
    border: 1px solid #b6d4fe;
    color: #084298;
    padding: 1em 1.25em;
    border-radius: 6px;
    font-size: 0.95rem;
    line-height: 1.5;
    position: relative;
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.woocommerce-info .button {
    background: #084298;
    color: #fff;
    padding: 0.4em 0.9em;
    border-radius: 4px;
    font-size: 0.9rem;
    text-decoration: none;
    flex-shrink: 0;
    transition: background 0.2s ease-in-out;
}

.woocommerce-info .button:hover {
    background: #062e6f;
}
