/** Part 1: The main popup styling */
/* Popup background styling */
.satisfaction_popup {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Black background with transparency */
}
.container_fluid {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Popup content styling */
.satisfaction_popup_content {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    text-align: center;
    position: relative;
}

.satisfaction_button_container {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    padding-top: 2%;
	width:100%;
}

/* Close button styling */
.satisfaction_close_container {
    text-align: right; /* Right-align the close button */
    margin-bottom: 20px; /* Space between the close button and the content */
}

.satisfaction_close {
    color: #aaa;
    font-weight: bold;
    cursor: pointer;
}

.satisfaction_close:hover,
.satisfaction_close:focus {
    color: black;
    text-decoration: none;
}

/* Flexbox layout for logos */
.satisfaction_gov_logos {
    display: flex;
    flex-direction: row;
    justify-content: center; /* Center the logos horizontally */
    align-items: center; /* Center logos vertically */
    gap: 20px; /* Space between logos */
}

.satisfaction_gov_logo,
.satisfaction_happy_logo,
.satisfaction_rakc_logo {
    flex: 1; /* Evenly distribute space among the logos */
    display: flex; /* Use flexbox for centering content */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
}

.satisfaction_gov_logo img,
.satisfaction_happy_logo img,
.satisfaction_rakc_logo img {
    max-width: 150px; /* Limit the size of the images */
    height: auto;
    display: block;
}

.head-image .img-responsive {
    width: 100%;
}

/** Body 1 styling */
/* Main Body Styling */
.satisfaction_panel_container {
    background-color: #192b45;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    font-size: 90%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 30px;
 	width: 100%;
    padding-left: 2%;
    padding-right: 2%;
}

.satisfaction_panel_container strong {
    color: white;
}

/* Ratings Container */
.satisfaction_ratings_container {
    display: flex;
    margin: 20px 0;
    justify-content: center; /* Center the ratings horizontally */
    width: 100%;
}

.satisfaction_inner_container {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    flex-wrap: wrap;
}

.satisfaction_rating {
    flex: 1;
    padding: 20px;
    margin: 10px 5px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    transition: background-color 0.3s ease;
}

.satisfaction_rating:hover,
.satisfaction_rating.active {
    border-radius: 4px;
    background-color: #ccc;
    transition: background-color 0.3s ease;
}

.satisfaction_rating .icon {
    width: 40px;
    font-size: 5rem;
}

.satisfaction_rating small {
    color: #fff;
    display: block;
    margin: 10px 0 0;
}

/* Button Styling */
.satisfaction_btn {
    color: #000;
    border: 0;
    border-radius: 4px;
    padding: 12px 30px;
    cursor: pointer;
    outline: 0;
    width: 100%;
}

.satisfaction_btn:active {
    transform: scale(0.98);
}

/** Body 2 specific styling */
.satisfaction_review_row,.satisfaction_review_one {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    width: 100%;
}

.satisfaction_eng_review,
.satisfaction_ar_review {
    font-size: 12px;
    margin-bottom: 10px;
    color: #fff;
    font-weight: bold;
    width: 20%;
}

.satisfaction_smile_list {
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding: 0;
    margin: 0;
    list-style-type: none;
    width: 60%;
}

.satisfaction_smile_list li {
    flex: 1;
    text-align: center;
    margin: 0 5px;
    width: 100%;
}

/* Radio Button Specific Styling */
input[type="radio"] {
    display: none; /* Hide the default radio button */
}

input[type="radio"] + .satisfaction_btn {
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    transition: background-color 0.3s ease;
}

input[type="radio"]:checked + .satisfaction_btn {
    background-color: #7e7e7e; /* Background changes when selected */
    color: #fff;
}

/* Icon Button Styling */
.satisfaction_icon_btn {
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.satisfaction_icon_btn:hover {
    background-color: #e0e0e0;
}

.satisfaction_icon_btn i {
    font-size: 24px;
    color: #555;
}

/* Button Container Styling */

.satisfaction_back_btn {
    background-color: #777;
    width: 40%;
}

.satisfaction_back_btn:hover {
    background-color: #555;
}

.satisfaction_finish_btn {
    background-color: #28a745;
    width: 40%;
}

.satisfaction_finish_btn:hover {
    background-color: #218838;
}

/* Floating Popup Button */
button#satisfaction_popupButton {
    width: fit-content;
    position: fixed;
    bottom: -7px;
    left: 36px;
    background-color: var(--primary-color);
    padding: 10px;
    z-index: 9999999;
}

button#satisfaction_popupButton i {
    font-size: clamp(3rem, 4vw, 5rem);
    color: #fff;
}
