#feedbackLink {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: #007bff;
    color: white;
    border: none;
    padding: 12px 18px;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-decoration: none;
}

.feedback-link:hover {
    color: #005a9e;
}

#feedbackLink {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: #007bff;
    color: white;
    border: none;
    padding: 12px 18px;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-decoration: none;
}

#product,
#version {
    width: 375px;
}

#feedbackBtn:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

.data-feed {
    border-radius: 5px;
}

/* .logo {
    height: 50px;
} */

.buttons {
    display: flex;
    justify-content: space-evenly;
}

/* === Feedback Form Container === */
#feedbackFormContainer {
    display: none;
    /* hidden initially */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 850px;

    background: transparent;
    padding: 30px 35px;
    border-radius: 12px;
    /* box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2); */
    z-index: 1000;
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    animation: fadeIn 0.3s ease;
}

form {
    background-color: #e4e4e4;
    margin: auto;
    max-width: 50vw;
    display: grid;
    /* gap: 12px; */
    border: 1px solid;
    height: 575px;
    border-radius: 15px;
    padding: 45px 45px;
    /* box-shadow: 8px 7px 8px 0px rgb(204, 210, 211); */
    position: relative;
    z-index: 1;
}

.heading {
    display: flex;
    flex-direction: column;
}

/* Smooth show animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -55%);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

/* === Form Heading === */


#feedbackFormContainer h2 {
    text-align: center;
    color: #0b3d91;
    margin-bottom: 25px;
    font-size: 1.8em;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* === Labels === */
#feedbackForm label {
    display: flex;
    flex-direction: column;
    margin-top: 5px;
    font-weight: 600;
    color: #333;
    font-size: 15px;
}

/* #attachments{
    display: block;
    margin: 10px 0;
    padding: 12px;
    background: #f8f9fa;
    border: 1px dashed #aaa;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: background 0.3s, border 0.3s;
    font-size: 14px;
    color: #555;
} */

/* === Inputs, Selects, Textarea === 
#feedbackForm input[type="file"]
#feedbackForm input[type="text"],
#feedbackForm input[type="email"],
#feedbackForm select*/
#name,
#email {
    width: 350px;
    padding: 10px 12px;
    margin-top: 6px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
    background-color: #fafafa;
    transition: all 0.25s ease;
}


#product,
#version {
    width: 375px;
    padding: 10px 12px;
    margin-top: 6px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
    background-color: #fafafa;
    transition: all 0.25s ease;
}



#feedbackForm textarea {
    width: 745px;
    padding: 10px 12px;
    margin-top: 6px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
    background-color: #fafafa;
    transition: all 0.25s ease;
}

#feedbackForm input:focus,
#feedbackForm select:focus,
#feedbackForm textarea:focus {
    outline: none;
    border-color: #0078d7;
    box-shadow: 0 0 0 3px rgba(0, 120, 215, 0.15);
    background-color: #fff;
}

/* === Grid Row (for product/version fields) === */
#feedbackForm .row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 10px;
}

@media (max-width: 600px) {
    #feedbackForm .row {
        grid-template-columns: 1fr;
    }
}

/* === Error Messages === */
#feedbackForm small.error {
    color: #d32f2f;
    font-size: 13px;
    margin-top: 3px;
    display: block;
}

/* === Buttons === */
.form-buttons {
    margin-top: 25px;
    text-align: center;
}


/* Submit Button */
.buttons button {
    width: 150px;
    padding: 12px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s, transform 0.2s;
}

/* .form-buttons button {
    border: none;
    padding: 10px 22px;
    margin: 6px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.25s ease;
} */

/* Submit button */
.form-buttons button[type="submit"] {
    background-color: #0078d7;
    color: white;
}

.form-buttons button[type="submit"]:hover {
    background-color: #005fa3;
    transform: translateY(-1px);
}

/* Reset button */
.form-buttons button[type="reset"] {
    background-color: #f3f3f3;
    color: #333;
}

.form-buttons button[type="reset"]:hover {
    background-color: #e0e0e0;
}

/* Close button */
.form-buttons #closeForm {
    background-color: #d9534f;
    color: #fff;
}

.form-buttons #closeForm:hover {
    background-color: #c9302c;
}

/* === File input === */
/* #feedbackForm input[type="file"] {
    border: none;
    background: transparent;
    padding: 0;
    margin-top: 8px;
} */

/* === Readonly URL field === */
#feedbackForm input[readonly] {
    background-color: #f4f4f4;
    cursor: not-allowed;
    color: #666;
}

/* === Overlay (optional if you want a modal feel) === */
#feedbackOverlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: 999;
}

/* 🌟 File Upload Style */
.file-label {
    display: block;
    margin: 10px 0;
    padding: 12px;
    background: #f8f9fa;
    border: 1px dashed #aaa;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: background 0.3s, border 0.3s;
    font-size: 14px;
    color: #555;
}

.file-label:hover {
    background: #eef3ff;
    border-color: #007bff;
}

.file-label input {
    display: none;
    /* hide default input */
}

.file-label span {
    pointer-events: none;
    /* ensures clicking anywhere on label works */
}

#fileList {
    display: flex;
    flex-wrap: wrap;
    /* ✅ allows wrapping to next line */
    gap: 10px;
    /* space between file items */
    margin: 10px 0px;
}

.file-item {
    display: flex;
    align-items: center;
    background: #f4f4f4;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 5px 10px;
    font-size: 14px;
}


.file-item button {
    margin-left: 8px;
    border: none;
    background: none;
    color: red;
    font-size: 16px;
    cursor: pointer;
}