/** Main Popup Styling */
.satisfaction_popup {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow-y: auto;
}

/** Header Container Styling */
.container_fluid {
    background-color: #34495E;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 2%;
}

.container_fluid h4,
.container_fluid h6 {
    margin-bottom: 0;
    color: #fff;
}

.container_fluid img {
    width: 10%;
}

/** Popup Content Styling */
.satisfaction_popup_content {
    background-color: #fff;
    margin: 5% auto;
    width: 50%;
    max-width: 600px;
    text-align: center;
    position: relative;
}

/** Close Button Styling */
.satisfaction_close {
    color: #aaa;
    font-weight: bold;
    cursor: pointer;
    align-self: end;
}

.satisfaction_close:hover,
.satisfaction_close:focus {
    color: #fff;
    text-decoration: none;
}

/** Rating Panel */
.satisfaction_panel_container {
    background-color: #192b45;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
    font-size: 90%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px 2% 20px;
    width: 100%;
}

.satisfaction_panel_container strong {
    color: #fff;
    font-size: 1.1rem;
    line-height: 1.8;
}

/** Ratings Container */
.satisfaction_ratings_container {
    display: flex;
    justify-content: center;
    margin: 20px 0;
    width: 100%;
}

.satisfaction_inner_container {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    gap: 10px;
    flex-wrap: wrap;
}

.satisfaction_rating {
    flex: 1;
    max-width: 160px;
    padding: 20px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.satisfaction_rating:hover,
.satisfaction_rating.active {
    background-color: rgba(255, 255, 255, 0.15);
}

/* Highlight the selected rating */
.satisfaction_rating:has(input[type="radio"]:checked) {
    background-color: rgba(255, 255, 255, 0.25);
    outline: 2px solid #fff;
}

.satisfaction_rating input[type="radio"] {
    display: none;
}

.satisfaction_rating .icon {
    font-size: 4rem;
    line-height: 1;
}

.satisfaction_rating small {
    color: #fff;
    margin-top: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/** Submit Button Container */
.satisfaction_button_container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px;
    width: 100%;
}

/** Submit Button */
.satisfaction_finish_btn {
    background-color: #28a745;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 12px 48px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.satisfaction_finish_btn:hover {
    background-color: #218838;
}

.satisfaction_finish_btn:active {
    transform: scale(0.98);
}

.satisfaction_finish_btn:disabled {
    background-color: #aaa;
    cursor: not-allowed;
}

/** Popup Trigger Button */
button#satisfaction_popupButton {
    width: fit-content;
    position: fixed;
    bottom: -7px;
    left: 2%;
    background-color: var(--primary-color);
    padding: 10px;
    z-index: 999;
    border: 0;
}

button#satisfaction_popupButton i {
    font-size: clamp(3rem, 4vw, 5rem);
    color: #fff;
}

/** Responsive */
@media (max-width: 600px) {
    .satisfaction_popup_content {
        width: 92%;
        margin: 10% auto;
    }

    .satisfaction_rating .icon {
        font-size: 3rem;
    }
}