/* assets/css/feedback.css */

/* FIXED FEEDBACK BUTTON S */
.fixed-feedback-btn {
    position: fixed;
    right: 0;
    top: 50%;
    transform: rotate(-90deg) translateX(50%);
    transform-origin: right bottom;
    background-color: #f39c12;
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px 8px 0 0;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.15);
    transition: background-color 0.2s ease;
    white-space: nowrap;
}

.fixed-feedback-btn:hover {
    background-color: #e67e22;
    color: #fff;
}

@media (max-width: 768px) {
    .fixed-feedback-btn {
        padding: 5px 15px;
        font-size: 11px;
        border-radius: 4px 4px 0 0;
    }
}
/* FIXED FEEDBACK BUTTON E */

/* FEEDBACK MODAL SPECIFIC S */
#feedback-modal.modal-overlay {
    align-items: flex-start;
    padding-top: 40px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(2px);
    display: flex;
    justify-content: center;
    z-index: 99999; /* Higher than header and other elements */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

#feedback-modal.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.feedback-modal-container {
    background-color: #fff;
    border-radius: 8px;
    padding: 0;
    position: relative;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    width: 100%;
    max-width: 768px;
    overflow: hidden;
}

#feedback-modal.modal-overlay.active .feedback-modal-container {
    transform: translateY(0);
}

.feedback-modal-container .modal-header {
    border-bottom: 1px solid #eee;
    padding: 20px 25px;
    margin-bottom: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.feedback-modal-container .modal-title {
    font-size: 22px;
    font-weight: 500;
    color: #444;
    font-family: Arial, sans-serif;
    margin: 0;
}

.feedback-modal-container .close-modal {
    font-size: 24px;
    color: #ccc;
    cursor: pointer;
    line-height: 1;
    font-weight: bold;
}

.feedback-modal-container .close-modal:hover {
    color: #999;
}

.feedback-modal-container .modal-body {
    padding: 20px 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feedback-label {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 0;
    text-align: left;
}

.feedback-textarea {
    width: 100%;
    height: 120px;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 15px;
    font-size: 16px;
    color: #555;
    resize: none;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.feedback-textarea:focus {
    border-color: #66afe9;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102,175,233,.6);
}

.feedback-textarea::placeholder {
    color: #999;
}

.feedback-note {
    font-size: 16px;
    color: #333;
    margin-bottom: 0;
    text-align: left;
    font-weight: 500;
}

.note-red {
    color: #FF0000;
    font-weight: 700;
}

.contact-link {
    color: #337ab7;
    text-decoration: none;
}

.contact-link:hover {
    text-decoration: underline;
}

.feedback-footer {
    padding: 15px 25px 25px;
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    border-top: none;
}

.btn-send, .btn-close {
    padding: 10px 22px;
    font-size: 18px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: Arial, sans-serif;
    outline: none;
}

.btn-send {
    background-color: #337ab7;
    border: 1px solid #2e6da4;
    color: #fff;
}

.btn-close {
    background-color: #fff;
    border: 1px solid #2e6da4;
    color: #000000;
}

.btn-send:hover {
    background-color: #286090;
    border-color: #204d74;
}

.btn-close:hover {
    background-color: #e6e6e6;
    border-color: #8c8c8c;
}

@media (max-width: 768px) {
    .feedback-modal-container {
        max-width: 95%;
    }
    .feedback-textarea {
        height: 150px;
    }
    .btn-send, .btn-close {
        padding: 8px 15px;
        font-size: 16px;
    }
}
/* FEEDBACK MODAL SPECIFIC E */
