/* style.css */
.webyouridea-feedback-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0,0,0,0.4);
    margin: 0;
    max-width: 100%;
    justify-content: flex-end;
    align-items: center;
}

.webyouridea-feedback-modal-content {
    background-color: transparent;
    margin: 15px 20px;
    padding: 20px;
    width: 100%;
    max-width: 360px;
    padding-bottom: 20px;
    display: block;
    position: relative;
    height: 70%;
    overflow: auto;
    text-align: left;
}
@media (max-width: 768px) {
    .webyouridea-feedback-modal-content {
        margin: 0 0;
    }
}

.webyouridea-feedback-close {
    color: #aaa;
    float: right;
    font-size: 34px;
    font-weight: bold;
    position: absolute;
    right: 32px;
    top: 31px;
    background: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
@media (max-width: 768px) {
    .webyouridea-feedback-close {
        right:25px
    }
}


.webyouridea-feedback-close:hover,
.webyouridea-feedback-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Stilizare generală pentru formular */
#webyouridea-feedback-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
    overflow: auto;
    height: auto;
}

/* Etichetele */
#webyouridea-feedback-form .webyouridea-feedback-form-question {
    color: #333;
}

/* Input-uri text și email */
#webyouridea-feedback-form input[type="email"],
#webyouridea-feedback-form select,
#webyouridea-feedback-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

/* Select box */
#webyouridea-feedback-form select {
    height: 40px;
    background-color: #fff;
    cursor: pointer;
}

/* Textarea */
#webyouridea-feedback-form textarea {
    resize: vertical;
    min-height: 100px;
}

/* Butonul de submit */
#webyouridea-feedback-form button {
    display: inline-block;
    width: 100%;
    padding: 12px 20px;
    background-color: #0073e6;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* Butonul la hover */
#webyouridea-feedback-form button:hover {
    background-color: #005bb5;
}

/* Stilizare pentru erori (dacă adaugi validări suplimentare) */
#webyouridea-feedback-form input:invalid,
#webyouridea-feedback-form select:invalid,
#webyouridea-feedback-form textarea:invalid {
    border-color: #e74c3c;
    background-color: #fdecea;
}

/* Mesaje de succes (poți adăuga o clasă custom în PHP) */
#webyouridea-feedback-form .feedback-success {
    background-color: #e8f8e8;
    color: #2ecc71;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #2ecc71;
    border-radius: 4px;
}

/* Mesaje de eroare */
#webyouridea-feedback-form .feedback-error {
    background-color: #fdecea;
    color: #e74c3c;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #e74c3c;
    border-radius: 4px;
}

/* Star rating CSS */
#webyouridea-feedback-form .star-rating {
    direction: rtl;
    display: inline-flex;
    padding: 0px;
    margin-bottom: 10px;
}

#webyouridea-feedback-form .star-rating input[type="radio"] {
    display: none;
}

#webyouridea-feedback-form .star-rating label {
    font-size: 30px;
    color: #ddd;
    cursor: pointer;
}

#webyouridea-feedback-form .star-rating input[type="radio"]:checked ~ label {
    color: #f5b301;
}

#webyouridea-feedback-form .star-rating label:hover,
#webyouridea-feedback-form .star-rating label:hover ~ label {
    color: #f5b301;
}