@charset "UTF-8";
 
/* Desktop - κανονικό μενού πάνω */
@media (min-width: 992px) {
    .navbar {
        position: relative;
    }
    /* ΣΗΜΑΝΤΙΚΟ: Κρύβουμε τα mobile elements στο desktop */
    .mobile-bottom-nav,
    .account-modal,
    .modal-backdrop {
        display: none !important;
    }
}
/* Mobile - Bottom Navigation */
@media (max-width: 991px) {
    /* Κρύβουμε το default navbar */
    .navbar {
        display: none !important;
    }
    
    /* Padding για το περιεχόμενο */
    body {
        padding-bottom: 70px;
    }
    /* Bottom Navigation Bar */
    .mobile-bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
        z-index: 1000;
        display: flex;
        justify-content: space-around;
        padding: 8px 0;
    }
    
    .mobile-bottom-nav a,
    .mobile-bottom-nav button {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-decoration: none;
        color: #333;
        font-size: 11px;
        padding: 5px 10px;
        flex: 1;
        max-width: 100px;
        background: none;
        border: none;
        cursor: pointer;
    }
    
    .mobile-bottom-nav a:hover,
    .mobile-bottom-nav a:active,
    .mobile-bottom-nav button:hover,
    .mobile-bottom-nav button:active {
        color: #007bff;
    }
    
    .mobile-bottom-nav span[class*="mbr-iconfont"] {
        font-size: 24px;
        margin-bottom: 4px;
    }
    
    /* Account Modal/Bottom Sheet */
    .account-modal {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: white;
        border-radius: 20px 20px 0 0;
        box-shadow: 0 -5px 20px rgba(0,0,0,0.2);
        z-index: 2000;
        transform: translateY(100%);
        transition: transform 0.3s ease;
        max-height: 60vh;
        overflow-y: auto;
        display: block;
    }
    
    .account-modal.show {
        transform: translateY(0);
    }
    
    .account-modal-header {
        padding: 20px;
        border-bottom: 1px solid #eee;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .account-modal-header h3 {
        margin: 0;
        font-size: 18px;
        font-weight: 600;
    }
    
    .close-modal {
        background: none;
        border: none;
        font-size: 28px;
        cursor: pointer;
        color: #999;
        padding: 0;
        width: 30px;
        height: 30px;
        line-height: 1;
    }
    
    .account-modal-content {
        padding: 10px 0;
    }
    
    .account-modal-item {
        display: flex;
        align-items: center;
        padding: 15px 20px;
        text-decoration: none;
        color: #333;
        border-bottom: 1px solid #f5f5f5;
    }
    
    .account-modal-item:last-child {
        border-bottom: none;
    }
    
    .account-modal-item:active {
        background: #f5f5f5;
    }
    
    .account-modal-item span[class*="mbr-iconfont"] {
        font-size: 24px;
        margin-right: 15px;
        color: #007bff;
    }
    
    .account-modal-item span:last-child {
        font-size: 15px;
    }
    
    /* Backdrop */
    .modal-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: 1999;
        display: none;
    }
    
    .modal-backdrop.show {
        display: block;
    }
}

@media (max-width: 991px) {
    #installBanner,
    #iosBanner {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        padding: 12px 15px;
        z-index: 1001;
        box-shadow: 0 2px 10px rgba(0,0,0,0.2);
        animation: slideDown 0.3s ease;
    }
    
    .install-banner-content {
        display: flex;
        align-items: center;
        gap: 12px;
        font-size: 14px;
    }
    
    .install-banner-content .mdi-notification-play-install,
    .install-banner-content .mdi-apple {
        font-size: 24px;
    }
    
    .install-text {
        flex: 1;
        line-height: 1.4;
    }
    
    .install-text small {
        display: block;
        opacity: 0.9;
        font-size: 12px;
        margin-top: 2px;
    }
    
    .share-icon {
        display: inline-block;
        font-weight: bold;
        font-size: 16px;
        padding: 2px 6px;
        background: rgba(255,255,255,0.2);
        border-radius: 4px;
        margin: 0 2px;
    }
    
    #installBannerBtn {
        background: white;
        color: #667eea;
        border: none;
        padding: 8px 16px;
        border-radius: 20px;
        font-weight: 600;
        font-size: 13px;
        white-space: nowrap;
    }
    
    .close-btn {
        background: none;
        border: none;
        color: white;
        font-size: 24px;
        padding: 0;
        width: 30px;
        height: 30px;
        cursor: pointer;
        flex-shrink: 0;
    }
    
    @keyframes slideDown {
        from { 
            transform: translateY(-100%); 
            opacity: 0;
        }
        to { 
            transform: translateY(0); 
            opacity: 1;
        }
    }
    
    /* Προσθέτουμε padding στο body όταν το banner είναι ορατό */
    body.install-banner-visible {
        padding-top: 75px;
    }
    
    /* iOS specific styling */
    .ios-banner {
        background: linear-gradient(135deg, #000000 0%, #434343 100%);
    }
}

@media (min-width: 992px) {
    #installBanner,
    #iosBanner {
        display: none !important;
    }
}

.ios-instructions {
    flex: 1;
}

.ios-step {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 6px 0;
    font-size: 13px;
}

.step-number {
    background: rgba(255,255,255,0.2);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.share-icon-big {
    display: inline-block;
    font-size: 18px;
    background: rgba(255,255,255,0.3);
    padding: 4px 8px;
    border-radius: 6px;
    margin: 0 4px;
}

.arrow-down {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 30px;
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}