.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 90%;
    max-width: 550px;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.modal h2 {
    margin-top: 0;
    margin-bottom: 20px;
}

#feedbackForm .form-group {
    margin-bottom: 15px;
}

#feedbackForm label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

#feedbackForm input,
#feedbackForm select,
#feedbackForm textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

#feedbackForm textarea {
    resize: vertical;
    min-height: 100px;
}

#feedbackForm .form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

/* Freshdesk form container */
#freshdeskFormContainer {
    padding: 0 10px;
    box-sizing: border-box;
}

#freshwidget-embedded-form {
    width: 100% !important;
    max-width: 530px !important;
}

/* Footer Styles */
.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px;
    margin-bottom: 10px;
}

.written-by {
    font-size: 1.1rem;
    font-weight: 500;
}

.written-by a {
    color: #0066cc;
    text-decoration: none;
}

.written-by a:hover {
    text-decoration: underline;
}

.feedback-link {
    margin-bottom: 3px;
}

#feedbackLink {
    color: #0066cc;
    text-decoration: none;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

#feedbackLink:hover {
    background-color: rgba(0, 102, 204, 0.1);
}

#feedbackLink i {
    font-size: 1em;
}
