/**
 * WooCommerce Minimum Quantity Step - Frontend Styles
 *
 * Styles for validation notices and UI elements
 */

/* Notice container */
.wcmqs-notice-container {
    position: relative;
    padding: 1em 1.5em;
    margin-bottom: 1em;
    background-color: #2c5282;
    color: #fff;
    border-radius: 4px;
    list-style: none !important;
    border-left: 4px solid #1e3a5f;
}

.wcmqs-notice-container::before {
    content: "\e028";
    font-family: WooCommerce;
    display: inline-block;
    position: relative;
    top: 0;
    left: 0;
    margin-right: 0.5em;
    font-size: 1.2em;
    line-height: 1;
}

.wcmqs-notice-container p {
    margin: 0;
    padding: 0;
    color: #fff;
}

.wcmqs-notice-container a {
    color: #fff;
    text-decoration: underline;
}

.wcmqs-notice-container a:hover {
    color: #fff;
    text-decoration: none;
}

/* Ensure notice is visible above other elements */
.wcmqs-notice-container {
    z-index: 99;
}

/* Animation for notice appearance */
@keyframes wcmqs-shake {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-5px);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(5px);
    }
}

.wcmqs-notice-container.wcmqs-shake {
    animation: wcmqs-shake 0.5s ease-in-out;
}

/* Make sure quantity input is clearly visible */
.quantity input.qty {
    width: 3.631em;
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .wcmqs-notice-container {
        padding: 0.8em 1em;
        font-size: 0.95em;
    }
}
