/**
 * WooCommerce Notices Unified Styling
 * Global styles for all WooCommerce notification messages
 */

/* Reset the wrapper – style.css gives it a permanent red error look;
   the inner notice elements are the real visual containers. */
.woocommerce-notices-wrapper {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    gap: 0 !important;
    border-radius: 0 !important;
    display: block !important;
}
.woocommerce-notices-wrapper::before {
    display: none !important;
}
.woocommerce-notices-wrapper:empty {
    display: none !important;
}

/* Success/Message notices */
.woocommerce-message {
    display: flex;
    align-items: center;
    background-color: #f0fdf4;
    border: 1px solid #22c55e !important;
    border-radius: 8px;
    padding: 16px 20px !important;
    margin-bottom: 20px !important;
    width: 100%;
    color: #20201f !important;
    font-weight: 500;
    font-size: 16px;
}

.woocommerce-message::before {
    content: '';
    display: inline-flex;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    min-width: 24px;
    background: url('../images/icons/woocommerce-success.svg') center center no-repeat;
    background-size: contain;
    margin-right: 12px;
}

.woocommerce-message a {
    color: #20201f !important;
    text-decoration: none !important;
    font-weight: 500;
}

.woocommerce-message a:hover {
    text-decoration: underline !important;
}

/* Error notices */
.woocommerce-error {
    display: flex;
    align-items: center;
    background-color: rgba(192, 8, 11, 0.1);
    border: 2px solid #C0080B !important;
    border-radius: 8px;
    padding: 16px 20px !important;
    margin-bottom: 20px !important;
    width: 100%;
    color: #20201f !important;
    font-weight: 500;
    font-size: 16px;
    list-style: none !important;
}

.woocommerce-error::before {
    content: '';
    display: inline-flex;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    min-width: 24px;
    background: url('../images/icons/woocommerce-error.svg') center center no-repeat;
    background-size: contain;
    margin-right: 12px;
}

.woocommerce-error li {
    list-style: none !important;
    display: inline;
    margin: 0;
}

.woocommerce-error li::before {
    content: none !important;
}

.woocommerce-error a {
    color: #20201f !important;
    text-decoration: none !important;
    font-weight: 500;
}

.woocommerce-error a:hover {
    text-decoration: underline !important;
}

/* Info notices */
.woocommerce-info {
    display: flex;
    align-items: center;
    background-color: #eff6ff;
    border: 1px solid #3b82f6 !important;
    border-radius: 8px;
    padding: 16px 20px !important;
    margin-bottom: 20px !important;
    width: 100%;
    color: #20201f !important;
    font-weight: 500;
    font-size: 16px;
}

.woocommerce-info::before {
    content: 'ⓘ';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    min-width: 24px;
    background-color: #3b82f6;
    color: white;
    border-radius: 50%;
    font-size: 14px;
    font-weight: bold;
    margin-right: 12px;
}

.woocommerce-info a {
    color: #20201f !important;
    text-decoration: none !important;
    font-weight: 500;
}

.woocommerce-info a:hover {
    text-decoration: underline !important;
}
