/* Button Styles */
.custom-button {
    text-decoration: none;
    display: inline-block;
    background: #a1aab3; /* Gray background */
    color: #000000; /* Black text */
    padding: 10px 22px; /* Consistent padding */
    font-size: 16px;
    font-family: 'Helvetica Neue', Arial, sans-serif; /* Updated font */
    border: 2px solid #000000; /* Black border */
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s, box-shadow 0.2s, color 0.2s; /* Added color transition */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    text-align: center;
}

.custom-button:hover, .custom-button:focus {
    background: #8999a0; /* Darker gray on hover/focus */
    border-color: #000000; /* Black border */
    color: #000000; /* Black text */
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
    outline: none;
}

.custom-button:active {
    background: #78848d; /* Even darker gray on active */
    border-color: #000000; /* Black border */
    color: #000000; /* Black text */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.custom-button:focus-visible {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.6), 0 0 0 4px #000000;
}

/* Modal Styles */
.modal-popup {
    display: none;
    position: fixed;
    z-index: 8000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content-box {
    background-color: #fff;
    margin: auto;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 450px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: left;
}

/* Close Button Styles */
.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close-btn:hover,
.close-btn:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

/* Animation */
@keyframes modal-popup-open {
    from {top: -300px; opacity: 0;}
    to {top: 0; opacity: 1;}
}

/* Form Styles */
#feedback-form-wrapper {
    max-width: 400px;
    margin: 0 auto;
}

.fieldset-custom {
    border: none;
    margin: 0;
    padding: 0;
}

.label-custom {
    display: block;
    margin-bottom: 5px;
}

#comment-section {
    padding-top: 10px;
    width: 100%;
    height: 100px;
    border-radius: 4px;
    padding: 8px;

}

.input-custom {
    width: 99%;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #d9d9d9;
    font-size: 14px;
    background-color: #fff;
}

.input-custom:focus {
    border: 2px solid #a1aab3;
    outline: none;
}

/* Alignments */
.form-label {
    font-size: 14px;
    margin-bottom: 5px;
    display: block;
}

.form-field {
    margin-bottom: 15px;
}

.submit-button {
    background: #a1aab3; /* Gray background */
    color: #000000; /* Black text */
    padding: 10px 20px; /* Consistent padding */
    font-size: 16px;
    font-family: 'Helvetica Neue', Arial, sans-serif; /* Updated font */
    border: 2px solid #000000; /* Black border */
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s, box-shadow 0.2s, color 0.2s; /* Added color transition */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    text-align: center;
}

.submit-button:hover, .submit-button:focus {
    background: #8999a0; /* Darker gray on hover/focus */
    border-color: #000000; /* Black border */
    color: #000000; /* Black text */
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
    outline: none;
}

.submit-button:active {
    background: #78848d; /* Even darker gray on active */
    border-color: #000000; /* Black border */
    color: #000000; /* Black text */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.submit-button:focus-visible {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.6), 0 0 0 4px #000000;
}

#popup-title {
    text-align: center;
}

#legend-padding-bottom {
    padding-bottom: 10px;
}
