/* Bug Icon */
#bug-icon {
    position: fixed;
    right: 30px;
    bottom: 60px;
    font-size: 40px;
    color: #000000;
    cursor: pointer;
    transition: transform 0.3s ease;
    z-index: 9999;
}

#bug-icon:hover {
    transform: scale(1.2); /* Slightly increase the size */
    color: #4CAF50;       /* Change the color to green */
}

#bug-text {
    position: fixed;
    right: 80px;
    bottom: 65px;
    background-color: #000;
    color: white;
    padding: 5px 10px;
    visibility: hidden;
    font-size: 12px;
    border-radius: 3px;
    transition: visibility 0.3s ease;
    z-index: 9998;
}

/* Bug Report Modal Styling */
.bug-report-modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.bug-report-modal-content {
    background: linear-gradient(to top right, #242732, #394452);
    padding: 20px;
    border-radius: 8px;
    width: 30%;
    max-width: 350px;
    box-shadow: 0 4px 8px rgba(189, 189, 189, 0.5);
}

.bug-report-modal-content h2 {
    color: #cacaca; /* Change this color code to your desired color */
    font-size: 20px; /* Optional: Adjust the font size */
    font-weight: bold; /* Optional: Make the text bold */
    text-align: center; /* Optional: Center the text */
}

.bug-report-modal-content input,
.bug-report-modal-content textarea,
.bug-report-modal-content select {
    width: 95%;
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
    border: 3px solid #5f5e5e;
}

.bug-report-modal-content button {
    padding: 10px 20px;
    margin-top: 8px; /* Add some space between the file input and the error message */
    background-color: #28a745;
    font-weight: bold;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

.bug-report-modal-content button:hover {
    background-color: #218838;
}

/* Close Button */
#bug-report-close-modal {
    padding: 8px 15px;
    background-color: red;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 10px;
}

#bug-report-close-modal:hover {
    background-color: #cc0000; /* Darker red on hover */
}

.bug-report-file-input-container {
    display: flex;
    align-items: center;
    gap: 15px; /* Spațiu între buton și text */
    margin-top: 10px;
}

.bug-report-custom-file-upload {
    display: inline-block;
    background-color: #007bff;
    color: #fff;
    padding: 10px 20px;
    font-size: 12px;
    
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    border: none;
    transition: background-color 0.3s ease;
}

.bug-report-custom-file-upload:hover {
    background-color: #0056b3;
}

/* Ascundem input-ul implicit */
#bug-report-file-upload {
    display: none;
}

#bug-report-file-chosen {
    font-size: 12px;
    color: #6c757d; /* Text gri inițial */
    padding: 8px 12px;
    border-radius: 4px;
    font-style: italic;
    border: 1px solid transparent;
    background-color: #473838;
    transition: color 0.3s ease, background-color 0.3s ease;
}

#bug-report-file-chosen.has-files {
    color: #ffffff; /* Text alb pentru fișiere selectate */
    background-color: #473838; /* Fundal albastru */
    border: 1px solid #dadcdd;
}

/* Styling pentru fișiere afișate */
#file-list-container {
    list-style-type: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

#file-list-container li {
    font-size: 12px;
    color: #ffffff;
    background-color: #473838;
    padding: 4px 6px;
    margin-top: 5px;
    border-radius: 4px;
    border: 1px solid #c4c7c9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

#file-list-container li .delete-file {
    color: #ff5c5c;
    font-weight: bold;
    font-size: 20px;
    margin-left: 10px;
    cursor: pointer;
    transition: color 0.3s ease;
}

#file-list-container li .delete-file:hover {
    color: #ff1a1a;
}

/* Animare la hover pentru fișiere */
#file-list-container li:hover {
    transform: translateX(5px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.bug-report-error-message-container {
    margin-top: 3px; /* Add some space between the file input and the error message */
    margin-bottom: 8px;
    padding: 5px;
    background-color: transparent;
    border: 1px solid #ffffff; /* Slightly darker red border */
    color: #b10a1b; /* Dark red text */
    border-radius: 2px;
    font-size: 10px;
    display: none; /* Initially hidden */
}


.bug-report-success-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(to top right, #242732, #394452);
    color: white;
    padding: 12px 20px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    box-shadow: 0px 0px 10px rgb(222, 224, 222);
    z-index: 10001; /* Make sure it's above everything else */
    text-align: center;
    animation: fadeIn 0.5s ease-in-out;
}

/* Animație pentru apariția mesajului */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -55%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

/* Styling pentru câmpul email readonly */
input[readonly] {
    background-color: #2d3238; /* Culoare întunecată pentru fundal */
    box-shadow: 0 2px 4px rgba(189, 189, 189, 0.5);
    color: #888; /* Culoare text mai deschisă */
    border: 2px solid #555; /* Bordură subtilă */
    cursor: not-allowed; /* Cursor care indică faptul că este blocat */
}

