/* --- Top Banner Styles (Push-down) --- */
#opb-app-banner-container {
    /* ** CHANGE: Changed from fixed to relative to push content down ** */
    position: relative; 
    z-index: 100; /* Just in case */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    direction: rtl;
}

#opb-app-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    /* ** CHANGE: Inherit font and set text color to white ** */
    color: #ffffff;
    /* font-family removed to inherit from theme */
}

.opb-banner-text {
    font-size: 14px;
    font-weight: 500;
    flex-grow: 1;
    /* ** CHANGE: Center text and add margin ** */
    text-align: center;
    margin: 0 10px;
}

/* --- Button Styles --- */

/* Default button style (Blue, for Modal) */
.opb-button {
    background-color: #007aff;
    color: #ffffff;
    border: none;
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 14px;
    font-weight: 600; /* Bolder for iOS style */
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
    transition: background-color 0.2s ease;
}
.opb-button:hover {
    background-color: #0056b3;
}


/* ** NEW: iOS Glass Style for Top Banner Button ONLY ** */
#opb-app-banner .opb-button {
    background-color: rgba(255, 255, 255, 0.2);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    font-weight: 600;
    margin-left: 10px; /* Keep margin for layout */
}
#opb-app-banner .opb-button:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.opb-close {
    background: transparent;
    border: none;
    font-size: 24px;
    /* ** CHANGE: White color for close button ** */
    color: #ffffff;
    padding: 0 5px;
    line-height: 1;
    cursor: pointer;
    opacity: 0.8;
}

.opb-close:hover {
    color: #ffffff;
    opacity: 1;
}

/* --- Modal Styles --- */
#opb-install-modal-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999998; 
}

#opb-install-modal-container {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9999999; 
    direction: rtl;
}

#opb-install-modal {
    background-color: #ffffff;
    border-radius: 20px 20px 0 0;
    padding: 20px;
    text-align: center;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
    animation: opb-slide-up 0.3s ease-out;
    /* font-family removed to inherit from theme */
}

.opb-modal-logo {
    max-width: 80px;
    height: auto;
    margin-bottom: 15px;
}

#opb-install-modal h3 {
    font-size: 18px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 15px;
}

.opb-instructions {
    text-align: right;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #333;
    /* font-family removed to inherit from theme */
}
.opb-instructions strong { /* Style for bolded English words */
    color: #000;
    font-weight: 600;
}

.opb-instructions ol {
    padding-right: 20px;
    margin: 0;
}

.opb-instructions li {
    margin-bottom: 10px;
}

/* Modal "Got it" button (uses default .opb-button blue style) */
#opb-install-modal .opb-button {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border-radius: 10px;
}

@keyframes opb-slide-up {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

/* --- Instruction Icons (No Change) --- */
.opb-instructions .opb-ios-share-icon {
    display: inline-block; width: 16px; height: 16px; border: 1px solid #007aff; border-radius: 3px; position: relative; vertical-align: middle; margin-right: 5px;
}
.opb-instructions .opb-ios-share-icon::after {
    content: ''; position: absolute; left: 50%; top: 30%; transform: translateX(-50%); width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-bottom: 5px solid #007aff;
}
.opb-instructions .opb-ios-share-icon::before {
    content: ''; position: absolute; left: 50%; bottom: 30%; transform: translateX(-50%); width: 1px; height: 6px; background: #007aff;
}
.opb-instructions .opb-ios-add-icon {
    display: inline-block; width: 16px; height: 16px; border: 1px solid #555; border-radius: 3px; position: relative; vertical-align: middle; margin-right: 5px;
}
.opb-instructions .opb-ios-add-icon::after {
    content: '+'; font-weight: bold; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); line-height: 1; font-size: 14px; color: #555;
}
.opb-instructions .opb-android-menu-icon {
    display: inline-block; width: 4px; height: 16px; vertical-align: middle; margin-right: 5px; position: relative;
}
.opb-instructions .opb-android-menu-icon::before,
.opb-instructions .opb-android-menu-icon::after {
    content: ''; position: absolute; left: 0; width: 4px; height: 4px; border-radius: 50%; background: #555;
}
.opb-instructions .opb-android-menu-icon::before { top: 0; }
.opb-instructions .opb-android-menu-icon::after { bottom: 0; }
.opb-instructions .opb-android-menu-icon { background: #555; top: -6px; margin-left: 2px; }