.feedback-dialog {
    transition: background-color 0.5s ease-out;
      background-color: rgba(0, 0, 0, 0);
}

.feedback-dialog[open] {
      background-color: rgba(0, 0, 0, 0.75);
}

.feedback-dialog[open] .feedback-popup {
    transform: translateY(0);
    opacity: 1;
}

.feedback-popup {
    transform: scale(1);
    transform: translateY(-200%);
    transition: transform 0.5s ease-in-out;
    max-height: 900px;
    max-width: 696px;
    border-image: url("./raw_images/bg_popup_3slice.png");
    border-image-slice: 200 0 200 0 fill;
    border-image-width: auto;
    background-size: cover;
    background: none;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.feedback-header {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 120px;
}

.feedback-title {
    margin-bottom: 0%;
    font-size: clamp(1em, 14vh, 3em);
    font-weight: regular;
    font-family: Baloo-Regular;
    line-height: 60px;
    text-shadow: 
        0px 4px 0px #7d3500,
        2px 4px 0px #7d3500,
        -1px 4px 0px #7d3500,
        2px 0px 0px #7d3500,
        -1px 0px 0px #7d3500,
        2px -1px 0px #7d3500,
        -1px -1px 0px #7d3500;
    color: #f5c834;
}

.feedback-subtitle {
    margin-top: 0%;
    margin-bottom: 0px;
    font-size: clamp(0.6em, 10vh, 1.4em);
    font-weight: regular;
    font-family: Baloo-Regular;
    line-height: 40px;
    text-shadow: 
        0px 3px 0px #9f5327,
        2px 3px 0px #9f5327,
        -1px 3px 0px #9f5327,
        2px 0px 0px #9f5327,
        -1px 0px 0px #9f5327,
        2px -1px 0px #9f5327,
        -1px -1px 0px #9f5327;
    color: #fffbc9;
}

.feedback-dialog .button-close {
    position: absolute;
    text-align: center;
    width: 40px; height: 40px;
    top: 130px; right: 30px;
    background-image: url("./raw_images/btn_exit.png");
    background-color: transparent;
    border: none;
    margin: 0px;
    cursor: pointer;
}

.feedback-form {
    margin-bottom: 20px;
    margin-top: 50px;
    padding-left: 75px;
    padding-right: 75px;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.feedback-form .feedback-label {
    font-size: clamp(0.6em, 10vh, 1.4em);
    font-weight: regular;
    font-family: Baloo-Regular;
    margin-top: 0%;
    margin-bottom: 5%;
    color: #b15b42;
}

.feedback-form .category-header {
    font-size: clamp(0.8em, 12vh, 1.6em);
    font-weight: regular;
    font-family: Baloo-Regular;
    margin-bottom: 5px;
    color: #b15b42;
}

.category-select {
    position: relative;
}

.category-select select{
    background-color: #f8f6ec;
    color: #b15b42;
    border: none;
    outline: none; 
    max-height: 60px;
    font-size: 1.1em;
    font-weight: regular;
    font-family: Baloo-Regular;
    border-radius: 6px;
    box-shadow: 2px 4px 5px #E6BE98;
    width: 100%;
    box-sizing: border-box; 
}

.category-select::after {
    content: "";
    position: absolute;
    right: 20px;
    width: 24px;
    height: 16.5px;
    top: 21.75px;
    background-image: url("./raw_images/icon_select.png");
    background-size: cover;
    background-repeat: no-repeat;
    pointer-events: none;
}

select:not([multiple]):not([size]) {
    background-image: none;
}

.feedback-form .feedback-text {
    width: 100%;
    color: #b15b42;
    padding: 20px;
    margin-bottom: 1%;
    border: none;
    border-radius: 6px;
    font-size: 1.1em;
    font-weight: regular;
    font-family: Baloo-Regular;
    background-color: #EDCFA5;
    box-shadow: inset 1px 3px 2px 1px #D8A06F;
    min-height: 175px;
    flex-grow: 1;
    resize: none;
}

.feedback-text::placeholder {
    color: #b15b42;
    font-size: 1.1em;
    font-weight: regular;
    font-family: Baloo-Regular;
}

.feedback-buttons {
    display: flex;
    height: 150px;
    justify-content: space-between;
    align-items: end;
    margin-left: 10%;
    margin-right: 10%;
    margin-top: 20px;
}

.feedback-buttons button {
    height: 95px;
    font-size: clamp(1em, 12vh, 2em);
    font-weight: regular;
    font-family: Baloo-Regular;
    background: none;
    margin-bottom: 10px;
    cursor: pointer;		
}

.feedback-buttons .button-ok {
    border-image: url("./raw_images/btn_small_green_idle.png");
    border-image-slice: 0 50 0 50 fill;
    border-image-width: 0 50px 0 50px;
    color: #fffeff;
    text-shadow:
        -2px -3px 0 #4b9b39,  
         2px -3px 0 #4b9b39,
        -2px  3px 0 #4b9b39,
         2px  3px 0 #4b9b39;
    margin-left: 10px;
}

.feedback-buttons .button-cancel {
    border-image: url("./raw_images/btn_small_3slice_yellow_idle.png");
    border-image-slice: 0 50 0 50 fill;
    border-image-width: 0 50px 0 50px;
    color: #fffeff;
    text-shadow:
        -2px -3px 0 #F39432,  
         2px -3px 0 #F39432,
        -2px  3px 0 #F39432,
         2px  3px 0 #F39432;
    margin-right: 10px;
}

button {
    transition: transform 0.2s ease-in-out;
    outline: none;
    box-shadow: none;
}

button:active {
    transform: scale(1.05);
}