/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Jul 20 2025 | 23:20:51 */
/* --- Enhanced Info Icon & Tooltip Styles --- */

/* This wrapper helps align the text and the icon */
.rmb-option-with-info {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Pushes the icon to the right */
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
}

/* The container for the icon and its tooltip */
.rmb-info-icon-wrapper {
    position: relative; /* This is crucial for positioning the tooltip */
    display: inline-block;
    margin-left: 10px; /* Adds some space between the link and the icon */
    flex-shrink: 0; /* Prevents the icon from shrinking */
}

/* The info icon itself (?) */
.rmb-info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background-color: #e0e0e0;
    color: #555;
    border-radius: 50%;
    font-weight: bold;
    font-size: 14px;
    font-family: serif; /* Gives a classic 'i' or '?' look */
    cursor: help;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    user-select: none; /* Prevents text selection on the icon */
}

.rmb-info-icon-wrapper:hover .rmb-info-icon {
    background-color: #D99496; /* Your requested hover color */
    color: #fff;
    transform: scale(1.1); /* Subtle scale effect on hover */
}

/* The tooltip that appears on hover */
.rmb-info-tooltip {
    /* Initially hidden */
    visibility: hidden;
    opacity: 0;
    /* Appearance */
    width: 280px;
    max-width: 90vw; /* Responsive width for mobile */
    background-color: #333;
    color: #fff;
    text-align: left;
    font-size: 0.85em;
    font-weight: normal;
    padding: 12px 15px;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    line-height: 1.4;
    /* Positioning */
    position: absolute;
    z-index: 1000; /* High z-index to ensure it's on top */
    bottom: 140%; /* Position it above the icon */
    right: 0; /* Align to the right edge of the icon */
    transform: translateX(0); /* Remove centering for better mobile behavior */
    /* Smooth fade-in effect */
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    pointer-events: none; /* Prevents tooltip from interfering with mouse events */
}

/* The little arrow pointing down from the tooltip */
.rmb-info-tooltip::after {
    content: '';
    position: absolute;
    top: 100%; /* At the bottom of the tooltip */
    right: 15px; /* Positioned relative to the right edge */
    border-width: 6px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}

/* Show the tooltip on hover */
.rmb-info-icon-wrapper:hover .rmb-info-tooltip {
    visibility: visible;
    opacity: 1;
    transform: translateY(-5px); /* Subtle upward animation */
}

/* Mobile-specific adjustments */
@media (max-width: 768px) {
    .rmb-option-with-info {
        display: flex;
        flex-direction: row; /* Keep horizontal layout */
        align-items: center;
        justify-content: space-between;
        width: 100%;
        gap: 10px;
    }
    
    .rmb-option-with-info > a {
        flex: 1; /* Allow the link text to take available space */
        min-width: 0; /* Allows text to wrap if needed */
    }
    
    .rmb-info-icon-wrapper {
        margin-left: 10px;
        flex-shrink: 0; /* Prevents icon from shrinking */
    }
    
    .rmb-info-tooltip {
        width: 260px;
        max-width: 85vw;
        right: 0;
        bottom: 130%;
        font-size: 0.8em;
        padding: 10px 12px;
    }
    
    .rmb-info-tooltip::after {
        right: 10px;
        border-width: 5px;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .rmb-option-with-info {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        gap: 8px;
    }
    
    .rmb-option-with-info > a {
        flex: 1;
        min-width: 0;
        font-size: 0.9em; /* Slightly smaller text on very small screens */
    }
    
    .rmb-info-tooltip {
        width: 240px;
        max-width: 80vw;
        font-size: 0.75em;
        padding: 8px 10px;
    }
    
    .rmb-info-icon {
        width: 18px;
        height: 18px;
        font-size: 12px;
    }
}

/* Touch device enhancements */
@media (hover: none) and (pointer: coarse) {
    /* For touch devices, we can make the tooltip appear on tap */
    .rmb-info-icon-wrapper {
        cursor: pointer;
    }
    
    /* Optional: You might want to add a click handler in JavaScript for touch devices */
    .rmb-info-tooltip {
        /* Slightly longer duration for touch devices */
        transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease;
    }
}

/* Prevent tooltip cutoff at viewport edges */
@media (max-width: 320px) {
    .rmb-info-tooltip {
        right: -10px;
        width: 200px;
        max-width: 75vw;
    }
    
    .rmb-info-tooltip::after {
        right: 20px;
    }
}

/* Dark mode support (optional) */
@media (prefers-color-scheme: dark) {
    .rmb-info-icon {
        background-color: #444;
        color: #ccc;
    }
    
    .rmb-info-icon-wrapper:hover .rmb-info-icon {
        background-color: #D99496;
        color: #fff;
    }
    
    .rmb-info-tooltip {
        background-color: #222;
        border: 1px solid #444;
    }
    
    .rmb-info-tooltip::after {
        border-color: #222 transparent transparent transparent;
    }
}