/* ===========================================
   IASCOM TOPBAR - Main Container
   =========================================== */
.iascom-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
}

/* Left side - buttons */
.iascom-topbar-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* Right side - auth */
.iascom-topbar-right {
    display: flex;
    align-items: center;
}

/* ===========================================
   Main Buttons (Email, Address, Phone)
   Exact copy of Γέμελου button style
   =========================================== */
.iascom-topbar-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 44px;
    padding: 0 10px;
    box-sizing: border-box;
    background: #f7f7f7;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    color: #707070 !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    text-align: center;
    transition: all 0.2s ease;
    min-width: 155px;
    width: 155px;
}

.iascom-topbar-btn:hover {
    background: #efefef;
    border-color: #ccc;
    color: #555 !important;
    text-decoration: none !important;
}

.iascom-topbar-btn img {
    display: block;
    width: 20px;
    height: 20px;
}

/* Button icons SVG */
.iascom-btn-icon {
    width: 20px;
    height: 20px;
    color: #707070;
    flex-shrink: 0;
}

/* ===========================================
   Store Status Section
   =========================================== */
.iascom-topbar-status {
    display: flex;
    align-items: center;
}

/* Override store status badge to match button style */
.iascom-topbar-status .store-status {
    border-radius: 6px !important;
}

/* ===========================================
   Auth Section (Login/Register buttons)
   =========================================== */
.iascom-auth-wrapper {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Auth buttons - horizontal layout */
.iascom-auth-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    padding: 0 14px;
    box-sizing: border-box;
    background: #f7f7f7;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    color: #707070 !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    text-align: center;
    transition: all 0.2s ease;
    min-width: 75px;
}

.iascom-auth-btn:hover {
    background: #efefef;
    border-color: #ccc;
    color: #555 !important;
    text-decoration: none !important;
}

/* User icon SVG */
.iascom-user-icon {
    width: 30px;
    height: 30px;
    color: #888;
    flex-shrink: 0;
}

/* ===========================================
   Responsive
   =========================================== */

/* First hide Register button */
@media (max-width: 1200px) {
    .iascom-auth-register {
        display: none !important;
    }
}

/* Then hide Login/Logout/Account buttons */
@media (max-width: 1050px) {
    .iascom-auth-login,
    .iascom-auth-logout,
    .iascom-auth-account {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .iascom-topbar {
        flex-wrap: wrap;
    }
    
    .iascom-topbar-left {
        gap: 5px;
    }
    
    .iascom-topbar-btn {
        height: 38px;
        padding: 0 10px;
        font-size: 13px;
        gap: 6px;
        min-width: auto;
    }
    
    .iascom-topbar-btn img,
    .iascom-btn-icon {
        width: 18px;
        height: 18px;
    }
    
    .iascom-auth-btn {
        height: 30px;
        padding: 0 10px;
        font-size: 12px;
    }
    
    .iascom-user-icon {
        width: 26px;
        height: 26px;
    }
}
