/* =========================================
   1. MAIN CONTAINER
   ========================================= */
.rm-wrapper {
    font-family: inherit;
    box-sizing: border-box;
    width: 100%;
    max-width: 800px; 
    margin: 0 auto;
    position: relative;
}
.rm-wrapper * { box-sizing: border-box; }

.rm-wrapper.well {
    background-color: #f9f9f9;
    border: 1px solid #e3e3e3;
    border-radius: 6px;
    padding: 40px 30px;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.05);
    overflow: hidden; 
}

.rm-wrapper .top_title {
    text-align: center;
    margin-bottom: 30px;
}

/* =========================================
   2. SLIDER STRUCTURE
   ========================================= */
.rm-carousel-wrapper {
    width: 100%;
    margin: 0 auto;
    display: block; 
}
.rm-carousel-wrapper .slick-list {
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
}
.rm-carousel-wrapper .slick-track {
    display: flex; 
    align-items: flex-start;
}
.rm-slide {
    outline: none;
    padding: 10px 0;
    float: none; 
    height: auto;
    min-height: 1px;
}

/* Internal Wrapper */
.rm-content-inner {
    width: 100%;
    max-width: 500px; 
    margin: 0 auto;   
    text-align: center;
}

/* =========================================
   3. SLIDE 1: THUMBS
   ========================================= */
.rm-thumbs-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    width: 100%;
}
.rm-thumb-col {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.rm-wrapper .thumbnail {
    display: block;
    text-decoration: none;
    color: #333;
    cursor: pointer;
    padding: 20px;
    border: 1px solid transparent;
    border-radius: 8px;
    transition: all 0.2s ease;
    width: 100%;
    text-align: center;
}
.rm-wrapper .thumbnail:hover {
    background-color: #fff;
    border-color: #ddd;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}
.rm-wrapper .thumbnail span {
    display: block;
    margin-top: 15px;
    font-weight: 600;
    font-size: 18px;
}
.rm-big-icon { font-size: 80px; display: block; margin: 0 auto; }
.rm-icon-up { color: #62a744; }
.rm-icon-down { color: #c60000; }

/* =========================================
   4. SLIDE 2: BUTTONS
   ========================================= */
.rm-slide .top_text {
    text-align: center;
    margin-bottom: 15px;
}
.review_buttons_container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    width: 100%;
    margin: 0 auto;
}
.rm-platform-btn {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 12px 20px;
    border-radius: 15px;
    text-decoration: none !important;
    color: #fff !important;
    font-weight: bold;
    font-size: 15px;
    transition: opacity 0.3s ease, transform 0.2s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    line-height: 1.2;
    background-color: #555;
}
.rm-platform-btn:hover { opacity: 0.9; transform: translateY(-2px); }
.rm-btn-icon {
    font-size: 20px; margin-right: 12px; width: 24px; text-align: center;
    display: flex; justify-content: center; align-items: center; flex-shrink: 0;
}
.rm-btn-text {
    flex-grow: 1; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* =========================================
   5. NAVIGATION
   ========================================= */
.back_button_con {
    display: block;
    width: 100%;
    margin-top: 15px;
    text-align: center;
}
.back_button {
    background: none; border: none; color: #cf4721;
    font-size: 16px; cursor: pointer; text-decoration: none;
    padding: 10px 0; display: inline-flex; align-items: center;
}
.back_button i { margin-right: 5px; }

/* =========================================
   6. MODAL
   ========================================= */
.rm-modal.modal {
    position: fixed; top: 0; right: 0; bottom: 0; left: 0;
    z-index: 99999; display: none; overflow: hidden;
    background-color: rgba(0,0,0,0.6);
}
.rm-modal .modal-dialog {
    position: relative; width: 90%; max-width: 600px; margin: 50px auto;
    background: #fff; border-radius: 8px; box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}
.rm-modal .modal-content {
    background-color: #fff; border-radius: 8px; overflow: hidden;
    display: flex; flex-direction: column; max-height: 90vh;
}
.rm-modal .modal-header {
    background-color: #4285f4; padding: 20px; color: white; position: relative; flex-shrink: 0;
}
.rm-modal .modal-header-content { display: flex; align-items: center; padding-right: 30px; }
.rm-modal .close {
    position: absolute; right: 15px; top: 15px; color: white; font-size: 24px;
    font-weight: bold; cursor: pointer; opacity: 0.8; background: none; border: none; z-index: 10;
}
.rm-modal .modal-title { margin: 0; font-size: 20px; font-weight: 600; color: white; }
.rm-modal .place-description { font-size: 14px; opacity: 0.9; margin-top: 5px; }
.rm-modal .modal-body { padding: 20px; overflow-y: auto; }
.rm-modal .gform_wrapper { margin: 0; }
.rm-modal .gfield_label { display: none !important; }
.rm-modal input[type="submit"] {
    background: #4285f4; color: white; border: none; padding: 10px 20px;
    border-radius: 4px; cursor: pointer; float: right;
}

/* =========================================
   7. MOBILE RULES
   ========================================= */
@media (max-width: 768px) {
    .rm-thumbs-row { flex-direction: column; }
    .rm-thumb-col { width: 100%; margin-bottom: 10px; }
    .review_buttons_container { grid-template-columns: 1fr; }
    .back_button_con { text-align: center; }
    .rm-big-icon { font-size: 60px; }
    .rm-wrapper .thumbnail span { font-size: 16px; margin-top: 10px; }
    .rm-btn-text { text-align: center; }
    .rm-modal .modal-dialog { margin: 20px auto; width: 95%; }
}

/* =========================================
   8. ELEMENTOR FIX
   ========================================= */
.rm-wrapper .fas, .rm-wrapper .fa-solid, 
.rm-wrapper .fa-chevron-left, .rm-wrapper .fa-thumbs-up, .rm-wrapper .fa-thumbs-down {
    font-family: "Font Awesome 6 Free" !important; font-weight: 900 !important;
}
.rm-wrapper .fab, .rm-wrapper .fa-brands {
    font-family: "Font Awesome 6 Brands" !important; font-weight: 400 !important;
}