/* --- Floating Feedback Button --- */
#mnm-site-feedback-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 998;
    background-color: #008577; /* Use your primary color */
    color: white;
    border: none;
    border-radius: 50px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease-in-out;
}

#mnm-site-feedback-button:hover {
    background-color: #006157; /* A darker shade */
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

/* --- Feedback Modal --- */
.mnm-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.2s ease;
}

.mnm-modal-overlay.mnm-hidden {
    opacity: 0;
    pointer-events: none;
}

.mnm-modal-content {
    background: #fff;
    padding: 24px 32px;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.mnm-modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    color: #888;
    cursor: pointer;
    padding: 0;
}

.mnm-modal-close:hover {
    color: #333;
}

/* --- Modal Form Styles --- */
#mnm-site-feedback-form h3 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 24px;
}

#mnm-site-feedback-form p {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 15px;
    color: #555;
}

.mnm-feedback-group {
    margin-bottom: 20px;
}

.mnm-feedback-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
}

.mnm-feedback-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; /* Important */
    font-size: 14px;
}

#mnm-site-feedback-form .button-primary {
    /* Existing styles */
    font-size: 16px;
    padding: 12px 24px; /* Slightly more padding to match floating button */
    background-color: #008577; /* Your primary color */
    border: none; /* Remove border to prevent double border on some themes */
    
    /* New styles for pill shape and white text */
    color: white; /* White text */
    border-radius: 50px; /* Pill shape */
    font-weight: 600; /* Make text bolder */
    cursor: pointer; /* Indicate it's clickable */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* Soft shadow */
    transition: all 0.2s ease-in-out; /* Smooth transitions for hover */
    display: inline-block; /* Essential for button padding and shadow */
    text-align: center; /* Ensure text is centered */
    text-decoration: none; /* Remove underline if it's an <a> styled as button */
}

#mnm-site-feedback-form .button-primary:hover {
    background-color: #006157; /* Darker shade on hover */
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2); /* More prominent shadow on hover */
    transform: translateY(-2px); /* Slight lift effect on hover */
}

/* Star Rating */
.mnm-star-rating {
    font-size: 2.5rem;
    color: #ccc;
    cursor: pointer;
}
.mnm-star-rating .star {
    display: inline-block;
    transition: color 0.2s;
}
.mnm-star-rating .star:hover,
.mnm-star-rating .star.selected {
    color: #FFAE00;
}

/* Feedback Message */
.mnm-feedback-message {
    margin-top: 15px;
    font-weight: 600;
}
.mnm-feedback-message.success {
    color: #008577;
}
.mnm-feedback-message.error {
    color: #d9534f;
}